R.styleable
public
static
final
class
R.styleable
extends Object
| java.lang.Object | |
| ↳ | android.R.styleable |
Summary
Constants | |
|---|---|
int |
AbsListView_cacheColorHint
Indicates that this list will always be drawn on top of solid, single-color opaque background. |
int |
AbsListView_choiceMode
Defines the choice behavior for the view. |
int |
AbsListView_drawSelectorOnTop
When set to true, the selector will be drawn over the selected item. |
int |
AbsListView_fastScrollAlwaysVisible
When set to true, the list will always show the fast scroll interface. |
int |
AbsListView_fastScrollEnabled
Enables the fast scroll thumb that can be dragged to quickly scroll through the list. |
int |
AbsListView_fastScrollStyle
Specifies the style of the fast scroll decorations. |
int |
AbsListView_listSelector
Drawable used to indicate the currently selected item in the list. |
int |
AbsListView_scrollingCache
When set to true, the list uses a drawing cache during scrolling. |
int |
AbsListView_smoothScrollbar
When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen. |
int |
AbsListView_stackFromBottom
Used by ListView and GridView to stack their content from the bottom. |
int |
AbsListView_textFilterEnabled
When set to true, the list will filter results as the user types. |
int |
AbsListView_transcriptMode
Sets the transcript mode for the list. |
int |
AbsSpinner_entries
Reference to an array resource that will populate the Spinner. |
int |
AbsoluteLayout_Layout_layout_x
This symbol is the offset where the |
int |
AbsoluteLayout_Layout_layout_y
This symbol is the offset where the |
int |
AccelerateInterpolator_factor
This is the amount of deceleration to add when easing in. |
int |
AccessibilityService_accessibilityEventTypes
The event types this serivce would like to receive as specified in
|
int |
AccessibilityService_accessibilityFeedbackType
The feedback types this serivce provides as specified in
|
int |
AccessibilityService_accessibilityFlags
Additional flags as specified in
|
int |
AccessibilityService_canControlMagnification
Attribute whether the accessibility service wants to be able to control display magnification. |
int |
AccessibilityService_canPerformGestures
Attribute whether the accessibility service wants to be able to perform gestures. |
int |
AccessibilityService_canRequestEnhancedWebAccessibility
Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements. |
int |
AccessibilityService_canRequestFilterKeyEvents
Attribute whether the accessibility service wants to be able to request to filter key events. |
int |
AccessibilityService_canRequestTouchExplorationMode
Attribute whether the accessibility service wants to be able to request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures. |
int |
AccessibilityService_canRetrieveWindowContent
Attribute whether the accessibility service wants to be able to retrieve the active window content. |
int |
AccessibilityService_description
Short description of the accessibility service purpose or behavior. |
int |
AccessibilityService_notificationTimeout
The minimal period in milliseconds between two accessibility events of the same type are sent to this serivce. |
int |
AccessibilityService_packageNames
Comma separated package names from which this serivce would like to receive events (leave out for all packages). |
int |
AccessibilityService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
AccountAuthenticator_accountPreferences
A preferences.xml file for authenticator-specific settings. |
int |
AccountAuthenticator_accountType
The account type this authenticator handles. |
int |
AccountAuthenticator_customTokens
Account handles its own token storage and permissions. |
int |
AccountAuthenticator_icon
The icon of the authenticator. |
int |
AccountAuthenticator_label
The user-visible name of the authenticator. |
int |
AccountAuthenticator_smallIcon
Smaller icon of the authenticator. |
int |
ActionBar_LayoutParams_layout_gravity
Standard gravity constant that a child supplies to its parent. |
int |
ActionBar_background
Specifies a background drawable for the action bar. |
int |
ActionBar_backgroundSplit
Specifies a background drawable for the bottom component of a split action bar. |
int |
ActionBar_backgroundStacked
Specifies a background drawable for a second stacked row of the action bar. |
int |
ActionBar_contentInsetEnd
Minimum inset for content views within a bar. |
int |
ActionBar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. |
int |
ActionBar_contentInsetLeft
Minimum inset for content views within a bar. |
int |
ActionBar_contentInsetRight
Minimum inset for content views within a bar. |
int |
ActionBar_contentInsetStart
Minimum inset for content views within a bar. |
int |
ActionBar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
int |
ActionBar_customNavigationLayout
Specifies a layout for custom navigation. |
int |
ActionBar_displayOptions
Options affecting how the action bar is displayed. |
int |
ActionBar_divider
Specifies the drawable used for item dividers. |
int |
ActionBar_elevation
Elevation for the action bar itself Must be a dimension value, which is a floating point number appended with a unit such as " |
int |
ActionBar_height
Specifies a fixed height. |
int |
ActionBar_hideOnContentScroll
Set true to hide the action bar on a vertical nested scroll of content. |
int |
ActionBar_homeAsUpIndicator
Up navigation glyph Must be a reference to another resource, in the form " |
int |
ActionBar_homeLayout
Specifies a layout to use for the "home" section of the action bar. |
int |
ActionBar_icon
Specifies the drawable used for the application icon. |
int |
ActionBar_indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner. |
int |
ActionBar_itemPadding
Specifies padding that should be applied to the left and right sides of system-provided items in the bar. |
int |
ActionBar_logo
Specifies the drawable used for the application logo. |
int |
ActionBar_navigationMode
The type of navigation to use. |
int |
ActionBar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
int |
ActionBar_progressBarPadding
Specifies the horizontal padding on either end for an embedded progress bar. |
int |
ActionBar_progressBarStyle
Specifies a style resource to use for an embedded progress bar. |
int |
ActionBar_subtitle
Specifies subtitle text used for navigationMode="normal" Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
ActionBar_subtitleTextStyle
Specifies a style to use for subtitle text. |
int |
ActionBar_title
Specifies title text used for navigationMode="normal" Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
ActionBar_titleTextStyle
Specifies a style to use for title text. |
int |
ActionMenuItemView_minWidth
This symbol is the offset where the |
int |
ActionMode_background
Specifies a background for the action mode bar. |
int |
ActionMode_backgroundSplit
Specifies a background for the split action mode bar. |
int |
ActionMode_height
Specifies a fixed height for the action mode bar. |
int |
ActionMode_subtitleTextStyle
Specifies a style to use for subtitle text. |
int |
ActionMode_titleTextStyle
Specifies a style to use for title text. |
int |
AdapterViewAnimator_animateFirstView
Defines whether to animate the current View when the ViewAnimation is first displayed. |
int |
AdapterViewAnimator_inAnimation
Identifier for the animation to use when a view is shown. |
int |
AdapterViewAnimator_loopViews
Defines whether the animator loops to the first view once it has reached the end of the list. |
int |
AdapterViewAnimator_outAnimation
Identifier for the animation to use when a view is hidden. |
int |
AdapterViewFlipper_autoStart
When true, automatically start animating Must be a boolean value, either " |
int |
AdapterViewFlipper_flipInterval
This symbol is the offset where the |
int |
AidFilter_name
The ISO7816 Application ID. |
int |
AidGroup_category
The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly. |
int |
AidGroup_description
Short description of what the AID group implements. |
int |
AidPrefixFilter_name
The ISO7816 Application ID. |
int |
AlertDialog_bottomBright
This symbol is the offset where the |
int |
AlertDialog_bottomDark
This symbol is the offset where the |
int |
AlertDialog_bottomMedium
This symbol is the offset where the |
int |
AlertDialog_centerBright
This symbol is the offset where the |
int |
AlertDialog_centerDark
This symbol is the offset where the |
int |
AlertDialog_centerMedium
This symbol is the offset where the |
int |
AlertDialog_fullBright
This symbol is the offset where the |
int |
AlertDialog_fullDark
This symbol is the offset where the |
int |
AlertDialog_layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
int |
AlertDialog_topBright
This symbol is the offset where the |
int |
AlertDialog_topDark
This symbol is the offset where the |
int |
AlphaAnimation_fromAlpha
This symbol is the offset where the |
int |
AlphaAnimation_toAlpha
This symbol is the offset where the |
int |
AnalogClock_dial
This symbol is the offset where the |
int |
AnalogClock_hand_hour
This symbol is the offset where the |
int |
AnalogClock_hand_minute
This symbol is the offset where the |
int |
AndroidManifestAction_name
The name of an action that is handled, using the Java-style naming convention. |
int |
AndroidManifestActivityAlias_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestActivityAlias_description
Descriptive text for the associated data. |
int |
AndroidManifestActivityAlias_enabled
Specify whether the activity-alias is enabled or not (that is, can be instantiated by the system). |
int |
AndroidManifestActivityAlias_exported
Flag indicating whether the given application component is available to other applications. |
int |
AndroidManifestActivityAlias_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestActivityAlias_label
A user-legible name for the given item. |
int |
AndroidManifestActivityAlias_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestActivityAlias_name
Required name of the class implementing the activity, deriving from
|
int |
AndroidManifestActivityAlias_parentActivityName
The name of the logical parent of the activity as it appears in the manifest. |
int |
AndroidManifestActivityAlias_permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
AndroidManifestActivityAlias_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestActivityAlias_targetActivity
The name of the activity this alias should launch. |
int |
AndroidManifestActivity_allowEmbedded
Indicate that the activity can be launched as the embedded child of another activity. |
int |
AndroidManifestActivity_allowTaskReparenting
Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. |
int |
AndroidManifestActivity_alwaysRetainTaskState
Specify whether an acitivty's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations. |
int |
AndroidManifestActivity_autoRemoveFromRecents
Tasks launched by activities with this attribute will remain in the recent tasks list until the last activity in the task is completed. |
int |
AndroidManifestActivity_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestActivity_clearTaskOnLaunch
Specify whether an activity's task should be cleared when it is re-launched from the home screen. |
int |
AndroidManifestActivity_configChanges
Specify one or more configuration changes that the activity will handle itself. |
int |
AndroidManifestActivity_description
Descriptive text for the associated data. |
int |
AndroidManifestActivity_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
int |
AndroidManifestActivity_documentLaunchMode
This attribute specifies that an activity shall become the root activity of a new task each time it is launched. |
int |
AndroidManifestActivity_enableVrMode
Flag declaring that this activity will be run in VR mode, and specifying
the component of the |
int |
AndroidManifestActivity_enabled
Specify whether the activity is enabled or not (that is, can be instantiated by the system). |
int |
AndroidManifestActivity_excludeFromRecents
Indicates that an Activity should be excluded from the list of recently launched activities. |
int |
AndroidManifestActivity_exported
Flag indicating whether the given application component is available to other applications. |
int |
AndroidManifestActivity_finishOnCloseSystemDialogs
Specify whether an activity should be finished when a "close system windows" request has been made. |
int |
AndroidManifestActivity_finishOnTaskLaunch
Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen. |
int |
AndroidManifestActivity_hardwareAccelerated
Flag indicating whether the application's rendering should be hardware accelerated if possible. |
int |
AndroidManifestActivity_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestActivity_immersive
Flag declaring this activity to be 'immersive'; immersive activities should not be interrupted with other activities or notifications. |
int |
AndroidManifestActivity_label
A user-legible name for the given item. |
int |
AndroidManifestActivity_launchMode
Specify how an activity should be launched. |
int |
AndroidManifestActivity_lockTaskMode
This value indicates how tasks rooted at this activity will behave in lockTask mode. |
int |
AndroidManifestActivity_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestActivity_maxRecents
The maximum number of entries of tasks rooted at this activity in the recent task list. |
int |
AndroidManifestActivity_multiprocess
Specify whether a component is allowed to have multiple instances of itself running in different processes. |
int |
AndroidManifestActivity_name
Required name of the class implementing the activity, deriving from
|
int |
AndroidManifestActivity_noHistory
Specify whether an activity should be kept in its history stack. |
int |
AndroidManifestActivity_parentActivityName
The name of the logical parent of the activity as it appears in the manifest. |
int |
AndroidManifestActivity_permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
AndroidManifestActivity_persistableMode
Define how an activity persist across reboots. |
int |
AndroidManifestActivity_process
Specify a specific process that the associated code is to run in. |
int |
AndroidManifestActivity_relinquishTaskIdentity
Tasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task. |
int |
AndroidManifestActivity_resizeableActivity
Indicates that it is okay for this activity to be resized to any dimension. |
int |
AndroidManifestActivity_resumeWhilePausing
Indicate that it is okay for this activity be resumed while the previous activity is in the process of pausing, without waiting for the previous pause to complete. |
int |
AndroidManifestActivity_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestActivity_screenOrientation
Specify the orientation an activity should be run in. |
int |
AndroidManifestActivity_showForAllUsers
Specify that an Activity should be shown even if the current/foreground user is different from the user of the Activity. |
int |
AndroidManifestActivity_showOnLockScreen
This constant is deprecated.
use Must be a boolean value, either " This may also be a reference to a resource (in the form
" This corresponds to the global attribute
resource symbol |
int |
AndroidManifestActivity_singleUser
If set to true, a single instance of this component will run for all users. |
int |
AndroidManifestActivity_stateNotNeeded
Indicates that an Activity does not need to have its freeze state
(as returned by |
int |
AndroidManifestActivity_supportsPictureInPicture
Indicates that the activity supports the picture-in-picture (PiP) form of multi-window. |
int |
AndroidManifestActivity_taskAffinity
Specify a task name that activities have an "affinity" to. |
int |
AndroidManifestActivity_theme
The overall theme to use for an activity. |
int |
AndroidManifestActivity_uiOptions
Extra options for an activity's UI. |
int |
AndroidManifestActivity_windowSoftInputMode
Specify the default soft-input mode for the main window of this activity. |
int |
AndroidManifestApplication_allowBackup
Whether to allow the application to participate in the backup and restore infrastructure. |
int |
AndroidManifestApplication_allowClearUserData
Option to let applications specify that user data can/cannot be cleared. |
int |
AndroidManifestApplication_allowTaskReparenting
Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. |
int |
AndroidManifestApplication_backupAgent
The name of the class subclassing |
int |
AndroidManifestApplication_backupInForeground
Indicates that full-data backup operations for this application may be performed even if the application is in a foreground-equivalent state. |
int |
AndroidManifestApplication_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestApplication_debuggable
Flag indicating whether the application can be debugged, even when running on a device that is running in user mode. |
int |
AndroidManifestApplication_defaultToDeviceProtectedStorage
This symbol is the offset where the |
int |
AndroidManifestApplication_description
Descriptive text for the associated data. |
int |
AndroidManifestApplication_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
int |
AndroidManifestApplication_enabled
Specify whether the components in this application are enabled or not (that is, can be instantiated by the system). |
int |
AndroidManifestApplication_extractNativeLibs
When set installer will extract native libraries. |
int |
AndroidManifestApplication_fullBackupContent
Applications will set this in their manifest to opt-in to or out of full app data back-up and restore. |
int |
AndroidManifestApplication_fullBackupOnly
Indicates that even though the application provides a |
int |
AndroidManifestApplication_hardwareAccelerated
Flag indicating whether the application's rendering should be hardware accelerated if possible. |
int |
AndroidManifestApplication_hasCode
Indicate whether this application contains code. |
int |
AndroidManifestApplication_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestApplication_isGame
A boolean flag used to indicate if an application is a Game or not. |
int |
AndroidManifestApplication_killAfterRestore
Whether the application in question should be terminated after its settings have been restored during a full-system restore operation. |
int |
AndroidManifestApplication_label
A user-legible name for the given item. |
int |
AndroidManifestApplication_largeHeap
Request that your application's processes be created with a large Dalvik heap. |
int |
AndroidManifestApplication_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestApplication_manageSpaceActivity
Name of activity to be launched for managing the application's space on the device. |
int |
AndroidManifestApplication_multiArch
Declare that code from this application will need to be loaded into other applications' processes. |
int |
AndroidManifestApplication_name
The (optional) fully-qualified name for a subclass of
|
int |
AndroidManifestApplication_networkSecurityConfig
An XML resource with the application's Network Security Config. |
int |
AndroidManifestApplication_permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
AndroidManifestApplication_persistent
Flag to control special persistent mode of an application. |
int |
AndroidManifestApplication_process
Specify a specific process that the associated code is to run in. |
int |
AndroidManifestApplication_requiredAccountType
Declare that this application requires an account of a certain type. |
int |
AndroidManifestApplication_requiredForAllUsers
Flag to specify if this application needs to be present for all users. |
int |
AndroidManifestApplication_resizeableActivity
Indicates that it is okay for this activity to be resized to any dimension. |
int |
AndroidManifestApplication_restoreAnyVersion
Indicate that the application is prepared to attempt a restore of any backed-up dataset, even if the backup is apparently from a newer version of the application than is currently installed on the device. |
int |
AndroidManifestApplication_restoreNeedsApplication
This constant is deprecated.
This attribute is not used by the Android operating system.
Must be a boolean value, either " This may also be a reference to a resource (in the form
" This corresponds to the global attribute
resource symbol |
int |
AndroidManifestApplication_restrictedAccountType
Declare that this application requires access to restricted accounts of a certain type. |
int |
AndroidManifestApplication_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestApplication_supportsRtl
Declare that your application will be able to deal with RTL (right to left) layouts. |
int |
AndroidManifestApplication_taskAffinity
Specify a task name that activities have an "affinity" to. |
int |
AndroidManifestApplication_testOnly
Option to indicate this application is only for testing purposes. |
int |
AndroidManifestApplication_theme
The overall theme to use for an activity. |
int |
AndroidManifestApplication_uiOptions
Extra options for an activity's UI. |
int |
AndroidManifestApplication_usesCleartextTraffic
Declare that this application may use cleartext traffic, such as HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, STMP without STARTTLS or TLS). |
int |
AndroidManifestApplication_vmSafeMode
Flag indicating whether the application requests the VM to operate in the safe mode. |
int |
AndroidManifestCategory_name
The name of category that is handled, using the Java-style naming convention. |
int |
AndroidManifestCompatibleScreensScreen_screenDensity
Specifies a compatible screen density, as per the device configuration screen density bins. |
int |
AndroidManifestCompatibleScreensScreen_screenSize
Specifies a compatible screen size, as per the device configuration screen size bins. |
int |
AndroidManifestData_host
Specify a URI authority host that is handled, as per
|
int |
AndroidManifestData_mimeType
Specify a MIME type that is handled, as per
|
int |
AndroidManifestData_path
Specify a URI path that must exactly match, as per
|
int |
AndroidManifestData_pathPattern
Specify a URI path that matches a simple pattern, as per
|
int |
AndroidManifestData_pathPrefix
Specify a URI path that must be a prefix to match, as per
|
int |
AndroidManifestData_port
Specify a URI authority port that is handled, as per
|
int |
AndroidManifestData_scheme
Specify a URI scheme that is handled, as per
|
int |
AndroidManifestData_ssp
Specify a URI scheme specific part that must exactly match, as per
|
int |
AndroidManifestData_sspPattern
Specify a URI scheme specific part that matches a simple pattern, as per
|
int |
AndroidManifestData_sspPrefix
Specify a URI scheme specific part that must be a prefix to match, as per
|
int |
AndroidManifestFeatureGroup_label
The human-readable name of the feature group. |
int |
AndroidManifestGrantUriPermission_path
Specify a URI path that must exactly match, as per
|
int |
AndroidManifestGrantUriPermission_pathPattern
Specify a URI path that matches a simple pattern, as per
|
int |
AndroidManifestGrantUriPermission_pathPrefix
Specify a URI path that must be a prefix to match, as per
|
int |
AndroidManifestInstrumentation_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestInstrumentation_functionalTest
Flag indicating that an Instrumentation class should be run as a functional test. |
int |
AndroidManifestInstrumentation_handleProfiling
Flag indicating that an Instrumentation class wants to take care of starting/stopping profiling itself, rather than relying on the default behavior of profiling the complete time it is running. |
int |
AndroidManifestInstrumentation_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestInstrumentation_label
A user-legible name for the given item. |
int |
AndroidManifestInstrumentation_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestInstrumentation_name
Required name of the class implementing the instrumentation, deriving from
|
int |
AndroidManifestInstrumentation_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestInstrumentation_targetPackage
The name of the application package that an Instrumentation object will run against. |
int |
AndroidManifestIntentFilter_autoVerify
Specify whether an activity intent filter will need to be verified thru its set of data URIs. |
int |
AndroidManifestIntentFilter_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestIntentFilter_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestIntentFilter_label
A user-legible name for the given item. |
int |
AndroidManifestIntentFilter_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestIntentFilter_priority
Specify the relative importance or ability in handling a particular Intent. |
int |
AndroidManifestIntentFilter_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestKeySet_name
A unique name for the given item. |
int |
AndroidManifestLayout_defaultHeight
Default height of the activity. |
int |
AndroidManifestLayout_defaultWidth
Default width of the activity. |
int |
AndroidManifestLayout_gravity
Where to initially position the activity inside the available space. |
int |
AndroidManifestLayout_minHeight
Minimal height of the activity. |
int |
AndroidManifestLayout_minWidth
Minimal width of the activity. |
int |
AndroidManifestLibrary_name
Required public name of the library, which other components and packages will use when referring to this library. |
int |
AndroidManifestMetaData_name
A unique name for the given item. |
int |
AndroidManifestMetaData_resource
Resource identifier to assign to this piece of named meta-data. |
int |
AndroidManifestMetaData_value
Concrete value to assign to this piece of named meta-data. |
int |
AndroidManifestOriginalPackage_name
A unique name for the given item. |
int |
AndroidManifestPackageVerifier_name
Specifies the Java-style package name that defines this package verifier. |
int |
AndroidManifestPackageVerifier_publicKey
The Base64 encoded public key of the package verifier's signature. |
int |
AndroidManifestPathPermission_path
Specify a URI path that must exactly match, as per
|
int |
AndroidManifestPathPermission_pathPattern
Specify a URI path that matches a simple pattern, as per
|
int |
AndroidManifestPathPermission_pathPrefix
Specify a URI path that must be a prefix to match, as per
|
int |
AndroidManifestPathPermission_permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
AndroidManifestPathPermission_readPermission
A specific |
int |
AndroidManifestPathPermission_writePermission
A specific |
int |
AndroidManifestPermissionGroup_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestPermissionGroup_description
Descriptive text for the associated data. |
int |
AndroidManifestPermissionGroup_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestPermissionGroup_label
A user-legible name for the given item. |
int |
AndroidManifestPermissionGroup_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestPermissionGroup_name
Required public name of the permission group, permissions will use to specify the group they are in. |
int |
AndroidManifestPermissionGroup_permissionGroupFlags
Flags indicating more context for a permission group. |
int |
AndroidManifestPermissionGroup_priority
Specify the relative importance or ability in handling a particular Intent. |
int |
AndroidManifestPermissionGroup_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestPermissionTree_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestPermissionTree_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestPermissionTree_label
A user-legible name for the given item. |
int |
AndroidManifestPermissionTree_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestPermissionTree_name
Required public name of the permission tree, which is the base name of all permissions under it. |
int |
AndroidManifestPermissionTree_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestPermission_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestPermission_description
Descriptive text for the associated data. |
int |
AndroidManifestPermission_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestPermission_label
A user-legible name for the given item. |
int |
AndroidManifestPermission_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestPermission_name
Required public name of the permission, which other components and packages will use when referring to this permission. |
int |
AndroidManifestPermission_permissionFlags
Flags indicating more context for a permission. |
int |
AndroidManifestPermission_permissionGroup
Specified the name of a group that this permission is associated with. |
int |
AndroidManifestPermission_protectionLevel
Characterizes the potential risk implied in a permission and indicates the procedure the system should follow when determining whether to grant the permission to an application requesting it. |
int |
AndroidManifestPermission_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestProtectedBroadcast_name
A unique name for the given item. |
int |
AndroidManifestProvider_authorities
Specify the authorities under which this content provider can be found. |
int |
AndroidManifestProvider_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestProvider_description
Descriptive text for the associated data. |
int |
AndroidManifestProvider_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
int |
AndroidManifestProvider_enabled
Specify whether this provider is enabled or not (that is, can be instantiated by the system). |
int |
AndroidManifestProvider_exported
Flag indicating whether the given application component is available to other applications. |
int |
AndroidManifestProvider_grantUriPermissions
If true, the |
int |
AndroidManifestProvider_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestProvider_initOrder
Specify the order in which content providers hosted by a process are instantiated when that process is created. |
int |
AndroidManifestProvider_label
A user-legible name for the given item. |
int |
AndroidManifestProvider_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestProvider_multiprocess
Specify whether a component is allowed to have multiple instances of itself running in different processes. |
int |
AndroidManifestProvider_name
Required name of the class implementing the provider, deriving from
|
int |
AndroidManifestProvider_permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
AndroidManifestProvider_process
Specify a specific process that the associated code is to run in. |
int |
AndroidManifestProvider_readPermission
A specific |
int |
AndroidManifestProvider_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestProvider_singleUser
If set to true, a single instance of this component will run for all users. |
int |
AndroidManifestProvider_syncable
Flag indicating whether this content provider would like to participate in data synchronization. |
int |
AndroidManifestProvider_writePermission
A specific |
int |
AndroidManifestPublicKey_name
A unique name for the given item. |
int |
AndroidManifestPublicKey_value
Concrete value to assign to this piece of named meta-data. |
int |
AndroidManifestReceiver_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestReceiver_description
Descriptive text for the associated data. |
int |
AndroidManifestReceiver_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
int |
AndroidManifestReceiver_enabled
Specify whether the receiver is enabled or not (that is, can be instantiated by the system). |
int |
AndroidManifestReceiver_exported
Flag indicating whether the given application component is available to other applications. |
int |
AndroidManifestReceiver_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestReceiver_label
A user-legible name for the given item. |
int |
AndroidManifestReceiver_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestReceiver_name
Required name of the class implementing the receiver, deriving from
|
int |
AndroidManifestReceiver_permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
AndroidManifestReceiver_process
Specify a specific process that the associated code is to run in. |
int |
AndroidManifestReceiver_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestReceiver_singleUser
If set to true, a single instance of this component will run for all users. |
int |
AndroidManifestResourceOverlay_priority
Load order of overlay package. |
int |
AndroidManifestResourceOverlay_targetPackage
Package name of base package whose resources will be overlaid. |
int |
AndroidManifestService_banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
AndroidManifestService_description
Descriptive text for the associated data. |
int |
AndroidManifestService_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
int |
AndroidManifestService_enabled
Specify whether the service is enabled or not (that is, can be instantiated by the system). |
int |
AndroidManifestService_exported
Flag indicating whether the given application component is available to other applications. |
int |
AndroidManifestService_externalService
If the service is an |
int |
AndroidManifestService_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestService_isolatedProcess
If set to true, this service will run under a special process that is isolated from the rest of the system. |
int |
AndroidManifestService_label
A user-legible name for the given item. |
int |
AndroidManifestService_logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
AndroidManifestService_name
Required name of the class implementing the service, deriving from
|
int |
AndroidManifestService_permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
AndroidManifestService_process
Specify a specific process that the associated code is to run in. |
int |
AndroidManifestService_roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
AndroidManifestService_singleUser
If set to true, a single instance of this component will run for all users. |
int |
AndroidManifestService_stopWithTask
If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application. |
int |
AndroidManifestSupportsInputInputType_name
Specifices the name of the input device type Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
AndroidManifestSupportsScreens_anyDensity
Indicates whether the application can accommodate any screen density. |
int |
AndroidManifestSupportsScreens_compatibleWidthLimitDp
Starting with |
int |
AndroidManifestSupportsScreens_largeScreens
Indicates whether the application supports larger screen form-factors. |
int |
AndroidManifestSupportsScreens_largestWidthLimitDp
Starting with |
int |
AndroidManifestSupportsScreens_normalScreens
Indicates whether an application supports the normal screen form-factors. |
int |
AndroidManifestSupportsScreens_requiresSmallestWidthDp
Starting with |
int |
AndroidManifestSupportsScreens_resizeable
Indicates whether the application can resize itself to newer screen sizes. |
int |
AndroidManifestSupportsScreens_smallScreens
Indicates whether the application supports smaller screen form-factors. |
int |
AndroidManifestSupportsScreens_xlargeScreens
Indicates whether the application supports extra large screen form-factors. |
int |
AndroidManifestUpgradeKeySet_name
A unique name for the given item. |
int |
AndroidManifestUsesConfiguration_reqFiveWayNav
Application's requirement for five way navigation Must be a boolean value, either " |
int |
AndroidManifestUsesConfiguration_reqHardKeyboard
Application's requirement for a hard keyboard Must be a boolean value, either " |
int |
AndroidManifestUsesConfiguration_reqKeyboardType
The input method preferred by an application. |
int |
AndroidManifestUsesConfiguration_reqNavigation
The navigation device preferred by an application. |
int |
AndroidManifestUsesConfiguration_reqTouchScreen
The type of touch screen used by an application. |
int |
AndroidManifestUsesFeature_glEsVersion
The GLES driver version number needed by an application. |
int |
AndroidManifestUsesFeature_name
The name of the feature that is being used. |
int |
AndroidManifestUsesFeature_required
Specify whether this feature is required for the application. |
int |
AndroidManifestUsesFeature_version
The version of the feature that is being used. |
int |
AndroidManifestUsesLibrary_name
Required name of the library you use. |
int |
AndroidManifestUsesLibrary_required
Specify whether this library is required for the application. |
int |
AndroidManifestUsesPermission_maxSdkVersion
Optional: specify the maximum version of the Android OS for which the application wishes to request the permission. |
int |
AndroidManifestUsesPermission_name
Required name of the permission you use, as published with the
corresponding name attribute of a
|
int |
AndroidManifestUsesSdk_maxSdkVersion
This is the maximum SDK version number that an application works on. |
int |
AndroidManifestUsesSdk_minSdkVersion
This is the minimum SDK version number that the application requires. |
int |
AndroidManifestUsesSdk_targetSdkVersion
This is the SDK version number that the application is targeting. |
int |
AndroidManifest_installLocation
The default install location defined by an application. |
int |
AndroidManifest_revisionCode
Internal revision code. |
int |
AndroidManifest_sharedUserId
Specify the name of a user ID that will be shared between multiple packages. |
int |
AndroidManifest_sharedUserLabel
Specify a label for the shared user UID of this package. |
int |
AndroidManifest_versionCode
Internal version code. |
int |
AndroidManifest_versionName
The text shown to the user to indicate the version they have. |
int |
AnimatedRotateDrawable_drawable
Reference to a drawable resource to use for the frame. |
int |
AnimatedRotateDrawable_pivotX
This symbol is the offset where the |
int |
AnimatedRotateDrawable_pivotY
This symbol is the offset where the |
int |
AnimatedRotateDrawable_visible
Provides initial visibility state of the drawable; the default value is false. |
int |
AnimatedStateListDrawableItem_drawable
Reference to a drawable resource to use for the frame. |
int |
AnimatedStateListDrawableItem_id
Keyframe identifier for use in specifying transitions. |
int |
AnimatedStateListDrawableTransition_drawable
Reference to a animation drawable resource to use for the frame. |
int |
AnimatedStateListDrawableTransition_fromId
Keyframe identifier for the starting state. |
int |
AnimatedStateListDrawableTransition_reversible
Whether this transition is reversible. |
int |
AnimatedStateListDrawableTransition_toId
Keyframe identifier for the ending state. |
int |
AnimatedStateListDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
AnimatedStateListDrawable_constantSize
If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. |
int |
AnimatedStateListDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). |
int |
AnimatedStateListDrawable_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable. |
int |
AnimatedStateListDrawable_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable. |
int |
AnimatedStateListDrawable_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. |
int |
AnimatedStateListDrawable_visible
Indicates whether the drawable should be initially visible. |
int |
AnimatedVectorDrawableTarget_animation
The animation for the target path, group or vector drawable Must be a reference to another resource, in the form " |
int |
AnimatedVectorDrawableTarget_name
The name of the target path, group or vector drawable Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
AnimatedVectorDrawable_drawable
The static vector drawable. |
int |
AnimationDrawableItem_drawable
Reference to a drawable resource to use for the frame. |
int |
AnimationDrawableItem_duration
Amount of time (in milliseconds) to display this frame. |
int |
AnimationDrawable_oneshot
If true, the animation will only run a single time and then stop. |
int |
AnimationDrawable_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. |
int |
AnimationDrawable_visible
Provides initial visibility state of the drawable; the default value is false. |
int |
AnimationScaleListDrawableItem_drawable
Reference to a drawable resource to use for the state. |
int |
AnimationSet_duration
Amount of time (in milliseconds) to display this frame. |
int |
AnimationSet_fillAfter
When set to true, the animation transformation is applied after the animation is over. |
int |
AnimationSet_fillBefore
When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. |
int |
AnimationSet_repeatMode
Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. |
int |
AnimationSet_shareInterpolator
This symbol is the offset where the |
int |
AnimationSet_startOffset
Delay in milliseconds before the animation runs, once start time is reached. |
int |
Animation_background
Special background behind animation. |
int |
Animation_detachWallpaper
Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it. |
int |
Animation_duration
Amount of time (in milliseconds) for the animation to run. |
int |
Animation_fillAfter
When set to true, the animation transformation is applied after the animation is over. |
int |
Animation_fillBefore
When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. |
int |
Animation_fillEnabled
When set to true, the value of fillBefore is taken into account. |
int |
Animation_interpolator
Defines the interpolator used to smooth the animation movement in time. |
int |
Animation_repeatCount
Defines how many times the animation should repeat. |
int |
Animation_repeatMode
Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. |
int |
Animation_startOffset
Delay in milliseconds before the animation runs, once start time is reached. |
int |
Animation_zAdjustment
Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation. |
int |
AnimatorSet_ordering
Name of the property being animated. |
int |
Animator_duration
Amount of time (in milliseconds) for the animation to run. |
int |
Animator_interpolator
Defines the interpolator used to smooth the animation movement in time. |
int |
Animator_repeatCount
Defines how many times the animation should repeat. |
int |
Animator_repeatMode
Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. |
int |
Animator_startOffset
Delay in milliseconds before the animation runs, once start time is reached. |
int |
Animator_valueFrom
Value the animation starts from. |
int |
Animator_valueTo
Value the animation animates to. |
int |
Animator_valueType
The type of valueFrom and valueTo. |
int |
AnticipateInterpolator_tension
This is the amount of tension. |
int |
AnticipateOvershootInterpolator_extraTension
This is the amount by which to multiply the tension. |
int |
AnticipateOvershootInterpolator_tension
This is the amount of tension. |
int |
AppWidgetProviderInfo_autoAdvanceViewId
The view id of the AppWidget subview which should be auto-advanced. |
int |
AppWidgetProviderInfo_configure
A class name in the AppWidget's package to be launched to configure. |
int |
AppWidgetProviderInfo_initialKeyguardLayout
A resource id of a layout. |
int |
AppWidgetProviderInfo_initialLayout
A resource id of a layout. |
int |
AppWidgetProviderInfo_minHeight
Minimum height of the AppWidget. |
int |
AppWidgetProviderInfo_minResizeHeight
Minimum height that the AppWidget can be resized to. |
int |
AppWidgetProviderInfo_minResizeWidth
Minimum width that the AppWidget can be resized to. |
int |
AppWidgetProviderInfo_minWidth
Minimum width of the AppWidget. |
int |
AppWidgetProviderInfo_previewImage
A preview of what the AppWidget will look like after it's configured. |
int |
AppWidgetProviderInfo_resizeMode
Optional parameter which indicates if and how this widget can be resized. |
int |
AppWidgetProviderInfo_updatePeriodMillis
Update period in milliseconds, or 0 if the AppWidget will update itself. |
int |
AppWidgetProviderInfo_widgetCategory
Optional parameter which indicates where this widget can be shown, ie. |
int |
ArcMotion_maximumAngle
The maximum arc angle in degrees between the start and end points. |
int |
ArcMotion_minimumHorizontalAngle
The minimum arc angle in degrees between the start and end points when they are close to horizontal. |
int |
ArcMotion_minimumVerticalAngle
The minimum arc angle in degrees between the start and end points when they are close to vertical. |
int |
AutoCompleteTextView_completionHint
Defines the hint displayed in the drop down menu. |
int |
AutoCompleteTextView_completionHintView
Defines the hint view displayed in the drop down menu. |
int |
AutoCompleteTextView_completionThreshold
Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu. |
int |
AutoCompleteTextView_dropDownAnchor
View to anchor the auto-complete dropdown to. |
int |
AutoCompleteTextView_dropDownHeight
Specifies the basic height of the dropdown. |
int |
AutoCompleteTextView_dropDownSelector
Selector in a drop down list. |
int |
AutoCompleteTextView_dropDownWidth
Specifies the basic width of the dropdown. |
int |
AutoCompleteTextView_inputType
The type of data being placed in a text field, used to help an input method decide how to let the user enter text. |
int |
AutoCompleteTextView_popupTheme
Theme to use for the completion popup window. |
int |
BitmapDrawable_alpha
Specifies the alpha multiplier to apply to the base drawable. |
int |
BitmapDrawable_antialias
Enables or disables antialiasing. |
int |
BitmapDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
BitmapDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). |
int |
BitmapDrawable_filter
Enables or disables bitmap filtering. |
int |
BitmapDrawable_gravity
Defines the gravity for the bitmap. |
int |
BitmapDrawable_mipMap
Enables or disables the mipmap hint. |
int |
BitmapDrawable_src
Identifier of the bitmap file. |
int |
BitmapDrawable_tileMode
Defines the tile mode. |
int |
BitmapDrawable_tileModeX
Defines the horizontal tile mode. |
int |
BitmapDrawable_tileModeY
Defines the vertical tile mode. |
int |
BitmapDrawable_tint
If set, specifies the color to apply to the drawable as a tint. |
int |
BitmapDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. |
int |
CalendarView_dateTextAppearance
The text appearance for the day numbers in the calendar grid. |
int |
CalendarView_firstDayOfWeek
The first day of week according to |
int |
CalendarView_focusedMonthDateColor
This constant is deprecated.
The color for the dates of the focused month.
May be a reference to another resource, in the form " May be a color value, in the form of " This corresponds to the global attribute
resource symbol |
int |
CalendarView_maxDate
The maximal date shown by this calendar view in mm/dd/yyyy format. |
int |
CalendarView_minDate
The minimal date shown by this calendar view in mm/dd/yyyy format. |
int |
CalendarView_selectedDateVerticalBar
This constant is deprecated.
Drawable for the vertical bar shown at the beginning and at the end of the selected date.
Must be a reference to another resource, in the form " This corresponds to the global attribute
resource symbol |
int |
CalendarView_selectedWeekBackgroundColor
This constant is deprecated.
The background color for the selected week.
May be a reference to another resource, in the form " May be a color value, in the form of " This corresponds to the global attribute
resource symbol |
int |
CalendarView_showWeekNumber
This constant is deprecated.
Whether do show week numbers.
Must be a boolean value, either " This may also be a reference to a resource (in the form
" This corresponds to the global attribute
resource symbol |
int |
CalendarView_shownWeekCount
This constant is deprecated.
The number of weeks to be shown.
Must be an integer value, such as " This may also be a reference to a resource (in the form
" This corresponds to the global attribute
resource symbol |
int |
CalendarView_unfocusedMonthDateColor
This constant is deprecated.
The color for the dates of an unfocused month.
May be a reference to another resource, in the form " May be a color value, in the form of " This corresponds to the global attribute
resource symbol |
int |
CalendarView_weekDayTextAppearance
The text appearance for the week day abbreviation in the calendar header. |
int |
CalendarView_weekNumberColor
This constant is deprecated.
The color for the week numbers.
May be a reference to another resource, in the form " May be a color value, in the form of " This corresponds to the global attribute
resource symbol |
int |
CalendarView_weekSeparatorLineColor
This constant is deprecated.
The color for the separator line between weeks.
May be a reference to another resource, in the form " May be a color value, in the form of " This corresponds to the global attribute
resource symbol |
int |
ChangeBounds_resizeClip
Resize the view by adjusting the clipBounds rather than changing the dimensions of the view itself. |
int |
ChangeTransform_reparent
Tells ChangeTransform to track parent changes. |
int |
ChangeTransform_reparentWithOverlay
A parent change should use an overlay or affect the transform of the transitionining View. |
int |
CheckBoxPreference_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. |
int |
CheckBoxPreference_summaryOff
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. |
int |
CheckBoxPreference_summaryOn
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. |
int |
CheckedTextView_checkMark
Drawable used for the check mark graphic. |
int |
CheckedTextView_checkMarkTint
Tint to apply to the check mark. |
int |
CheckedTextView_checkMarkTintMode
Blending mode used to apply the check mark tint. |
int |
CheckedTextView_checked
Indicates the initial checked state of this text. |
int |
Chronometer_countDown
Specifies whether this Chronometer counts down or counts up from the base. |
int |
Chronometer_format
Format string: if specified, the Chronometer will display this string, with the first "%s" replaced by the current timer value in "MM:SS" or "H:MM:SS" form. |
int |
ClipDrawable_clipOrientation
The orientation for the clip. |
int |
ClipDrawable_drawable
Reference to a drawable resource to draw with the specified scale. |
int |
ClipDrawable_gravity
Specifies where to clip within the drawable. |
int |
ColorDrawable_color
The color to use. |
int |
ColorStateListItem_alpha
Alpha multiplier applied to the base color. |
int |
ColorStateListItem_color
Base color for this state. |
int |
CompoundButton_button
Drawable used for the button graphic (e.g. |
int |
CompoundButton_buttonTint
Tint to apply to the button graphic. |
int |
CompoundButton_buttonTintMode
Blending mode used to apply the button graphic tint. |
int |
CompoundButton_checked
Indicates the initial checked state of this button. |
int |
ContactsDataKind_allContactsName
Resource representing the term "All Contacts" (e.g. |
int |
ContactsDataKind_detailColumn
Column in data table that contains details for this data. |
int |
ContactsDataKind_detailSocialSummary
Flag indicating that detail should be built from SocialProvider. |
int |
ContactsDataKind_icon
Icon used to represent data of this kind. |
int |
ContactsDataKind_mimeType
Mime-type handled by this mapping. |
int |
ContactsDataKind_summaryColumn
Column in data table that summarizes this data. |
int |
CycleInterpolator_cycles
This symbol is the offset where the |
int |
DatePicker_calendarTextColor
The text color list of the calendar. |
int |
DatePicker_calendarViewShown
Whether the calendar view is shown. |
int |
DatePicker_datePickerMode
Defines the look of the widget. |
int |
DatePicker_dayOfWeekBackground
The background color for the header's day of week. |
int |
DatePicker_dayOfWeekTextAppearance
The text color for the header's day of week. |
int |
DatePicker_endYear
The last year (inclusive), for example "2010". |
int |
DatePicker_firstDayOfWeek
The first day of week according to |
int |
DatePicker_headerBackground
The background for the selected date header. |
int |
DatePicker_headerDayOfMonthTextAppearance
The text appearance for the day of month (ex. |
int |
DatePicker_headerMonthTextAppearance
The text appearance for the month (ex. |
int |
DatePicker_headerYearTextAppearance
The text appearance for the year (ex. |
int |
DatePicker_maxDate
The maximal date shown by this calendar view in mm/dd/yyyy format. |
int |
DatePicker_minDate
The minimal date shown by this calendar view in mm/dd/yyyy format. |
int |
DatePicker_spinnersShown
Whether the spinners are shown. |
int |
DatePicker_startYear
The first year (inclusive), for example "1940". |
int |
DatePicker_yearListItemTextAppearance
The list year's text appearance in the list. |
int |
DatePicker_yearListSelectorColor
The list year's selected circle color in the list. |
int |
DecelerateInterpolator_factor
This is the amount of acceleration to add when easing out. |
int |
DeviceAdmin_visible
Control whether the admin is visible to the user, even when it is not enabled. |
int |
DialogPreference_dialogIcon
The icon for the dialog. |
int |
DialogPreference_dialogLayout
A layout to be used as the content View for the dialog. |
int |
DialogPreference_dialogMessage
The message in the dialog. |
int |
DialogPreference_dialogTitle
The title in the dialog. |
int |
DialogPreference_negativeButtonText
The negative button text for the dialog. |
int |
DialogPreference_positiveButtonText
The positive button text for the dialog. |
int |
DrawableCorners_bottomLeftRadius
Radius of the bottom left corner. |
int |
DrawableCorners_bottomRightRadius
Radius of the bottom right corner. |
int |
DrawableCorners_radius
Defines the radius of the four corners. |
int |
DrawableCorners_topLeftRadius
Radius of the top left corner. |
int |
DrawableCorners_topRightRadius
Radius of the top right corner. |
int |
DrawableStates_state_accelerated
State value for |
int |
DrawableStates_state_activated
State value for |
int |
DrawableStates_state_active
State value for |
int |
DrawableStates_state_checkable
State identifier indicating that the object may display a check mark. |
int |
DrawableStates_state_checked
State identifier indicating that the object is currently checked. |
int |
DrawableStates_state_drag_can_accept
State for |
int |
DrawableStates_state_drag_hovered
State for |
int |
DrawableStates_state_enabled
State value for |
int |
DrawableStates_state_first
State value for |
int |
DrawableStates_state_focused
State value for |
int |
DrawableStates_state_hovered
State value for |
int |
DrawableStates_state_last
State value for |
int |
DrawableStates_state_middle
State value for |
int |
DrawableStates_state_pressed
State value for |
int |
DrawableStates_state_selected
State value for |
int |
DrawableStates_state_single
State value for |
int |
DrawableStates_state_window_focused
State value for |
int |
DrawableWrapper_drawable
The wrapped drawable. |
int |
Drawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
Drawable_visible
Provides initial visibility state of the drawable; the default value is false. |
int |
Dream_settingsActivity
Component name of an activity that allows the user to modify the settings for this dream. |
int |
EdgeEffect_colorEdgeEffect
The color applied to the edge effect on scrolling containers. |
int |
ExpandableListChildIndicatorState_state_last
State identifier indicating the child is the last child within its group. |
int |
ExpandableListGroupIndicatorState_state_empty
State identifier indicating the group is empty (has no children). |
int |
ExpandableListGroupIndicatorState_state_expanded
State identifier indicating the group is expanded. |
int |
ExpandableListView_childDivider
Drawable or color that is used as a divider for children. |
int |
ExpandableListView_childIndicator
Indicator shown beside the child View. |
int |
ExpandableListView_childIndicatorEnd
The end bound for a child's indicator. |
int |
ExpandableListView_childIndicatorLeft
The left bound for a child's indicator. |
int |
ExpandableListView_childIndicatorRight
The right bound for a child's indicator. |
int |
ExpandableListView_childIndicatorStart
The start bound for a child's indicator. |
int |
ExpandableListView_groupIndicator
Indicator shown beside the group View. |
int |
ExpandableListView_indicatorEnd
The end bound for an item's indicator. |
int |
ExpandableListView_indicatorLeft
The left bound for an item's indicator. |
int |
ExpandableListView_indicatorRight
The right bound for an item's indicator. |
int |
ExpandableListView_indicatorStart
The start bound for an item's indicator. |
int |
Extra_name
Required name of the extra data. |
int |
Extra_value
Concrete value to put for this named extra data. |
int |
Fade_fadingMode
Equivalent to |
int |
FastScroll_minHeight
Minimum height of the section header preview. |
int |
FastScroll_minWidth
Minimum width of the section header preview. |
int |
FastScroll_padding
Padding for the section header preview. |
int |
FastScroll_textAppearance
Default appearance of text: color, typeface, size, and style. |
int |
FastScroll_textColor
Color of text (usually same as colorForeground). |
int |
FastScroll_textSize
Size of text. |
int |
FastScroll_thumbPosition
Position of thumb in relation to the track. |
int |
FragmentAnimation_fragmentCloseEnterAnimation
This symbol is the offset where the |
int |
FragmentAnimation_fragmentCloseExitAnimation
This symbol is the offset where the |
int |
FragmentAnimation_fragmentFadeEnterAnimation
This symbol is the offset where the |
int |
FragmentAnimation_fragmentFadeExitAnimation
This symbol is the offset where the |
int |
FragmentAnimation_fragmentOpenEnterAnimation
This symbol is the offset where the |
int |
FragmentAnimation_fragmentOpenExitAnimation
This symbol is the offset where the |
int |
FragmentBreadCrumbs_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
int |
Fragment_fragmentAllowEnterTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning forward. |
int |
Fragment_fragmentAllowReturnTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack. |
int |
Fragment_fragmentEnterTransition
The Transition that will be used to move Views into the initial scene. |
int |
Fragment_fragmentExitTransition
The Transition that will be used to move Views out of the scene when the fragment is removed, hidden, or detached when not popping the back stack. |
int |
Fragment_fragmentReenterTransition
The Transition that will be used to move Views in to the scene when returning due to popping a back stack. |
int |
Fragment_fragmentReturnTransition
The Transition that will be used to move Views out of the scene when the Fragment is preparing to be removed, hidden, or detached because of popping the back stack. |
int |
Fragment_fragmentSharedElementEnterTransition
The Transition that will be used for shared elements transferred into the content Scene. |
int |
Fragment_fragmentSharedElementReturnTransition
The Transition that will be used for shared elements transferred back during a pop of the back stack. |
int |
Fragment_id
Supply an identifier name for the top-level view, to later retrieve it
with |
int |
Fragment_name
Supply the name of the fragment class to instantiate. |
int |
Fragment_tag
Supply a tag for the top-level view containing a String, to be retrieved
later with |
int |
FrameLayout_Layout_layout_gravity
Standard gravity constant that a child supplies to its parent. |
int |
FrameLayout_measureAllChildren
Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring. |
int |
Gallery_animationDuration
Sets how long a transition animation should run (in milliseconds) when layout has changed. |
int |
Gallery_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
int |
Gallery_spacing
This symbol is the offset where the |
int |
Gallery_unselectedAlpha
Sets the alpha on the items that are not selected. |
int |
GestureOverlayView_eventsInterceptionEnabled
Defines whether the overlay should intercept the motion events when a gesture is recognized. |
int |
GestureOverlayView_fadeDuration
Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture. |
int |
GestureOverlayView_fadeEnabled
Defines whether the gesture will automatically fade out after being recognized. |
int |
GestureOverlayView_fadeOffset
Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it. |
int |
GestureOverlayView_gestureColor
Color used to draw a gesture. |
int |
GestureOverlayView_gestureStrokeAngleThreshold
Minimum curve angle a stroke must contain before it is recognized as a gesture. |
int |
GestureOverlayView_gestureStrokeLengthThreshold
Minimum length of a stroke before it is recognized as a gesture. |
int |
GestureOverlayView_gestureStrokeSquarenessThreshold
Squareness threshold of a stroke before it is recognized as a gesture. |
int |
GestureOverlayView_gestureStrokeType
Defines the type of strokes that define a gesture. |
int |
GestureOverlayView_gestureStrokeWidth
Width of the stroke used to draw the gesture. |
int |
GestureOverlayView_orientation
Indicates whether horizontal (when the orientation is vertical) or vertical (when orientation is horizontal) strokes automatically define a gesture. |
int |
GestureOverlayView_uncertainGestureColor
Color used to draw the user's strokes until we are sure it's a gesture. |
int |
GlowPadView_directionDescriptions
Reference to an array resource that be used to announce the directions with targets around the circle. |
int |
GlowPadView_targetDescriptions
Reference to an array resource that be used as description for the targets around the circle. |
int |
GradientColorItem_color
The current color for the offset inside the gradient. |
int |
GradientColorItem_offset
The offset (or ratio) of this current color item inside the gradient. |
int |
GradientColor_centerColor
Optional center color. |
int |
GradientColor_centerX
Only applied to SweepGradient / RadialGradient X coordinate of the center of the gradient within the path. |
int |
GradientColor_centerY
Y coordinate of the center of the gradient within the path. |
int |
GradientColor_endColor
End color of the gradient. |
int |
GradientColor_endX
X coordinate of the end point origin of the gradient. |
int |
GradientColor_endY
Y coordinate of the end point of the gradient within the shape. |
int |
GradientColor_gradientRadius
Only applied to RadialGradient Radius of the gradient, used only with radial gradient. |
int |
GradientColor_startColor
Start color of the gradient. |
int |
GradientColor_startX
LinearGradient specific X coordinate of the start point origin of the gradient. |
int |
GradientColor_startY
Y coordinate of the start point of the gradient within the shape. |
int |
GradientColor_tileMode
Defines the tile mode of the gradient. |
int |
GradientColor_type
Type of gradient. |
int |
GradientDrawableGradient_angle
Angle of the gradient, used only with linear gradient. |
int |
GradientDrawableGradient_centerColor
Optional center color. |
int |
GradientDrawableGradient_centerX
X-position of the center point of the gradient within the shape as a fraction of the width. |
int |
GradientDrawableGradient_centerY
Y-position of the center point of the gradient within the shape as a fraction of the height. |
int |
GradientDrawableGradient_endColor
End color of the gradient. |
int |
GradientDrawableGradient_gradientRadius
Radius of the gradient, used only with radial gradient. |
int |
GradientDrawableGradient_startColor
Start color of the gradient. |
int |
GradientDrawableGradient_type
Type of gradient. |
int |
GradientDrawableGradient_useLevel
Whether the drawable level value (see
|
int |
GradientDrawablePadding_bottom
Amount of bottom padding inside the gradient shape. |
int |
GradientDrawablePadding_left
Amount of left padding inside the gradient shape. |
int |
GradientDrawablePadding_right
Amount of right padding inside the gradient shape. |
int |
GradientDrawablePadding_top
Amount of top padding inside the gradient shape. |
int |
GradientDrawableSize_height
Height of the gradient shape. |
int |
GradientDrawableSize_width
Width of the gradient shape. |
int |
GradientDrawableSolid_color
Solid color for the gradient shape. |
int |
GradientDrawableStroke_color
Color of the gradient shape's stroke. |
int |
GradientDrawableStroke_dashGap
Gap between dashes in the stroke. |
int |
GradientDrawableStroke_dashWidth
Length of a dash in the stroke. |
int |
GradientDrawableStroke_width
Width of the gradient shape's stroke. |
int |
GradientDrawable_dither
Enables or disables dithering. |
int |
GradientDrawable_innerRadius
Inner radius of the ring. |
int |
GradientDrawable_innerRadiusRatio
Inner radius of the ring expressed as a ratio of the ring's width. |
int |
GradientDrawable_shape
Indicates what shape to fill with a gradient. |
int |
GradientDrawable_thickness
Thickness of the ring. |
int |
GradientDrawable_thicknessRatio
Thickness of the ring expressed as a ratio of the ring's width. |
int |
GradientDrawable_tint
If set, specifies the color to apply to the drawable as a tint. |
int |
GradientDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. |
int |
GradientDrawable_useLevel
Whether the drawable level value (see
|
int |
GradientDrawable_visible
Indicates whether the drawable should intially be visible. |
int |
GridLayoutAnimation_columnDelay
Fraction of the animation duration used to delay the beginning of the animation of each column. |
int |
GridLayoutAnimation_direction
Direction of the animation in the grid. |
int |
GridLayoutAnimation_directionPriority
Priority of the rows and columns. |
int |
GridLayoutAnimation_rowDelay
Fraction of the animation duration used to delay the beginning of the animation of each row. |
int |
GridLayout_Layout_layout_column
The column boundary delimiting the left of the group of cells occupied by this view. |
int |
GridLayout_Layout_layout_columnSpan
The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view. |
int |
GridLayout_Layout_layout_columnWeight
The relative proportion of horizontal space that should be allocated to this view during excess space distribution. |
int |
GridLayout_Layout_layout_gravity
Gravity specifies how a component should be placed in its group of cells. |
int |
GridLayout_Layout_layout_row
The row boundary delimiting the top of the group of cells occupied by this view. |
int |
GridLayout_Layout_layout_rowSpan
The row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view. |
int |
GridLayout_Layout_layout_rowWeight
The relative proportion of vertical space that should be allocated to this view during excess space distribution. |
int |
GridLayout_alignmentMode
When set to alignMargins, causes alignment to take place between the outer boundary of a view, as defined by its margins. |
int |
GridLayout_columnCount
The maxmimum number of columns to create when automatically positioning children. |
int |
GridLayout_columnOrderPreserved
When set to true, forces column boundaries to appear in the same order as column indices. |
int |
GridLayout_orientation
The orientation property is not used during layout. |
int |
GridLayout_rowCount
The maxmimum number of rows to create when automatically positioning children. |
int |
GridLayout_rowOrderPreserved
When set to true, forces row boundaries to appear in the same order as row indices. |
int |
GridLayout_useDefaultMargins
When set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters. |
int |
GridView_columnWidth
Specifies the fixed width for each column. |
int |
GridView_gravity
Specifies the gravity within each cell. |
int |
GridView_horizontalSpacing
Defines the default horizontal spacing between columns. |
int |
GridView_numColumns
Defines how many columns to show. |
int |
GridView_stretchMode
Defines how columns should stretch to fill the available empty space, if any. |
int |
GridView_verticalSpacing
Defines the default vertical spacing between rows. |
int |
HorizontalScrollView_fillViewport
Defines whether the scrollview should stretch its content to fill the viewport. |
int |
HostApduService_apduServiceBanner
A drawable that can be rendered in Android's system UI for representing the service. |
int |
HostApduService_description
Short description of the functionality the service implements. |
int |
HostApduService_requireDeviceUnlock
Whether the device must be unlocked before routing data to this service. |
int |
HostApduService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
HostNfcFService_description
Short description of the functionality the service implements. |
int |
IconDefault_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
IconMenuView_maxItemsPerRow
Defines the maximum number of items per row. |
int |
IconMenuView_maxRows
Defines the maximum number of rows displayed. |
int |
IconMenuView_moreIcon
'More' icon. |
int |
IconMenuView_rowHeight
Defines the height of each row. |
int |
Icon_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
Icon_mimeType
Specify a MIME type that is handled, as per
|
int |
ImageView_adjustViewBounds
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable. |
int |
ImageView_baseline
The offset of the baseline within this view. |
int |
ImageView_baselineAlignBottom
If true, the image view will be baseline aligned with based on its bottom edge. |
int |
ImageView_cropToPadding
If true, the image will be cropped to fit within its padding. |
int |
ImageView_maxHeight
An optional argument to supply a maximum height for this view. |
int |
ImageView_maxWidth
An optional argument to supply a maximum width for this view. |
int |
ImageView_scaleType
Controls how the image should be resized or moved to match the size of this ImageView. |
int |
ImageView_src
Sets a drawable as the content of this ImageView. |
int |
ImageView_tint
The tinting color for the image. |
int |
ImageView_tintMode
Blending mode used to apply the image tint. |
int |
Include_id
Supply an identifier name for this view, to later retrieve it
with |
int |
Include_visibility
Controls the initial visibility of the view. |
int |
InputMethodService_imeExtractEnterAnimation
Animation to use when showing the fullscreen extract UI after it had previously been hidden. |
int |
InputMethodService_imeExtractExitAnimation
Animation to use when hiding the fullscreen extract UI after it had previously been shown. |
int |
InputMethodService_imeFullscreenBackground
Background to use for entire input method when it is being shown in fullscreen mode with the extract view, to ensure that it completely covers the application. |
int |
InputMethod_Subtype_icon
The icon of the subtype. |
int |
InputMethod_Subtype_imeSubtypeExtraValue
The extra value of the subtype. |
int |
InputMethod_Subtype_imeSubtypeLocale
The locale of the subtype. |
int |
InputMethod_Subtype_imeSubtypeMode
The mode of the subtype. |
int |
InputMethod_Subtype_isAsciiCapable
Set to true if this subtype is ASCII capable. |
int |
InputMethod_Subtype_isAuxiliary
Set true if the subtype is auxiliary. |
int |
InputMethod_Subtype_label
The name of the subtype. |
int |
InputMethod_Subtype_languageTag
The BCP-47 Language Tag of the subtype. |
int |
InputMethod_Subtype_overridesImplicitlyEnabledSubtype
Set true when this subtype should be selected by default if no other subtypes are selected explicitly. |
int |
InputMethod_Subtype_subtypeId
The unique id for the subtype. |
int |
InputMethod_isDefault
Set to true in all of the configurations for which this input method should be considered an option as the default. |
int |
InputMethod_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
InputMethod_supportsSwitchingToNextInputMethod
Set to true if this input method supports ways to switch to a next input method (e.g. |
int |
InsetDrawable_drawable
Reference to a drawable resource to use for the frame. |
int |
InsetDrawable_inset
This symbol is the offset where the |
int |
InsetDrawable_insetBottom
This symbol is the offset where the |
int |
InsetDrawable_insetLeft
This symbol is the offset where the |
int |
InsetDrawable_insetRight
This symbol is the offset where the |
int |
InsetDrawable_insetTop
This symbol is the offset where the |
int |
InsetDrawable_visible
Provides initial visibility state of the drawable; the default value is false. |
int |
IntentCategory_name
Required name of the category. |
int |
Intent_action
The action name to assign to the Intent, as per
|
int |
Intent_data
The data URI to assign to the Intent, as per
|
int |
Intent_mimeType
The MIME type name to assign to the Intent, as per
|
int |
Intent_targetClass
The class part of the ComponentName to assign to the Intent, as per
|
int |
Intent_targetPackage
The package part of the ComponentName to assign to the Intent, as per
|
int |
KeyboardLayout_keyboardLayout
The key character map file resource. |
int |
KeyboardLayout_label
The display label of the keyboard layout. |
int |
KeyboardLayout_name
The name of the keyboard layout, must be unique in the receiver. |
int |
KeyboardViewPreviewState_state_long_pressable
State for |
int |
KeyboardView_keyBackground
Image for the key. |
int |
KeyboardView_keyPreviewHeight
Height of the key press feedback popup. |
int |
KeyboardView_keyPreviewLayout
Layout resource for key press feedback. |
int |
KeyboardView_keyPreviewOffset
Vertical offset of the key press feedback from the key. |
int |
KeyboardView_keyTextColor
Color to use for the label in a key. |
int |
KeyboardView_keyTextSize
Size of the text for character keys. |
int |
KeyboardView_labelTextSize
Size of the text for custom keys with some text and no icon. |
int |
KeyboardView_popupLayout
Layout resource for popup keyboards. |
int |
KeyboardView_shadowColor
Place a blurred shadow of text underneath the text, drawn with the specified color. |
int |
KeyboardView_shadowRadius
Blur radius of the text shadow. |
int |
KeyboardView_verticalCorrection
Amount to offset the touch Y coordinate by, for bias correction. |
int |
Keyboard_Key_codes
The unicode value or comma-separated values that this key outputs. |
int |
Keyboard_Key_iconPreview
The icon to show in the popup preview. |
int |
Keyboard_Key_isModifier
Whether this is a modifier key such as Alt or Shift. |
int |
Keyboard_Key_isRepeatable
Whether long-pressing on this key will make it repeat. |
int |
Keyboard_Key_isSticky
Whether this is a toggle key. |
int |
Keyboard_Key_keyEdgeFlags
Key edge flags. |
int |
Keyboard_Key_keyIcon
The icon to display on the key instead of the label. |
int |
Keyboard_Key_keyLabel
The label to display on the key. |
int |
Keyboard_Key_keyOutputText
The string of characters to output when this key is pressed. |
int |
Keyboard_Key_keyboardMode
Mode of the keyboard. |
int |
Keyboard_Key_popupCharacters
The characters to display in the popup keyboard. |
int |
Keyboard_Key_popupKeyboard
The XML keyboard layout of any popup keyboard. |
int |
Keyboard_Row_keyboardMode
Mode of the keyboard. |
int |
Keyboard_Row_rowEdgeFlags
Row edge flags. |
int |
Keyboard_horizontalGap
Default horizontal gap between keys. |
int |
Keyboard_keyHeight
Default height of a key, in pixels or percentage of display width. |
int |
Keyboard_keyWidth
Default width of a key, in pixels or percentage of display width. |
int |
Keyboard_verticalGap
Default vertical gap between rows of keys. |
int |
Keyframe_fraction
This symbol is the offset where the |
int |
Keyframe_interpolator
Defines a per-interval interpolator for this keyframe. |
int |
Keyframe_value
Concrete value to assign to this piece of named meta-data. |
int |
Keyframe_valueType
The type of valueFrom and valueTo. |
int |
LayerDrawableItem_bottom
Bottom inset to apply to the layer. |
int |
LayerDrawableItem_drawable
Drawable used to render the layer. |
int |
LayerDrawableItem_end
End inset to apply to the layer. |
int |
LayerDrawableItem_gravity
Gravity used to align the layer within its container. |
int |
LayerDrawableItem_height
Height of the layer. |
int |
LayerDrawableItem_id
Identifier of the layer. |
int |
LayerDrawableItem_left
Left inset to apply to the layer. |
int |
LayerDrawableItem_right
Right inset to apply to the layer. |
int |
LayerDrawableItem_start
Start inset to apply to the layer. |
int |
LayerDrawableItem_top
Top inset to apply to the layer. |
int |
LayerDrawableItem_width
Width of the layer. |
int |
LayerDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
LayerDrawable_opacity
Indicates the opacity of the layer. |
int |
LayerDrawable_paddingBottom
Explicit bottom padding. |
int |
LayerDrawable_paddingEnd
Explicit end padding. |
int |
LayerDrawable_paddingLeft
Explicit left padding. |
int |
LayerDrawable_paddingMode
Indicates how layer padding should affect the bounds of subsequent layers. |
int |
LayerDrawable_paddingRight
Explicit right padding. |
int |
LayerDrawable_paddingStart
Explicit start padding. |
int |
LayerDrawable_paddingTop
Explicit top padding. |
int |
LayoutAnimation_animation
Animation to use on each child. |
int |
LayoutAnimation_animationOrder
The order in which the animations will be started. |
int |
LayoutAnimation_delay
Fraction of the animation duration used to delay the beginning of the animation of each child. |
int |
LayoutAnimation_interpolator
Interpolator used to interpolate the delay between the start of each animation. |
int |
LevelListDrawableItem_drawable
Reference to a drawable resource to use for the frame. |
int |
LevelListDrawableItem_maxLevel
The maximum level allowed for this item. |
int |
LevelListDrawableItem_minLevel
The minimum level allowed for this item. |
int |
Lighting_ambientShadowAlpha
Alpha value of the ambient shadow projected by elevated views, between 0 and 1. |
int |
Lighting_spotShadowAlpha
Alpha value of the spot shadow projected by elevated views, between 0 and 1. |
int |
LinearLayout_Layout_layout_gravity
Standard gravity constant that a child supplies to its parent. |
int |
LinearLayout_Layout_layout_height
Specifies the basic height of the view. |
int |
LinearLayout_Layout_layout_weight
This symbol is the offset where the |
int |
LinearLayout_Layout_layout_width
Specifies the basic width of the view. |
int |
LinearLayout_baselineAligned
When set to false, prevents the layout from aligning its children's baselines. |
int |
LinearLayout_baselineAlignedChildIndex
When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (that is, which child TextView). |
int |
LinearLayout_divider
Drawable to use as a vertical divider between buttons. |
int |
LinearLayout_dividerPadding
Size of padding on either end of a divider. |
int |
LinearLayout_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
int |
LinearLayout_measureWithLargestChild
When set to true, all children with a weight will be considered having the minimum size of the largest child. |
int |
LinearLayout_orientation
Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column. |
int |
LinearLayout_showDividers
Setting for which dividers to show. |
int |
LinearLayout_weightSum
Defines the maximum weight sum. |
int |
ListPopupWindow_dropDownHorizontalOffset
Amount of pixels by which the drop down should be offset horizontally. |
int |
ListPopupWindow_dropDownVerticalOffset
Amount of pixels by which the drop down should be offset vertically. |
int |
ListPreference_entries
The human-readable array to present as a list. |
int |
ListPreference_entryValues
The array to find the value to save for a preference when an entry from entries is selected. |
int |
ListView_divider
Drawable or color to draw between list items. |
int |
ListView_dividerHeight
Height of the divider. |
int |
ListView_entries
Reference to an array resource that will populate the ListView. |
int |
ListView_footerDividersEnabled
When set to false, the ListView will not draw the divider before each footer view. |
int |
ListView_headerDividersEnabled
When set to false, the ListView will not draw the divider after each header view. |
int |
ListView_overScrollFooter
Drawable to draw below list content. |
int |
ListView_overScrollHeader
Drawable to draw above list content. |
int |
MapView_apiKey
Value is a string that specifies the Maps API Key to use. |
int |
MaterialProgressDrawable_color
Solid color for the gradient shape. |
int |
MaterialProgressDrawable_height
Makes the TextView be exactly this many pixels tall. |
int |
MaterialProgressDrawable_innerRadius
Inner radius of the ring. |
int |
MaterialProgressDrawable_thickness
Thickness of the ring. |
int |
MaterialProgressDrawable_visible
Provides initial visibility state of the drawable; the default value is false. |
int |
MaterialProgressDrawable_width
Makes the TextView be exactly this many pixels wide. |
int |
MediaRouteButton_mediaRouteTypes
The types of media routes the button and its resulting chooser will filter by. |
int |
MediaRouteButton_minHeight
This symbol is the offset where the |
int |
MediaRouteButton_minWidth
This symbol is the offset where the |
int |
MenuGroup_checkableBehavior
Whether the items are capable of displaying a check mark. |
int |
MenuGroup_enabled
Whether the items are enabled. |
int |
MenuGroup_id
The ID of the group. |
int |
MenuGroup_menuCategory
The category applied to all items within this group. |
int |
MenuGroup_orderInCategory
The order within the category applied to all items within this group. |
int |
MenuGroup_visible
Whether the items are shown/visible. |
int |
MenuItemCheckedFocusedState_state_checkable
State identifier indicating that the object may display a check mark. |
int |
MenuItemCheckedFocusedState_state_checked
State identifier indicating that the object is currently checked. |
int |
MenuItemCheckedFocusedState_state_focused
State value for |
int |
MenuItemCheckedState_state_checkable
State identifier indicating that the object may display a check mark. |
int |
MenuItemCheckedState_state_checked
State identifier indicating that the object is currently checked. |
int |
MenuItemUncheckedFocusedState_state_checkable
State identifier indicating that the object may display a check mark. |
int |
MenuItemUncheckedFocusedState_state_focused
State value for |
int |
MenuItemUncheckedState_state_checkable
State identifier indicating that the object may display a check mark. |
int |
MenuItem_actionLayout
An optional layout to be used as an action view. |
int |
MenuItem_actionProviderClass
The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. |
int |
MenuItem_actionViewClass
The name of an optional View class to instantiate and use as an action view. |
int |
MenuItem_alphabeticShortcut
The alphabetic shortcut key. |
int |
MenuItem_checkable
Whether the item is capable of displaying a check mark. |
int |
MenuItem_checked
Whether the item is checked. |
int |
MenuItem_enabled
Whether the item is enabled. |
int |
MenuItem_icon
The icon associated with this item. |
int |
MenuItem_id
The ID of the item. |
int |
MenuItem_menuCategory
The category applied to the item. |
int |
MenuItem_numericShortcut
The numeric shortcut key. |
int |
MenuItem_onClick
Name of a method on the Context used to inflate the menu that will be called when the item is clicked. |
int |
MenuItem_orderInCategory
The order within the category applied to the item. |
int |
MenuItem_showAsAction
How this item should display in the Action Bar, if present. |
int |
MenuItem_title
The title associated with the item. |
int |
MenuItem_titleCondensed
The condensed title associated with the item. |
int |
MenuItem_visible
Whether the item is shown/visible. |
int |
MenuView_headerBackground
Default background for the menu header. |
int |
MenuView_horizontalDivider
Default horizontal divider between rows of menu items. |
int |
MenuView_itemBackground
Default background for each menu item. |
int |
MenuView_itemIconDisabledAlpha
Default disabled icon alpha for each menu item that shows an icon. |
int |
MenuView_itemTextAppearance
Default appearance of menu item text. |
int |
MenuView_subMenuArrow
Drawable for the arrow icon indicating a particular item is a submenu. |
int |
MenuView_verticalDivider
Default vertical divider between menu items. |
int |
MenuView_windowAnimationStyle
Default animations for the menu. |
int |
MessagingLinearLayout_maxHeight
An optional argument to supply a maximum height for this view. |
int |
MessagingLinearLayout_spacing
This symbol is the offset where the |
int |
MultiSelectListPreference_entries
The human-readable array to present as a list. |
int |
MultiSelectListPreference_entryValues
The array to find the value to save for a preference when an entry from entries is selected. |
int |
Nfcid2Filter_name
The NFCID2. |
int |
NinePatchDrawable_alpha
Specifies the alpha multiplier to apply to the base drawable. |
int |
NinePatchDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
NinePatchDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). |
int |
NinePatchDrawable_src
Identifier of the bitmap file. |
int |
NinePatchDrawable_tint
If set, specifies the color to apply to the drawable as a tint. |
int |
NinePatchDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. |
int |
OffHostApduService_apduServiceBanner
A drawable that can be rendered in Android's system UI for representing the service. |
int |
OffHostApduService_description
Short description of the functionality the service implements. |
int |
OffHostApduService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
OvershootInterpolator_tension
This is the amount of tension. |
int |
PathInterpolator_controlX1
The x coordinate of the first control point of the cubic Bezier Must be a floating point value, such as " |
int |
PathInterpolator_controlX2
The x coordinate of the second control point of the cubic Bezier Must be a floating point value, such as " |
int |
PathInterpolator_controlY1
The y coordinate of the first control point of the cubic Bezier Must be a floating point value, such as " |
int |
PathInterpolator_controlY2
The y coordinate of the second control point of the cubic Bezier Must be a floating point value, such as " |
int |
PathInterpolator_pathData
The control points defined as a path. |
int |
PatternPathMotion_patternPathData
The path string describing the pattern to use for the PathPathMotion. |
int |
PointerIcon_bitmap
Drawable to use as the icon bitmap. |
int |
PointerIcon_hotSpotX
X coordinate of the icon hot spot. |
int |
PointerIcon_hotSpotY
Y coordinate of the icon hot spot. |
int |
PopupWindowBackgroundState_state_above_anchor
State identifier indicating the popup will be above the anchor. |
int |
PopupWindow_overlapAnchor
Whether the popup window should overlap its anchor view. |
int |
PopupWindow_popupAnimationStyle
The animation style to use for the popup window. |
int |
PopupWindow_popupBackground
The background to use for the popup window. |
int |
PopupWindow_popupElevation
Window elevation to use for the popup window. |
int |
PopupWindow_popupEnterTransition
Transition used to move views into the popup window. |
int |
PopupWindow_popupExitTransition
Transition used to move views out of the popup window. |
int |
PreferenceActivity_layout
The layout for the Preference Activity. |
int |
PreferenceFragment_divider
Drawable or color to draw between list items. |
int |
PreferenceFragment_layout
The layout for the PreferenceFragment. |
int |
PreferenceGroup_orderingFromXml
Whether to order the Preference under this group as they appear in the XML file. |
int |
PreferenceHeader_breadCrumbShortTitle
The short title for the bread crumb of this item. |
int |
PreferenceHeader_breadCrumbTitle
The title for the bread crumb of this item. |
int |
PreferenceHeader_fragment
The fragment that is displayed when the user selects this item. |
int |
PreferenceHeader_icon
An icon for the item. |
int |
PreferenceHeader_id
Identifier value for the header. |
int |
PreferenceHeader_summary
The summary for the item. |
int |
PreferenceHeader_title
The title of the item that is shown to the user. |
int |
PreferenceScreen_divider
Drawable or color to draw between list items. |
int |
Preference_defaultValue
The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage. |
int |
Preference_dependency
The key of another Preference that this Preference will depend on. |
int |
Preference_enabled
Whether the Preference is enabled. |
int |
Preference_fragment
When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item. |
int |
Preference_icon
The optional icon for the preference Must be a reference to another resource, in the form " |
int |
Preference_key
The key to store the Preference value. |
int |
Preference_layout
The layout for the Preference in a PreferenceActivity screen. |
int |
Preference_order
The order for the Preference (lower values are to be ordered first). |
int |
Preference_persistent
Whether the Preference stores its value to the shared preferences. |
int |
Preference_selectable
Whether the Preference is selectable. |
int |
Preference_shouldDisableView
Whether the view of this Preference should be disabled when this Preference is disabled. |
int |
Preference_summary
The summary for the Preference in a PreferenceActivity screen. |
int |
Preference_title
The title for the Preference in a PreferenceActivity screen. |
int |
Preference_widgetLayout
The layout for the controllable widget portion of a Preference. |
int |
PrintService_addPrintersActivity
Fully qualified class name of an activity that allows the user to manually add printers to this print service. |
int |
PrintService_advancedPrintOptionsActivity
Fully qualified class name of an activity with advanced print options specific to this print service. |
int |
PrintService_settingsActivity
Fully qualified class name of an activity that allows the user to modify the settings for this service. |
int |
PrintService_vendor
The vendor name if this print service is vendor specific. |
int |
ProgressBar_animationResolution
Timeout between frames of animation in milliseconds Must be an integer value, such as " |
int |
ProgressBar_backgroundTint
Tint to apply to the background. |
int |
ProgressBar_backgroundTintMode
Blending mode used to apply the background tint. |
int |
ProgressBar_indeterminate
Allows to enable the indeterminate mode. |
int |
ProgressBar_indeterminateBehavior
Defines how the indeterminate mode should behave when the progress reaches max. |
int |
ProgressBar_indeterminateDrawable
Drawable used for the indeterminate mode. |
int |
ProgressBar_indeterminateDuration
Duration of the indeterminate animation. |
int |
ProgressBar_indeterminateOnly
Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). |
int |
ProgressBar_indeterminateTint
Tint to apply to the indeterminate progress indicator. |
int |
ProgressBar_indeterminateTintMode
Blending mode used to apply the indeterminate progress indicator tint. |
int |
ProgressBar_interpolator
This symbol is the offset where the |
int |
ProgressBar_max
Defines the maximum value the progress can take. |
int |
ProgressBar_maxHeight
An optional argument to supply a maximum height for this view. |
int |
ProgressBar_maxWidth
An optional argument to supply a maximum width for this view. |
int |
ProgressBar_minHeight
This symbol is the offset where the |
int |
ProgressBar_minWidth
This symbol is the offset where the |
int |
ProgressBar_mirrorForRtl
Defines if the associated drawables need to be mirrored when in RTL mode. |
int |
ProgressBar_progress
Defines the default progress value, between 0 and max. |
int |
ProgressBar_progressBackgroundTint
Tint to apply to the progress indicator background. |
int |
ProgressBar_progressBackgroundTintMode
Blending mode used to apply the progress indicator background tint. |
int |
ProgressBar_progressDrawable
Drawable used for the progress mode. |
int |
ProgressBar_progressTint
Tint to apply to the progress indicator. |
int |
ProgressBar_progressTintMode
Blending mode used to apply the progress indicator tint. |
int |
ProgressBar_secondaryProgress
Defines the secondary progress value, between 0 and max. |
int |
ProgressBar_secondaryProgressTint
Tint to apply to the secondary progress indicator. |
int |
ProgressBar_secondaryProgressTintMode
Blending mode used to apply the secondary progress indicator tint. |
int |
PropertyAnimator_pathData
The path used to animate the properties in the ObjectAnimator Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
PropertyAnimator_propertyName
Name of the property being animated. |
int |
PropertyAnimator_propertyXName
Name of the property being animated as the X coordinate of the pathData. |
int |
PropertyAnimator_propertyYName
Name of the property being animated as the Y coordinate of the pathData. |
int |
PropertyValuesHolder_propertyName
Name of the property being animated. |
int |
PropertyValuesHolder_valueFrom
Value the animation starts from. |
int |
PropertyValuesHolder_valueTo
Value the animation animates to. |
int |
PropertyValuesHolder_valueType
The type of valueFrom and valueTo. |
int |
RadioGroup_checkedButton
The id of the child radio button that should be checked by default within this radio group. |
int |
RadioGroup_orientation
Should the radio group be a column or a row? Use "horizontal" for a row, "vertical" for a column. |
int |
RatingBar_isIndicator
Whether this rating bar is an indicator (and non-changeable by the user). |
int |
RatingBar_numStars
The number of stars (or rating items) to show. |
int |
RatingBar_rating
The rating to set by default. |
int |
RatingBar_stepSize
The step size of the rating. |
int |
RatingDefinition_contentAgeHint
The age associated with the content rating. |
int |
RatingDefinition_description
The short description of the content rating. |
int |
RatingDefinition_name
The unique name of the content rating. |
int |
RatingDefinition_title
The title of the content rating which is shown to the user. |
int |
RatingSystemDefinition_country
The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard. |
int |
RatingSystemDefinition_description
The short description of the content rating system. |
int |
RatingSystemDefinition_name
The unique name of the content rating system. |
int |
RatingSystemDefinition_title
The title of the content rating system which is shown to the user. |
int |
RecognitionService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
RelativeLayout_Layout_layout_above
Positions the bottom edge of this view above the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignBaseline
Positions the baseline of this view on the baseline of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignBottom
Makes the bottom edge of this view match the bottom edge of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignEnd
Makes the end edge of this view match the end edge of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignLeft
Makes the left edge of this view match the left edge of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignParentBottom
If true, makes the bottom edge of this view match the bottom edge of the parent. |
int |
RelativeLayout_Layout_layout_alignParentEnd
If true, makes the end edge of this view match the end edge of the parent. |
int |
RelativeLayout_Layout_layout_alignParentLeft
If true, makes the left edge of this view match the left edge of the parent. |
int |
RelativeLayout_Layout_layout_alignParentRight
If true, makes the right edge of this view match the right edge of the parent. |
int |
RelativeLayout_Layout_layout_alignParentStart
If true, makes the start edge of this view match the start edge of the parent. |
int |
RelativeLayout_Layout_layout_alignParentTop
If true, makes the top edge of this view match the top edge of the parent. |
int |
RelativeLayout_Layout_layout_alignRight
Makes the right edge of this view match the right edge of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignStart
Makes the start edge of this view match the start edge of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignTop
Makes the top edge of this view match the top edge of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_alignWithParentIfMissing
If set to true, the parent will be used as the anchor when the anchor cannot be be found for layout_toLeftOf, layout_toRightOf, etc. |
int |
RelativeLayout_Layout_layout_below
Positions the top edge of this view below the given anchor view ID. |
int |
RelativeLayout_Layout_layout_centerHorizontal
If true, centers this child horizontally within its parent. |
int |
RelativeLayout_Layout_layout_centerInParent
If true, centers this child horizontally and vertically within its parent. |
int |
RelativeLayout_Layout_layout_centerVertical
If true, centers this child vertically within its parent. |
int |
RelativeLayout_Layout_layout_toEndOf
Positions the start edge of this view to the end of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_toLeftOf
Positions the right edge of this view to the left of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_toRightOf
Positions the left edge of this view to the right of the given anchor view ID. |
int |
RelativeLayout_Layout_layout_toStartOf
Positions the end edge of this view to the start of the given anchor view ID. |
int |
RelativeLayout_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
int |
RelativeLayout_ignoreGravity
Indicates what view should not be affected by gravity. |
int |
ResolverDrawerLayout_LayoutParams_layout_gravity
Standard gravity constant that a child supplies to its parent. |
int |
ResolverDrawerLayout_maxWidth
An optional argument to supply a maximum width for this view. |
int |
RestrictionEntry_defaultValue
The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage. |
int |
RestrictionEntry_description
Descriptive text for the associated data. |
int |
RestrictionEntry_entries
Reference to an array resource that will populate a list/adapter. |
int |
RestrictionEntry_entryValues
The array to find the value to save for a preference when an entry from entries is selected. |
int |
RestrictionEntry_key
The key to store the Preference value. |
int |
RestrictionEntry_restrictionType
This symbol is the offset where the |
int |
RestrictionEntry_title
The title associated with the item. |
int |
RingtonePreference_ringtoneType
Which ringtone type(s) to show in the picker. |
int |
RingtonePreference_showDefault
Whether to show an item for a default sound. |
int |
RingtonePreference_showSilent
Whether to show an item for 'Silent'. |
int |
RippleDrawable_color
The color to use for ripple effects. |
int |
RippleDrawable_radius
The radius of the ripple when fully expanded. |
int |
RotarySelector_orientation
Use "horizontal" or "vertical". |
int |
RotateAnimation_fromDegrees
This symbol is the offset where the |
int |
RotateAnimation_pivotX
This symbol is the offset where the |
int |
RotateAnimation_pivotY
This symbol is the offset where the |
int |
RotateAnimation_toDegrees
This symbol is the offset where the |
int |
RotateDrawable_drawable
Reference to a drawable resource to use for the frame. |
int |
RotateDrawable_fromDegrees
This symbol is the offset where the |
int |
RotateDrawable_pivotX
This symbol is the offset where the |
int |
RotateDrawable_pivotY
This symbol is the offset where the |
int |
RotateDrawable_toDegrees
This symbol is the offset where the |
int |
RotateDrawable_visible
Provides initial visibility state of the drawable; the default value is false. |
int |
ScaleAnimation_fromXScale
This symbol is the offset where the |
int |
ScaleAnimation_fromYScale
This symbol is the offset where the |
int |
ScaleAnimation_pivotX
This symbol is the offset where the |
int |
ScaleAnimation_pivotY
This symbol is the offset where the |
int |
ScaleAnimation_toXScale
This symbol is the offset where the |
int |
ScaleAnimation_toYScale
This symbol is the offset where the |
int |
ScaleDrawable_drawable
Reference to a drawable resource to draw with the specified scale. |
int |
ScaleDrawable_level
Specifies the initial drawable level in the range 0 to 10000. |
int |
ScaleDrawable_scaleGravity
Specifies where the drawable is positioned after scaling. |
int |
ScaleDrawable_scaleHeight
Scale height, expressed as a percentage of the drawable's bound. |
int |
ScaleDrawable_scaleWidth
Scale width, expressed as a percentage of the drawable's bound. |
int |
ScaleDrawable_useIntrinsicSizeAsMinimum
Use the drawable's intrinsic width and height as minimum size values. |
int |
ScrollView_fillViewport
Defines whether the scrollview should stretch its content to fill the viewport. |
int |
SearchView_closeIcon
Close button icon Must be a reference to another resource, in the form " |
int |
SearchView_commitIcon
Commit icon shown in the query suggestion row Must be a reference to another resource, in the form " |
int |
SearchView_focusable
Boolean that controls whether a view can take focus. |
int |
SearchView_goIcon
Go button icon Must be a reference to another resource, in the form " |
int |
SearchView_iconifiedByDefault
The default state of the SearchView. |
int |
SearchView_imeOptions
The IME options to set on the query text field. |
int |
SearchView_inputType
The input type to set on the query text field. |
int |
SearchView_layout
The layout to use for the search view. |
int |
SearchView_maxWidth
An optional maximum width of the SearchView. |
int |
SearchView_queryBackground
Background for the section containing the search query Must be a reference to another resource, in the form " |
int |
SearchView_queryHint
An optional query hint string to be displayed in the empty query field. |
int |
SearchView_searchHintIcon
Search icon displayed as a text field hint Must be a reference to another resource, in the form " |
int |
SearchView_searchIcon
Search icon Must be a reference to another resource, in the form " |
int |
SearchView_submitBackground
Background for the section containing the action (e.g. |
int |
SearchView_suggestionRowLayout
Layout for query suggestion rows Must be a reference to another resource, in the form " |
int |
SearchView_voiceIcon
Voice button icon Must be a reference to another resource, in the form " |
int |
SearchableActionKey_keycode
This attribute denotes the action key you wish to respond to. |
int |
SearchableActionKey_queryActionMsg
If you wish to handle an action key during normal search query entry, you must define an action string here. |
int |
SearchableActionKey_suggestActionMsg
If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this. |
int |
SearchableActionKey_suggestActionMsgColumn
If you wish to handle an action key while a suggestion is being displayed and selected, but you do not wish to enable this action key for every suggestion, then you can use this attribute to control it on a suggestion-by-suggestion basis. |
int |
Searchable_autoUrlDetect
If provided and |
int |
Searchable_hint
If supplied, this string will be displayed as a hint to the user. |
int |
Searchable_icon
This is deprecated. |
int |
Searchable_imeOptions
Additional features you can enable in an IME associated with an editor to improve the integration with your application. |
int |
Searchable_includeInGlobalSearch
If provided and |
int |
Searchable_inputType
The type of data being placed in a text field, used to help an input method decide how to let the user enter text. |
int |
Searchable_label
This is the user-displayed name of the searchable activity. |
int |
Searchable_queryAfterZeroResults
If provided and |
int |
Searchable_searchButtonText
If supplied, this string will be displayed as the text of the "Search" button. |
int |
Searchable_searchMode
Additional features are controlled by mode bits in this field. |
int |
Searchable_searchSettingsDescription
If provided, this string will be used to describe the searchable item in the searchable items settings within system search settings. |
int |
Searchable_searchSuggestAuthority
If provided, this is the trigger indicating that the searchable activity provides suggestions as well. |
int |
Searchable_searchSuggestIntentAction
If provided, and not overridden by an action in the selected suggestion, this
string will be placed in the action field of the |
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 |
int |
Searchable_searchSuggestPath
If provided, this will be inserted in the suggestions query Uri, after the authority you have provide but before the standard suggestions path. |
int |
Searchable_searchSuggestSelection
If provided, suggestion queries will be passed into your query function as the selection parameter. |
int |
Searchable_searchSuggestThreshold
If provided, this is the minimum number of characters needed to trigger search suggestions. |
int |
Searchable_voiceLanguage
If provided, this specifies the spoken language to be expected, and that it will be
different than the one set in the |
int |
Searchable_voiceLanguageModel
If provided, this specifies the language model that should be used by the voice recognition system. |
int |
Searchable_voiceMaxResults
If provided, enforces the maximum number of results to return, including the "best" result which will always be provided as the SEARCH intent's primary query. |
int |
Searchable_voicePromptText
If provided, this specifies a prompt that will be displayed during voice input. |
int |
Searchable_voiceSearchMode
Voice search features are controlled by mode bits in this field. |
int |
SeekBarPreference_layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
int |
SeekBar_splitTrack
Whether to split the track and leave a gap for the thumb drawable. |
int |
SeekBar_thumb
Draws the thumb on a seekbar. |
int |
SeekBar_thumbOffset
An offset for the thumb that allows it to extend out of the range of the track. |
int |
SeekBar_thumbTint
Tint to apply to the thumb drawable. |
int |
SeekBar_thumbTintMode
Blending mode used to apply the thumb tint. |
int |
SeekBar_tickMark
Drawable displayed at each progress position on a seekbar. |
int |
SeekBar_tickMarkTint
Tint to apply to the tick mark drawable. |
int |
SeekBar_tickMarkTintMode
Blending mode used to apply the tick mark tint. |
int |
SelectionModeDrawables_actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
SelectionModeDrawables_actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
SelectionModeDrawables_actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
SelectionModeDrawables_actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
SettingInjectorService_icon
The icon for the preference, should refer to all apps covered by the setting. |
int |
SettingInjectorService_settingsActivity
The activity to launch when the setting is clicked on. |
int |
SettingInjectorService_title
The title for the preference. |
int |
ShapeDrawablePadding_bottom
Bottom padding. |
int |
ShapeDrawablePadding_left
Left padding. |
int |
ShapeDrawablePadding_right
Right padding. |
int |
ShapeDrawablePadding_top
Top padding. |
int |
ShapeDrawable_color
Defines the color of the shape. |
int |
ShapeDrawable_dither
Enables or disables dithering. |
int |
ShapeDrawable_height
Defines the height of the shape. |
int |
ShapeDrawable_tint
If set, specifies the color to apply to the drawable as a tint. |
int |
ShapeDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. |
int |
ShapeDrawable_width
Defines the width of the shape. |
int |
ShortcutCategories_name
A unique name for the given item. |
int |
Shortcut_enabled
Specifies whether the widget is enabled. |
int |
Shortcut_icon
A Drawable resource providing a graphical representation of its associated item. |
int |
Shortcut_shortcutDisabledMessage
This symbol is the offset where the |
int |
Shortcut_shortcutId
This symbol is the offset where the |
int |
Shortcut_shortcutLongLabel
This symbol is the offset where the |
int |
Shortcut_shortcutShortLabel
This symbol is the offset where the |
int |
Slide_slideEdge
This symbol is the offset where the |
int |
SlidingDrawer_allowSingleTap
Indicates whether the drawer can be opened/closed by a single tap on the handle. |
int |
SlidingDrawer_animateOnClick
Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. |
int |
SlidingDrawer_bottomOffset
Extra offset for the handle at the bottom of the SlidingDrawer. |
int |
SlidingDrawer_content
Identifier for the child that represents the drawer's content. |
int |
SlidingDrawer_handle
Identifier for the child that represents the drawer's handle. |
int |
SlidingDrawer_orientation
Orientation of the SlidingDrawer. |
int |
SlidingDrawer_topOffset
Extra offset for the handle at the top of the SlidingDrawer. |
int |
SlidingTab_orientation
Use "horizontal" for a row, "vertical" for a column. |
int |
SpellChecker_Subtype_label
The name of the subtype. |
int |
SpellChecker_Subtype_languageTag
The BCP-47 Language Tag of the subtype. |
int |
SpellChecker_Subtype_subtypeExtraValue
The extra value of the subtype. |
int |
SpellChecker_Subtype_subtypeId
The unique id for the subtype. |
int |
SpellChecker_Subtype_subtypeLocale
The locale of the subtype. |
int |
SpellChecker_label
The name of the spell checker. |
int |
SpellChecker_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
Spinner_dropDownSelector
List selector to use for spinnerMode="dropdown" display. |
int |
Spinner_dropDownWidth
Width of the dropdown in spinnerMode="dropdown". |
int |
Spinner_gravity
Gravity setting for positioning the currently selected item. |
int |
Spinner_popupBackground
Background drawable to use for the dropdown in spinnerMode="dropdown". |
int |
Spinner_popupElevation
Window elevation to use for the dropdown in spinnerMode="dropdown". |
int |
Spinner_popupTheme
Theme to use for the drop-down or dialog popup window. |
int |
Spinner_prompt
The prompt to display when the spinner's dialog is shown. |
int |
Spinner_spinnerMode
Display mode for spinner options. |
int |
StateListAnimatorItem_animation
Animation to use on each child. |
int |
StateListDrawableItem_drawable
Reference to a drawable resource to use for the state. |
int |
StateListDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
StateListDrawable_constantSize
If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. |
int |
StateListDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). |
int |
StateListDrawable_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable. |
int |
StateListDrawable_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable. |
int |
StateListDrawable_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. |
int |
StateListDrawable_visible
Indicates whether the drawable should be initially visible. |
int |
SwitchPreference_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. |
int |
SwitchPreference_summaryOff
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. |
int |
SwitchPreference_summaryOn
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. |
int |
SwitchPreference_switchTextOff
The text used on the switch itself when in the "off" state. |
int |
SwitchPreference_switchTextOn
The text used on the switch itself when in the "on" state. |
int |
Switch_showText
Whether to draw on/off text. |
int |
Switch_splitTrack
Whether to split the track and leave a gap for the thumb drawable. |
int |
Switch_switchMinWidth
Minimum width for the switch component Must be a dimension value, which is a floating point number appended with a unit such as " |
int |
Switch_switchPadding
Minimum space between the switch and caption text Must be a dimension value, which is a floating point number appended with a unit such as " |
int |
Switch_switchTextAppearance
TextAppearance style for text displayed on the switch thumb. |
int |
Switch_textOff
Text to use when the switch is in the unchecked/"off" state. |
int |
Switch_textOn
Text to use when the switch is in the checked/"on" state. |
int |
Switch_thumb
Drawable to use as the "thumb" that switches back and forth. |
int |
Switch_thumbTextPadding
Amount of padding on either side of text within the switch thumb. |
int |
Switch_thumbTint
Tint to apply to the thumb. |
int |
Switch_thumbTintMode
Blending mode used to apply the thumb tint. |
int |
Switch_track
Drawable to use as the "track" that the switch thumb slides within. |
int |
Switch_trackTint
Tint to apply to the track. |
int |
Switch_trackTintMode
Blending mode used to apply the track tint. |
int |
SyncAdapter_accountType
The account type this authenticator handles. |
int |
SyncAdapter_allowParallelSyncs
Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority. |
int |
SyncAdapter_contentAuthority
the authority of a content provider. |
int |
SyncAdapter_isAlwaysSyncable
Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. |
int |
SyncAdapter_settingsActivity
If provided, specifies the action of the settings activity for this SyncAdapter. |
int |
SyncAdapter_supportsUploading
This symbol is the offset where the |
int |
SyncAdapter_userVisible
This symbol is the offset where the |
int |
SystemCodeFilter_name
The System Code. |
int |
TabWidget_divider
Drawable used to draw the divider between tabs. |
int |
TabWidget_tabStripEnabled
Determines whether the strip under the tab indicators is drawn or not. |
int |
TabWidget_tabStripLeft
Drawable used to draw the left part of the strip underneath the tabs. |
int |
TabWidget_tabStripRight
Drawable used to draw the right part of the strip underneath the tabs. |
int |
TableLayout_collapseColumns
The zero-based index of the columns to collapse. |
int |
TableLayout_shrinkColumns
The zero-based index of the columns to shrink. |
int |
TableLayout_stretchColumns
The zero-based index of the columns to stretch. |
int |
TableRow_Cell_layout_column
The index of the column in which this child should be. |
int |
TableRow_Cell_layout_span
Defines how many columns this child should span. |
int |
TextAppearance_elegantTextHeight
Elegant text height, especially for less compacted complex script text. |
int |
TextAppearance_fontFamily
Font family (named by string) for the text. |
int |
TextAppearance_fontFeatureSettings
Font feature settings. |
int |
TextAppearance_letterSpacing
Text letter-spacing. |
int |
TextAppearance_shadowColor
Place a blurred shadow of text underneath the text, drawn with the specified color. |
int |
TextAppearance_shadowDx
Horizontal offset of the text shadow. |
int |
TextAppearance_shadowDy
Vertical offset of the text shadow. |
int |
TextAppearance_shadowRadius
Blur radius of the text shadow. |
int |
TextAppearance_textAllCaps
Present the text in ALL CAPS. |
int |
TextAppearance_textColor
Text color. |
int |
TextAppearance_textColorHighlight
Color of the text selection highlight. |
int |
TextAppearance_textColorHint
Color of the hint text. |
int |
TextAppearance_textColorLink
Color of the links. |
int |
TextAppearance_textSize
Size of the text. |
int |
TextAppearance_textStyle
Style (bold, italic, bolditalic) for the text. |
int |
TextAppearance_typeface
Typeface (normal, sans, serif, monospace) for the text. |
int |
TextClock_format12Hour
Specifies the formatting pattern used to show the time and/or date in 12-hour mode. |
int |
TextClock_format24Hour
Specifies the formatting pattern used to show the time and/or date in 24-hour mode. |
int |
TextClock_timeZone
Specifies the time zone to use. |
int |
TextToSpeechEngine_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
TextViewAppearance_textAppearance
Base text color, typeface, size, and style. |
int |
TextViewMultiLineBackgroundState_state_multiline
State identifier indicating a TextView has a multi-line layout. |
int |
TextView_allowUndo
Whether undo should be allowed for editable text. |
int |
TextView_autoLink
Controls whether links such as urls and email addresses are automatically found and converted to clickable links. |
int |
TextView_autoText
If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors. |
int |
TextView_breakStrategy
Break strategy (control over paragraph layout). |
int |
TextView_bufferType
Determines the minimum type that getText() will return. |
int |
TextView_capitalize
If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. |
int |
TextView_cursorVisible
Makes the cursor visible (the default) or invisible. |
int |
TextView_digits
If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. |
int |
TextView_drawableBottom
The drawable to be drawn below the text. |
int |
TextView_drawableEnd
The drawable to be drawn to the end of the text. |
int |
TextView_drawableLeft
The drawable to be drawn to the left of the text. |
int |
TextView_drawablePadding
The padding between the drawables and the text. |
int |
TextView_drawableRight
The drawable to be drawn to the right of the text. |
int |
TextView_drawableStart
The drawable to be drawn to the start of the text. |
int |
TextView_drawableTint
Tint to apply to the compound (left, top, etc.) drawables. |
int |
TextView_drawableTintMode
Blending mode used to apply the compound (left, top, etc.) drawables tint. |
int |
TextView_drawableTop
The drawable to be drawn above the text. |
int |
TextView_editable
If set, specifies that this TextView has an input method. |
int |
TextView_editorExtras
Reference to an
|
int |
TextView_elegantTextHeight
Elegant text height, especially for less compacted complex script text. |
int |
TextView_ellipsize
If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle. |
int |
TextView_ems
Makes the TextView be exactly this many ems wide. |
int |
TextView_enabled
Specifies whether the widget is enabled. |
int |
TextView_fontFamily
Font family (named by string) for the text. |
int |
TextView_fontFeatureSettings
Font feature settings. |
int |
TextView_freezesText
If set, the text view will include its current complete text inside of its frozen icicle in addition to meta-data such as the current cursor position. |
int |
TextView_gravity
Specifies how to align the text by the view's x- and/or y-axis when the text is smaller than the view. |
int |
TextView_height
Makes the TextView be exactly this many pixels tall. |
int |
TextView_hint
Hint text to display when the text is empty. |
int |
TextView_hyphenationFrequency
Frequency of automatic hyphenation. |
int |
TextView_imeActionId
Supply a value for
|
int |
TextView_imeActionLabel
Supply a value for
|
int |
TextView_imeOptions
Additional features you can enable in an IME associated with an editor to improve the integration with your application. |
int |
TextView_includeFontPadding
Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly. |
int |
TextView_inputMethod
If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name). |
int |
TextView_inputType
The type of data being placed in a text field, used to help an input method decide how to let the user enter text. |
int |
TextView_letterSpacing
Text letter-spacing. |
int |
TextView_lineSpacingExtra
Extra spacing between lines of text. |
int |
TextView_lineSpacingMultiplier
Extra spacing between lines of text, as a multiplier. |
int |
TextView_lines
Makes the TextView be exactly this many lines tall. |
int |
TextView_linksClickable
If set to false, keeps the movement method from being set to the link movement method even if autoLink causes links to be found. |
int |
TextView_marqueeRepeatLimit
The number of times to repeat the marquee animation. |
int |
TextView_maxEms
Makes the TextView be at most this many ems wide. |
int |
TextView_maxHeight
Makes the TextView be at most this many pixels tall. |
int |
TextView_maxLength
Set an input filter to constrain the text length to the specified number. |
int |
TextView_maxLines
Makes the TextView be at most this many lines tall. |
int |
TextView_maxWidth
Makes the TextView be at most this many pixels wide. |
int |
TextView_minEms
Makes the TextView be at least this many ems wide. |
int |
TextView_minHeight
Makes the TextView be at least this many pixels tall. |
int |
TextView_minLines
Makes the TextView be at least this many lines tall. |
int |
TextView_minWidth
Makes the TextView be at least this many pixels wide. |
int |
TextView_numeric
If set, specifies that this TextView has a numeric input method. |
int |
TextView_password
Whether the characters of the field are displayed as password dots instead of themselves. |
int |
TextView_phoneNumber
If set, specifies that this TextView has a phone number input method. |
int |
TextView_privateImeOptions
An addition content type description to supply to the input method attached to the text view, which is private to the implementation of the input method. |
int |
TextView_scrollHorizontally
Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally). |
int |
TextView_selectAllOnFocus
If the text is selectable, select it all when the view takes focus. |
int |
TextView_shadowColor
Place a blurred shadow of text underneath the text, drawn with the specified color. |
int |
TextView_shadowDx
Horizontal offset of the text shadow. |
int |
TextView_shadowDy
Vertical offset of the text shadow. |
int |
TextView_shadowRadius
Blur radius of the text shadow. |
int |
TextView_singleLine
Constrains the text to a single horizontally scrolling line instead of letting it wrap onto multiple lines, and advances focus instead of inserting a newline when you press the enter key. |
int |
TextView_text
Text to display. |
int |
TextView_textAllCaps
Present the text in ALL CAPS. |
int |
TextView_textAppearance
Base text color, typeface, size, and style. |
int |
TextView_textColor
Text color. |
int |
TextView_textColorHighlight
Color of the text selection highlight. |
int |
TextView_textColorHint
Color of the hint text. |
int |
TextView_textColorLink
Text color for links. |
int |
TextView_textCursorDrawable
Reference to a drawable that will be drawn under the insertion cursor. |
int |
TextView_textEditNoPasteWindowLayout
Variation of textEditPasteWindowLayout displayed when the clipboard is empty. |
int |
TextView_textEditPasteWindowLayout
The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field. |
int |
TextView_textEditSideNoPasteWindowLayout
Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. |
int |
TextView_textEditSidePasteWindowLayout
Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top. |
int |
TextView_textEditSuggestionItemLayout
Layout of the TextView item that will populate the suggestion popup window. |
int |
TextView_textIsSelectable
Indicates that the content of a non-editable text can be selected. |
int |
TextView_textScaleX
Sets the horizontal scaling factor for the text. |
int |
TextView_textSelectHandle
Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text. |
int |
TextView_textSelectHandleLeft
Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region. |
int |
TextView_textSelectHandleRight
Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region. |
int |
TextView_textSize
Size of the text. |
int |
TextView_textStyle
Style (bold, italic, bolditalic) for the text. |
int |
TextView_typeface
Typeface (normal, sans, serif, monospace) for the text. |
int |
TextView_width
Makes the TextView be exactly this many pixels wide. |
int |
Theme_absListViewStyle
Default AbsListView style. |
int |
Theme_actionBarDivider
Custom divider drawable to use for elements in the action bar. |
int |
Theme_actionBarItemBackground
Custom item state list drawable background for action bar items. |
int |
Theme_actionBarPopupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
int |
Theme_actionBarSize
Size of the Action Bar, including the contextual bar used to present Action Modes. |
int |
Theme_actionBarSplitStyle
Reference to a style for the split Action Bar. |
int |
Theme_actionBarStyle
Reference to a style for the Action Bar Must be a reference to another resource, in the form " |
int |
Theme_actionBarTabBarStyle
This symbol is the offset where the |
int |
Theme_actionBarTabStyle
Default style for tabs within an action bar Must be a reference to another resource, in the form " |
int |
Theme_actionBarTabTextStyle
This symbol is the offset where the |
int |
Theme_actionBarTheme
Reference to a theme that should be used to inflate the action bar. |
int |
Theme_actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. |
int |
Theme_actionButtonStyle
Default action button style. |
int |
Theme_actionDropDownStyle
Default ActionBar dropdown style. |
int |
Theme_actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action menu items. |
int |
Theme_actionMenuTextColor
Color for text that appears within action menu items. |
int |
Theme_actionModeBackground
Background drawable to use for action mode UI Must be a reference to another resource, in the form " |
int |
Theme_actionModeCloseButtonStyle
This symbol is the offset where the |
int |
Theme_actionModeCloseDrawable
Drawable to use for the close action mode button Must be a reference to another resource, in the form " |
int |
Theme_actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
Theme_actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
Theme_actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes Must be a reference to another resource, in the form " |
int |
Theme_actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
Theme_actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar Must be a reference to another resource, in the form " |
int |
Theme_actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes Must be a reference to another resource, in the form " |
int |
Theme_actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar Must be a reference to another resource, in the form " |
int |
Theme_actionModeStyle
This symbol is the offset where the |
int |
Theme_actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes Must be a reference to another resource, in the form " |
int |
Theme_actionOverflowButtonStyle
This symbol is the offset where the |
int |
Theme_actionOverflowMenuStyle
This symbol is the offset where the |
int |
Theme_activatedBackgroundIndicator
Drawable used as a background for activated items. |
int |
Theme_alertDialogIcon
Icon drawable to use for alerts Must be a reference to another resource, in the form " |
int |
Theme_alertDialogStyle
This symbol is the offset where the |
int |
Theme_alertDialogTheme
Theme to use for alert dialogs spawned from this theme. |
int |
Theme_ambientShadowAlpha
Alpha value of the ambient shadow projected by elevated views, between 0 and 1. |
int |
Theme_autoCompleteTextViewStyle
Default AutoCompleteTextView style. |
int |
Theme_backgroundDimAmount
Default background dim amount when a menu, dialog, or something similar pops up. |
int |
Theme_backgroundDimEnabled
Control whether dimming behind the window is enabled. |
int |
Theme_borderlessButtonStyle
Style for buttons without an explicit border, often used in groups. |
int |
Theme_buttonBarButtonStyle
Style for buttons within button bars Must be a reference to another resource, in the form " |
int |
Theme_buttonBarNegativeButtonStyle
Style for the "negative" buttons within button bars Must be a reference to another resource, in the form " |
int |
Theme_buttonBarNeutralButtonStyle
Style for the "neutral" buttons within button bars Must be a reference to another resource, in the form " |
int |
Theme_buttonBarPositiveButtonStyle
Style for the "positive" buttons within button bars Must be a reference to another resource, in the form " |
int |
Theme_buttonBarStyle
Style for button bars Must be a reference to another resource, in the form " |
int |
Theme_buttonStyle
Normal Button style. |
int |
Theme_buttonStyleInset
Button style to inset into an EditText. |
int |
Theme_buttonStyleSmall
Small Button style. |
int |
Theme_buttonStyleToggle
ToggleButton style. |
int |
Theme_calendarViewStyle
The CalendarView style. |
int |
Theme_candidatesTextStyleSpans
A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. |
int |
Theme_checkBoxPreferenceStyle
Default style for CheckBoxPreference. |
int |
Theme_checkboxStyle
Default Checkbox style. |
int |
Theme_checkedTextViewStyle
Default CheckedTextView style. |
int |
Theme_colorAccent
Bright complement to the primary branding color. |
int |
Theme_colorActivatedHighlight
Default highlight color for items that are activated. |
int |
Theme_colorBackground
Default color of background imagery, ex. |
int |
Theme_colorBackgroundCacheHint
This is a hint for a solid color that can be used for caching rendered views. |
int |
Theme_colorBackgroundFloating
Default color of background imagery for floating components, ex. |
int |
Theme_colorButtonNormal
The color applied to framework buttons in their normal state. |
int |
Theme_colorControlActivated
The color applied to framework controls in their activated (ex. |
int |
Theme_colorControlHighlight
The color applied to framework control highlights (ex. |
int |
Theme_colorControlNormal
The color applied to framework controls in their normal state. |
int |
Theme_colorEdgeEffect
The color applied to the edge effect on scrolling containers. |
int |
Theme_colorFocusedHighlight
Default highlight color for items that are focused. |
int |
Theme_colorForeground
Default color of foreground imagery. |
int |
Theme_colorForegroundInverse
Default color of foreground imagery on an inverted background. |
int |
Theme_colorLongPressedHighlight
Default highlight color for items that are long-pressed. |
int |
Theme_colorMultiSelectHighlight
Default highlight color for items in multiple selection mode. |
int |
Theme_colorPressedHighlight
Default highlight color for items that are pressed. |
int |
Theme_colorPrimary
The primary branding color for the app. |
int |
Theme_colorPrimaryDark
Dark variant of the primary branding color. |
int |
Theme_colorSecondary
The secondary branding color for the app. |
int |
Theme_contextPopupMenuStyle
Default context menu PopupMenu style. |
int |
Theme_datePickerDialogTheme
The DatePicker dialog theme. |
int |
Theme_datePickerStyle
The DatePicker style. |
int |
Theme_detailsElementBackground
Background that can be used behind parts of a UI that provide details on data the user is selecting. |
int |
Theme_dialogPreferenceStyle
Default style for DialogPreference. |
int |
Theme_dialogPreferredPadding
Preferred padding for dialog content. |
int |
Theme_dialogTheme
Theme to use for dialogs spawned from this theme. |
int |
Theme_disabledAlpha
Default disabled alpha for widgets that set enabled/disabled alpha programmatically. |
int |
Theme_dividerHorizontal
Drawable to use for generic horizontal dividers. |
int |
Theme_dividerVertical
Drawable to use for generic vertical dividers. |
int |
Theme_dropDownHintAppearance
Default style for drop down hints. |
int |
Theme_dropDownItemStyle
Default style for drop down items. |
int |
Theme_dropDownListViewStyle
Default ListView style for drop downs. |
int |
Theme_dropDownSpinnerStyle
Default dropdown Spinner style. |
int |
Theme_editTextBackground
EditText background drawable. |
int |
Theme_editTextColor
EditText text foreground color. |
int |
Theme_editTextPreferenceStyle
Default style for EditTextPreference. |
int |
Theme_editTextStyle
Default EditText style. |
int |
Theme_expandableListPreferredChildIndicatorLeft
The preferred left bound for an expandable list child's indicator. |
int |
Theme_expandableListPreferredChildIndicatorRight
The preferred right bound for an expandable list child's indicator. |
int |
Theme_expandableListPreferredChildPaddingLeft
The preferred left padding for an expandable list item that is a child. |
int |
Theme_expandableListPreferredItemIndicatorLeft
The preferred left bound for an expandable list item's indicator. |
int |
Theme_expandableListPreferredItemIndicatorRight
The preferred right bound for an expandable list item's indicator. |
int |
Theme_expandableListPreferredItemPaddingLeft
The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). |
int |
Theme_expandableListViewStyle
Default ExpandableListView style. |
int |
Theme_expandableListViewWhiteStyle
ExpandableListView with white background. |
int |
Theme_fastScrollOverlayPosition
Position of the fast scroll index overlay window. |
int |
Theme_fastScrollPreviewBackgroundLeft
Drawable to use as the fast scroll index preview window background when shown on the left. |
int |
Theme_fastScrollPreviewBackgroundRight
Drawable to use as the fast scroll index preview window background when shown on the right. |
int |
Theme_fastScrollTextColor
Text color for the fast scroll index overlay. |
int |
Theme_fastScrollThumbDrawable
Drawable to use as the fast scroll thumb. |
int |
Theme_fastScrollTrackDrawable
Drawable to use as the track for the fast scroll thumb. |
int |
Theme_fingerprintAuthDrawable
Icon that should be used to indicate that an app is waiting for a fingerprint scan. |
int |
Theme_galleryItemBackground
The preferred background for gallery items. |
int |
Theme_galleryStyle
Default Gallery style. |
int |
Theme_gridViewStyle
Default GridView style. |
int |
Theme_homeAsUpIndicator
Specifies a drawable to use for the 'home as up' indicator. |
int |
Theme_horizontalScrollViewStyle
Default HorizontalScrollView style. |
int |
Theme_imageButtonStyle
The style resource to use for an ImageButton. |
int |
Theme_imageWellStyle
The style resource to use for an ImageButton that is an image well. |
int |
Theme_listChoiceBackgroundIndicator
Drawable used as a background for selected list items. |
int |
Theme_listChoiceIndicatorMultiple
Drawable to use for multiple choice indicators. |
int |
Theme_listChoiceIndicatorSingle
Drawable to use for single choice indicators. |
int |
Theme_listDivider
The drawable for the list divider. |
int |
Theme_listDividerAlertDialog
The list divider used in alert dialogs. |
int |
Theme_listMenuViewStyle
Default menu-style ListView style. |
int |
Theme_listPopupWindowStyle
Default ListPopupWindow style. |
int |
Theme_listPreferredItemHeight
The preferred list item height. |
int |
Theme_listPreferredItemHeightLarge
A larger, more robust list item height. |
int |
Theme_listPreferredItemHeightSmall
A smaller, sleeker list item height. |
int |
Theme_listPreferredItemPaddingEnd
The preferred padding along the end edge of list items. |
int |
Theme_listPreferredItemPaddingLeft
The preferred padding along the left edge of list items. |
int |
Theme_listPreferredItemPaddingRight
The preferred padding along the right edge of list items. |
int |
Theme_listPreferredItemPaddingStart
The preferred padding along the start edge of list items. |
int |
Theme_listSeparatorTextViewStyle
TextView style for list separators. |
int |
Theme_listViewStyle
Default ListView style. |
int |
Theme_listViewWhiteStyle
ListView with white background. |
int |
Theme_mapViewStyle
Default MapView style. |
int |
Theme_mediaRouteButtonStyle
Default style for the MediaRouteButton widget. |
int |
Theme_numberPickerStyle
NumberPicker style. |
int |
Theme_panelBackground
The background of a panel when it is inset from the left and right edges of the screen. |
int |
Theme_panelColorBackground
Color that matches (as closely as possible) the panel background. |
int |
Theme_panelColorForeground
Default color of foreground panel imagery. |
int |
Theme_panelFullBackground
The background of a panel when it extends to the left and right edges of the screen. |
int |
Theme_panelTextAppearance
Default appearance of panel text. |
int |
Theme_popupMenuStyle
Default PopupMenu style. |
int |
Theme_popupWindowStyle
Default PopupWindow style. |
int |
Theme_preferenceCategoryStyle
Default style for PreferenceCategory. |
int |
Theme_preferenceFragmentStyle
Default style for Headers pane in PreferenceActivity. |
int |
Theme_preferenceInformationStyle
Default style for informational Preference. |
int |
Theme_preferenceLayoutChild
The preference layout that has the child/tabbed effect. |
int |
Theme_preferenceScreenStyle
Default style for PreferenceScreen. |
int |
Theme_preferenceStyle
Default style for Preference. |
int |
Theme_presentationTheme
Theme to use for presentations spawned from this theme. |
int |
Theme_progressBarStyle
Default ProgressBar style. |
int |
Theme_progressBarStyleHorizontal
Horizontal ProgressBar style. |
int |
Theme_progressBarStyleInverse
Inverse ProgressBar style. |
int |
Theme_progressBarStyleLarge
Large ProgressBar style. |
int |
Theme_progressBarStyleLargeInverse
Large inverse ProgressBar style. |
int |
Theme_progressBarStyleSmall
Small ProgressBar style. |
int |
Theme_progressBarStyleSmallInverse
Small inverse ProgressBar style. |
int |
Theme_progressBarStyleSmallTitle
Small ProgressBar in title style. |
int |
Theme_quickContactBadgeStyleSmallWindowLarge
Default quickcontact badge style with large quickcontact window. |
int |
Theme_quickContactBadgeStyleSmallWindowMedium
Default quickcontact badge style with medium quickcontact window. |
int |
Theme_quickContactBadgeStyleSmallWindowSmall
Default quickcontact badge style with small quickcontact window. |
int |
Theme_quickContactBadgeStyleWindowLarge
Default quickcontact badge style with large quickcontact window. |
int |
Theme_quickContactBadgeStyleWindowMedium
Default quickcontact badge style with medium quickcontact window. |
int |
Theme_quickContactBadgeStyleWindowSmall
Default quickcontact badge style with small quickcontact window. |
int |
Theme_radioButtonStyle
Default RadioButton style. |
int |
Theme_ratingBarStyle
Default RatingBar style. |
int |
Theme_ratingBarStyleIndicator
Indicator RatingBar style. |
int |
Theme_ratingBarStyleSmall
Small indicator RatingBar style. |
int |
Theme_ringtonePreferenceStyle
Default style for RingtonePreference. |
int |
Theme_scrollViewStyle
Default ScrollView style. |
int |
Theme_searchViewStyle
Style for the search query widget. |
int |
Theme_seekBarStyle
Default SeekBar style. |
int |
Theme_segmentedButtonStyle
Style for segmented buttons - a container that houses several buttons with the appearance of a singel button broken into segments. |
int |
Theme_selectableItemBackground
Background drawable for bordered standalone items that need focus/pressed states. |
int |
Theme_selectableItemBackgroundBorderless
Background drawable for borderless standalone items that need focus/pressed states. |
int |
Theme_spinnerDropDownItemStyle
Default style for spinner drop down items. |
int |
Theme_spinnerItemStyle
Default spinner item style. |
int |
Theme_spinnerStyle
Default Spinner style. |
int |
Theme_spotShadowAlpha
Alpha value of the spot shadow projected by elevated views, between 0 and 1. |
int |
Theme_stackViewStyle
Default StackView style. |
int |
Theme_starStyle
Default Star style. |
int |
Theme_switchPreferenceStyle
Default style for switch preferences. |
int |
Theme_switchStyle
Default style for the Switch widget. |
int |
Theme_tabWidgetStyle
Default TabWidget style. |
int |
Theme_textAppearance
Default appearance of text: color, typeface, size, and style. |
int |
Theme_textAppearanceButton
Text color, typeface, size, and style for the text inside of a button. |
int |
Theme_textAppearanceInverse
Default appearance of text against an inverted background: color, typeface, size, and style. |
int |
Theme_textAppearanceLarge
Text color, typeface, size, and style for "large" text. |
int |
Theme_textAppearanceLargeInverse
Text color, typeface, size, and style for "large" inverse text. |
int |
Theme_textAppearanceLargePopupMenu
Text color, typeface, size, and style for the text inside of a popup menu. |
int |
Theme_textAppearanceListItem
The preferred TextAppearance for the primary text of list items. |
int |
Theme_textAppearanceListItemSecondary
The preferred TextAppearance for the secondary text of list items. |
int |
Theme_textAppearanceListItemSmall
The preferred TextAppearance for the primary text of small list items. |
int |
Theme_textAppearanceMedium
Text color, typeface, size, and style for "medium" text. |
int |
Theme_textAppearanceMediumInverse
Text color, typeface, size, and style for "medium" inverse text. |
int |
Theme_textAppearancePopupMenuHeader
Text color, typeface, size, and style for header text inside of a popup menu. |
int |
Theme_textAppearanceSearchResultSubtitle
Text color, typeface, size, and style for system search result subtitle. |
int |
Theme_textAppearanceSearchResultTitle
Text color, typeface, size, and style for system search result title. |
int |
Theme_textAppearanceSmall
Text color, typeface, size, and style for "small" text. |
int |
Theme_textAppearanceSmallInverse
Text color, typeface, size, and style for "small" inverse text. |
int |
Theme_textAppearanceSmallPopupMenu
Text color, typeface, size, and style for small text inside of a popup menu. |
int |
Theme_textCheckMark
Drawable to use for check marks. |
int |
Theme_textCheckMarkInverse
This symbol is the offset where the |
int |
Theme_textColorAlertDialogListItem
Color of list item text in alert dialogs. |
int |
Theme_textColorHighlightInverse
Color of highlighted text, when used in a light theme. |
int |
Theme_textColorHintInverse
Inverse hint text color. |
int |
Theme_textColorLinkInverse
Color of link text (URLs), when used in a light theme. |
int |
Theme_textColorPrimary
The most prominent text color. |
int |
Theme_textColorPrimaryDisableOnly
Bright text color. |
int |
Theme_textColorPrimaryInverse
Primary inverse text color, useful for inverted backgrounds. |
int |
Theme_textColorPrimaryInverseDisableOnly
Bright inverse text color. |
int |
Theme_textColorPrimaryInverseNoDisable
Bright inverse text color. |
int |
Theme_textColorPrimaryNoDisable
Bright text color. |
int |
Theme_textColorSecondary
Secondary text color. |
int |
Theme_textColorSecondaryInverse
Secondary inverse text color, useful for inverted backgrounds. |
int |
Theme_textColorSecondaryInverseNoDisable
Dim inverse text color. |
int |
Theme_textColorSecondaryNoDisable
Dim text color. |
int |
Theme_textColorTertiary
Tertiary text color. |
int |
Theme_textColorTertiaryInverse
Tertiary inverse text color, useful for inverted backgrounds. |
int |
Theme_textEditNoPasteWindowLayout
Variation of textEditPasteWindowLayout displayed when the clipboard is empty. |
int |
Theme_textEditPasteWindowLayout
The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field. |
int |
Theme_textEditSideNoPasteWindowLayout
Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. |
int |
Theme_textEditSidePasteWindowLayout
Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top. |
int |
Theme_textEditSuggestionItemLayout
Layout of the TextView item that will populate the suggestion popup window. |
int |
Theme_textSelectHandle
Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text. |
int |
Theme_textSelectHandleLeft
Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region. |
int |
Theme_textSelectHandleRight
Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region. |
int |
Theme_textSelectHandleWindowStyle
Reference to a style that will be used for the window containing a text selection anchor. |
int |
Theme_textSuggestionsWindowStyle
Reference to a style that will be used for the window containing a list of possible text suggestions in an EditText. |
int |
Theme_textViewStyle
Default TextView style. |
int |
Theme_timePickerDialogTheme
The TimePicker dialog theme. |
int |
Theme_timePickerStyle
The TimePicker style. |
int |
Theme_toolbarStyle
Default Toolbar style. |
int |
Theme_webTextViewStyle
Default WebTextView style. |
int |
Theme_webViewStyle
Default WebView style. |
int |
Theme_windowActionBar
Flag indicating whether this window should have an Action Bar in place of the usual title bar. |
int |
Theme_windowActionBarOverlay
Flag indicating whether this window's Action Bar should overlay application content. |
int |
Theme_windowActionModeOverlay
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). |
int |
Theme_windowActivityTransitions
Flag indicating whether this window allows Activity Transitions. |
int |
Theme_windowAllowEnterTransitionOverlap
Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. |
int |
Theme_windowAllowReturnTransitionOverlap
Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. |
int |
Theme_windowAnimationStyle
Reference to a style resource holding
the set of window animations to use, which can be
any of the attributes defined by
|
int |
Theme_windowBackground
Drawable to use as the overall window background. |
int |
Theme_windowBackgroundFallback
Drawable to draw selectively within the inset areas when the windowBackground has been set to null. |
int |
Theme_windowCloseOnTouchOutside
Control whether a container should automatically close itself if the user touches outside of it. |
int |
Theme_windowContentOverlay
This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title. |
int |
Theme_windowContentTransitionManager
Reference to a TransitionManager XML resource defining the desired transitions between different window content. |
int |
Theme_windowContentTransitions
Flag indicating whether this window requests that content changes be performed as scene changes with transitions. |
int |
Theme_windowDisablePreview
Flag allowing you to disable the preview animation for a window. |
int |
Theme_windowEnableSplitTouch
Flag indicating that this window should allow touches to be split across other windows that also support split touch. |
int |
Theme_windowEnterTransition
Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. |
int |
Theme_windowExitTransition
Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity. |
int |
Theme_windowFrame
Drawable to use as a frame around the window. |
int |
Theme_windowFullscreen
Flag indicating whether this window should fill the entire screen. |
int |
Theme_windowIsFloating
Flag indicating whether this is a floating window. |
int |
Theme_windowIsTranslucent
Flag indicating whether this is a translucent window. |
int |
Theme_windowNoDisplay
Flag indicating that this window should not be displayed at all. |
int |
Theme_windowNoTitle
Flag indicating whether there should be no title on this window. |
int |
Theme_windowOverscan
Flag indicating whether this window should extend into overscan region. |
int |
Theme_windowReenterTransition
Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity. |
int |
Theme_windowReturnTransition
Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close. |
int |
Theme_windowSharedElementEnterTransition
Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene. |
int |
Theme_windowSharedElementExitTransition
Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity. |
int |
Theme_windowSharedElementReenterTransition
Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. |
int |
Theme_windowSharedElementReturnTransition
Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. |
int |
Theme_windowSharedElementsUseOverlay
Indicates whether or not shared elements should use an overlay during transitions. |
int |
Theme_windowShowWallpaper
Flag indicating that this window's background should be the user's current wallpaper. |
int |
Theme_windowSoftInputMode
Defines the default soft input state that this window would like when it is displayed. |
int |
Theme_windowSwipeToDismiss
Flag to indicate that a window can be swiped away to be dismissed. |
int |
Theme_windowTitleBackgroundStyle
The style resource to use for a window's title area. |
int |
Theme_windowTitleSize
The style resource to use for a window's title bar height. |
int |
Theme_windowTitleStyle
The style resource to use for a window's title text. |
int |
Theme_windowTransitionBackgroundFadeDuration
The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition. |
int |
Theme_windowTranslucentNavigation
Flag indicating whether this window requests a translucent navigation bar. |
int |
Theme_windowTranslucentStatus
Flag indicating whether this window requests a translucent status bar. |
int |
Theme_yesNoPreferenceStyle
Default style for YesNoPreference. |
int |
TimePicker_amPmBackgroundColor
The background color state list for the AM/PM selectors. |
int |
TimePicker_amPmTextColor
The color for the AM/PM selectors. |
int |
TimePicker_headerAmPmTextAppearance
This constant is deprecated.
Use headerTextColor instead.
Must be a reference to another resource, in the form " This corresponds to the global attribute
resource symbol |
int |
TimePicker_headerBackground
The background for the header containing the currently selected time. |
int |
TimePicker_headerTimeTextAppearance
This constant is deprecated.
Use headerTextColor instead.
Must be a reference to another resource, in the form " This corresponds to the global attribute
resource symbol |
int |
TimePicker_numbersBackgroundColor
The background color for the hours/minutes numbers. |
int |
TimePicker_numbersInnerTextColor
The color for the inner hours numbers used in 24-hour mode. |
int |
TimePicker_numbersSelectorColor
The color for the hours/minutes selector. |
int |
TimePicker_numbersTextColor
The color for the hours/minutes numbers. |
int |
TimePicker_timePickerMode
Defines the look of the widget. |
int |
ToggleButton_disabledAlpha
The alpha to apply to the indicator when disabled. |
int |
ToggleButton_textOff
The text for the button when it is not checked. |
int |
ToggleButton_textOn
The text for the button when it is checked. |
int |
Toolbar_LayoutParams_layout_gravity
Standard gravity constant that a child supplies to its parent. |
int |
Toolbar_buttonGravity
This symbol is the offset where the |
int |
Toolbar_collapseContentDescription
Text to set as the content description for the collapse button. |
int |
Toolbar_collapseIcon
Icon drawable to use for the collapse button. |
int |
Toolbar_contentInsetEnd
Minimum inset for content views within a bar. |
int |
Toolbar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. |
int |
Toolbar_contentInsetLeft
Minimum inset for content views within a bar. |
int |
Toolbar_contentInsetRight
Minimum inset for content views within a bar. |
int |
Toolbar_contentInsetStart
Minimum inset for content views within a bar. |
int |
Toolbar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
int |
Toolbar_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
int |
Toolbar_logo
Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button. |
int |
Toolbar_logoDescription
A content description string to describe the appearance of the associated logo image. |
int |
Toolbar_maxButtonHeight
This symbol is the offset where the |
int |
Toolbar_navigationContentDescription
Text to set as the content description for the navigation button located at the start of the toolbar. |
int |
Toolbar_navigationIcon
Icon drawable to use for the navigation button located at the start of the toolbar. |
int |
Toolbar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the toolbar. |
int |
Toolbar_subtitle
Specifies subtitle text used for navigationMode="normal" Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
Toolbar_subtitleTextAppearance
This symbol is the offset where the |
int |
Toolbar_subtitleTextColor
A color to apply to the subtitle string. |
int |
Toolbar_title
The title associated with the item. |
int |
Toolbar_titleMargin
Specifies extra space on the left, start, right and end sides of the toolbar's title. |
int |
Toolbar_titleMarginBottom
Specifies extra space on the bottom side of the toolbar's title. |
int |
Toolbar_titleMarginEnd
Specifies extra space on the end side of the toolbar's title. |
int |
Toolbar_titleMarginStart
Specifies extra space on the start side of the toolbar's title. |
int |
Toolbar_titleMarginTop
Specifies extra space on the top side of the toolbar's title. |
int |
Toolbar_titleTextAppearance
This symbol is the offset where the |
int |
Toolbar_titleTextColor
A color to apply to the title string. |
int |
TransitionManager_fromScene
The originating scene in this scene change. |
int |
TransitionManager_toScene
The destination scene in this scene change. |
int |
TransitionManager_transition
The id of a transition to be used in a particular scene change. |
int |
TransitionSet_transitionOrdering
This symbol is the offset where the |
int |
TransitionTarget_excludeClass
The fully-qualified name of the Class to exclude from this transition. |
int |
TransitionTarget_excludeId
The id of a target to exclude from this transition. |
int |
TransitionTarget_excludeName
The transitionName of the target to exclude from this transition. |
int |
TransitionTarget_targetClass
The fully-qualified name of the Class to include in this transition. |
int |
TransitionTarget_targetId
The id of a target on which this transition will animate changes. |
int |
TransitionTarget_targetName
The transitionName of the target on which this transition will animation changes. |
int |
Transition_duration
Amount of time (in milliseconds) that the transition should run. |
int |
Transition_interpolator
Interpolator to be used in the animations spawned by this transition. |
int |
Transition_matchOrder
The match order to use for the transition. |
int |
Transition_startDelay
Delay in milliseconds before the transition starts. |
int |
TranslateAnimation_fromXDelta
This symbol is the offset where the |
int |
TranslateAnimation_fromYDelta
This symbol is the offset where the |
int |
TranslateAnimation_toXDelta
This symbol is the offset where the |
int |
TranslateAnimation_toYDelta
This symbol is the offset where the |
int |
TvInputService_canRecord
Attribute whether the TV input service can record programs. |
int |
TvInputService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
TvInputService_setupActivity
Component name of an activity that allows the user to set up this service. |
int |
TvInputService_tunerCount
The number of tuners that the TV input service is associated with. |
int |
TwoLineListItem_mode
This symbol is the offset where the |
int |
VectorDrawableClipPath_name
The Name of this path Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
VectorDrawableClipPath_pathData
The specification of the operations that define the path Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
VectorDrawableGroup_name
The name of this group Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
VectorDrawableGroup_pivotX
The X coordinate of the center of rotation of a group May be a floating point value, such as " |
int |
VectorDrawableGroup_pivotY
The Y coordinate of the center of rotation of a group May be a floating point value, such as " |
int |
VectorDrawableGroup_rotation
The amount to rotate the group Must be a floating point value, such as " |
int |
VectorDrawableGroup_scaleX
The amount to scale the group on X coordinate Must be a floating point value, such as " |
int |
VectorDrawableGroup_scaleY
The amount to scale the group on X coordinate Must be a floating point value, such as " |
int |
VectorDrawableGroup_translateX
The amount to translate the group on X coordinate Must be a floating point value, such as " |
int |
VectorDrawableGroup_translateY
The amount to translate the group on Y coordinate Must be a floating point value, such as " |
int |
VectorDrawablePath_fillAlpha
The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque) Must be a floating point value, such as " |
int |
VectorDrawablePath_fillColor
The color to fill the path if not defined implies no fill Must be a color value, in the form of " |
int |
VectorDrawablePath_fillType
sets the fillType for a path. |
int |
VectorDrawablePath_name
The name of this path Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
VectorDrawablePath_pathData
The specification of the operations that define the path Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
VectorDrawablePath_strokeAlpha
The opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque) Must be a floating point value, such as " |
int |
VectorDrawablePath_strokeColor
The color to stroke the path if not defined implies no stroke Must be a color value, in the form of " |
int |
VectorDrawablePath_strokeLineCap
sets the linecap for a stroked path Must be one of the following constant values. |
int |
VectorDrawablePath_strokeLineJoin
sets the lineJoin for a stroked path Must be one of the following constant values. |
int |
VectorDrawablePath_strokeMiterLimit
sets the Miter limit for a stroked path Must be a floating point value, such as " |
int |
VectorDrawablePath_strokeWidth
The width a path stroke Must be a floating point value, such as " |
int |
VectorDrawablePath_trimPathEnd
The fraction of the path to trim from the end from 0 to 1 Must be a floating point value, such as " |
int |
VectorDrawablePath_trimPathOffset
Shift trim region (allows visible region to include the start and end) from 0 to 1 Must be a floating point value, such as " |
int |
VectorDrawablePath_trimPathStart
The fraction of the path to trim from the start from 0 to 1 Must be a floating point value, such as " |
int |
VectorDrawable_alpha
The opacity of the whole vector drawable, as a value between 0 (completely transparent) and 1 (completely opaque). |
int |
VectorDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
VectorDrawable_height
The intrinsic height of the Vector Drawable. |
int |
VectorDrawable_name
The name of this vector drawable Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
int |
VectorDrawable_tint
If set, specifies the color to apply to the drawable as a tint. |
int |
VectorDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. |
int |
VectorDrawable_viewportHeight
The height of the canvas the drawing is on. |
int |
VectorDrawable_viewportWidth
The width of the canvas the drawing is on. |
int |
VectorDrawable_width
The intrinsic width of the Vector Drawable. |
int |
VerticalSlider_Layout_layout_scale
This symbol is the offset where the |
int |
ViewAnimator_animateFirstView
Defines whether to animate the current View when the ViewAnimation is first displayed. |
int |
ViewAnimator_inAnimation
Identifier for the animation to use when a view is shown. |
int |
ViewAnimator_outAnimation
Identifier for the animation to use when a view is hidden. |
int |
ViewDrawableStates_state_accelerated
State value for |
int |
ViewDrawableStates_state_activated
State value for |
int |
ViewDrawableStates_state_drag_can_accept
State for |
int |
ViewDrawableStates_state_drag_hovered
State for |
int |
ViewDrawableStates_state_enabled
State value for |
int |
ViewDrawableStates_state_focused
State value for |
int |
ViewDrawableStates_state_hovered
State value for |
int |
ViewDrawableStates_state_pressed
State value for |
int |
ViewDrawableStates_state_selected
State value for |
int |
ViewDrawableStates_state_window_focused
State value for |
int |
ViewFlipper_autoStart
When true, automatically start animating Must be a boolean value, either " |
int |
ViewFlipper_flipInterval
This symbol is the offset where the |
int |
ViewGroup_Layout_layout_height
Specifies the basic height of the view. |
int |
ViewGroup_Layout_layout_width
Specifies the basic width of the view. |
int |
ViewGroup_MarginLayout_layout_height
Specifies the basic height of the view. |
int |
ViewGroup_MarginLayout_layout_margin
Specifies extra space on the left, top, right and bottom sides of this view. |
int |
ViewGroup_MarginLayout_layout_marginBottom
Specifies extra space on the bottom side of this view. |
int |
ViewGroup_MarginLayout_layout_marginEnd
Specifies extra space on the end side of this view. |
int |
ViewGroup_MarginLayout_layout_marginLeft
Specifies extra space on the left side of this view. |
int |
ViewGroup_MarginLayout_layout_marginRight
Specifies extra space on the right side of this view. |
int |
ViewGroup_MarginLayout_layout_marginStart
Specifies extra space on the start side of this view. |
int |
ViewGroup_MarginLayout_layout_marginTop
Specifies extra space on the top side of this view. |
int |
ViewGroup_MarginLayout_layout_width
Specifies the basic width of the view. |
int |
ViewGroup_addStatesFromChildren
Sets whether this ViewGroup's drawable states also include its children's drawable states. |
int |
ViewGroup_alwaysDrawnWithCache
Defines whether the ViewGroup should always draw its children using their drawing cache or not. |
int |
ViewGroup_animateLayoutChanges
Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run. |
int |
ViewGroup_animationCache
Defines whether layout animations should create a drawing cache for their children. |
int |
ViewGroup_clipChildren
Defines whether a child is limited to draw inside of its bounds or not. |
int |
ViewGroup_clipToPadding
Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero. |
int |
ViewGroup_descendantFocusability
Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus. |
int |
ViewGroup_layoutAnimation
Defines the layout animation to use the first time the ViewGroup is laid out. |
int |
ViewGroup_layoutMode
Defines the layout mode of this ViewGroup. |
int |
ViewGroup_persistentDrawingCache
Defines the persistence of the drawing cache. |
int |
ViewGroup_splitMotionEvents
Sets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch. |
int |
ViewGroup_touchscreenBlocksFocus
Set to true if this ViewGroup blocks focus in the presence of a touchscreen. |
int |
ViewGroup_transitionGroup
Sets whether or not this ViewGroup should be treated as a single entity when doing an Activity transition. |
int |
ViewStub_id
Supply an identifier name for this view. |
int |
ViewStub_inflatedId
Overrides the id of the inflated View with this value. |
int |
ViewStub_layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
int |
ViewTag_id
Specifies the key identifying a tag. |
int |
ViewTag_value
Specifies the value with which to tag the view. |
int |
View_accessibilityLiveRegion
Indicates to accessibility services whether the user should be notified when this view changes. |
int |
View_accessibilityTraversalAfter
Sets the id of a view after which this one is visited in accessibility traversal. |
int |
View_accessibilityTraversalBefore
Sets the id of a view before which this one is visited in accessibility traversal. |
int |
View_alpha
alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque). |
int |
View_background
A drawable to use as the background. |
int |
View_backgroundTint
Tint to apply to the background. |
int |
View_backgroundTintMode
Blending mode used to apply the background tint. |
int |
View_clickable
Defines whether this view reacts to click events. |
int |
View_contentDescription
Defines text that briefly describes content of the view. |
int |
View_contextClickable
Defines whether this view reacts to context click events. |
int |
View_drawingCacheQuality
Defines the quality of translucent drawing caches. |
int |
View_duplicateParentState
When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself. |
int |
View_elevation
base z depth of the view Must be a dimension value, which is a floating point number appended with a unit such as " |
int |
View_fadeScrollbars
Defines whether to fade out scrollbars when they are not in use. |
int |
View_fadingEdge
This attribute is deprecated and will be ignored as of
API level 14 ( |
int |
View_fadingEdgeLength
Defines the length of the fading edges. |
int |
View_filterTouchesWhenObscured
Specifies whether to filter touches when the view's window is obscured by another visible window. |
int |
View_fitsSystemWindows
Boolean internal attribute to adjust view layout based on system windows such as the status bar. |
int |
View_focusable
Boolean that controls whether a view can take focus. |
int |
View_focusableInTouchMode
Boolean that controls whether a view can take focus while in touch mode. |
int |
View_forceHasOverlappingRendering
Whether this view has elements that may overlap when drawn. |
int |
View_foreground
Defines the drawable to draw over the content. |
int |
View_foregroundGravity
Defines the gravity to apply to the foreground drawable. |
int |
View_foregroundTint
Tint to apply to the foreground. |
int |
View_foregroundTintMode
Blending mode used to apply the foreground tint. |
int |
View_hapticFeedbackEnabled
Boolean that controls whether a view should have haptic feedback enabled for events such as long presses. |
int |
View_id
Supply an identifier name for this view, to later retrieve it
with |
int |
View_importantForAccessibility
Describes whether or not this view is important for accessibility. |
int |
View_isScrollContainer
Set this if the view will serve as a scrolling container, meaning that it can be resized to shrink its overall window so that there will be space for an input method. |
int |
View_keepScreenOn
Controls whether the view's window should keep the screen on while visible. |
int |
View_labelFor
Specifies the id of a view for which this view serves as a label for accessibility purposes. |
int |
View_layerType
Specifies the type of layer backing this view. |
int |
View_layoutDirection
Defines the direction of layout drawing. |
int |
View_longClickable
Defines whether this view reacts to long click events. |
int |
View_minHeight
Defines the minimum height of the view. |
int |
View_minWidth
Defines the minimum width of the view. |
int |
View_nestedScrollingEnabled
Specifies that this view should permit nested scrolling within a compatible ancestor view. |
int |
View_nextFocusDown
Defines the next view to give focus to when the next focus is
|
int |
View_nextFocusForward
Defines the next view to give focus to when the next focus is
|
int |
View_nextFocusLeft
Defines the next view to give focus to when the next focus is
|
int |
View_nextFocusRight
Defines the next view to give focus to when the next focus is
|
int |
View_nextFocusUp
Defines the next view to give focus to when the next focus is
|
int |
View_onClick
Name of the method in this View's context to invoke when the view is clicked. |
int |
View_outlineProvider
ViewOutlineProvider used to determine the View's Outline. |
int |
View_overScrollMode
Defines over-scrolling behavior. |
int |
View_padding
Sets the padding, in pixels, of all four edges. |
int |
View_paddingBottom
Sets the padding, in pixels, of the bottom edge; see |
int |
View_paddingEnd
Sets the padding, in pixels, of the end edge; see |
int |
View_paddingLeft
Sets the padding, in pixels, of the left edge; see |
int |
View_paddingRight
Sets the padding, in pixels, of the right edge; see |
int |
View_paddingStart
Sets the padding, in pixels, of the start edge; see |
int |
View_paddingTop
Sets the padding, in pixels, of the top edge; see |
int |
View_pointerIcon
This symbol is the offset where the |
int |
View_requiresFadingEdge
Defines which edges should be faded on scrolling. |
int |
View_rotation
rotation of the view, in degrees. |
int |
View_rotationX
rotation of the view around the x axis, in degrees. |
int |
View_rotationY
rotation of the view around the y axis, in degrees. |
int |
View_saveEnabled
If false, no state will be saved for this view when it is being frozen. |
int |
View_scaleX
scale of the view in the x direction. |
int |
View_scaleY
scale of the view in the y direction. |
int |
View_scrollIndicators
Defines which scroll indicators should be displayed when the view can be scrolled. |
int |
View_scrollX
The initial horizontal scroll offset, in pixels. |
int |
View_scrollY
The initial vertical scroll offset, in pixels. |
int |
View_scrollbarAlwaysDrawHorizontalTrack
Defines whether the horizontal scrollbar track should always be drawn. |
int |
View_scrollbarAlwaysDrawVerticalTrack
Defines whether the vertical scrollbar track should always be drawn. |
int |
View_scrollbarDefaultDelayBeforeFade
Defines the delay in milliseconds that a scrollbar waits before fade out. |
int |
View_scrollbarFadeDuration
Defines the delay in milliseconds that a scrollbar takes to fade out. |
int |
View_scrollbarSize
Sets the width of vertical scrollbars and height of horizontal scrollbars. |
int |
View_scrollbarStyle
Controls the scrollbar style and position. |
int |
View_scrollbarThumbHorizontal
Defines the horizontal scrollbar thumb drawable. |
int |
View_scrollbarThumbVertical
Defines the vertical scrollbar thumb drawable. |
int |
View_scrollbarTrackHorizontal
Defines the horizontal scrollbar track drawable. |
int |
View_scrollbarTrackVertical
Defines the vertical scrollbar track drawable. |
int |
View_scrollbars
Defines which scrollbars should be displayed on scrolling or not. |
int |
View_soundEffectsEnabled
Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching. |
int |
View_stateListAnimator
Sets the state-based animator for the View. |
int |
View_tag
Supply a tag for this view containing a String, to be retrieved
later with |
int |
View_textAlignment
Defines the alignment of the text. |
int |
View_textDirection
Defines the direction of the text. |
int |
View_theme
Specifies a theme override for a view. |
int |
View_transformPivotX
x location of the pivot point around which the view will rotate and scale. |
int |
View_transformPivotY
y location of the pivot point around which the view will rotate and scale. |
int |
View_transitionName
Names a View such that it can be identified for Transitions. |
int |
View_translationX
translation in x of the view. |
int |
View_translationY
translation in y of the view. |
int |
View_translationZ
translation in z of the view. |
int |
View_verticalScrollbarPosition
Determines which side the vertical scroll bar should be placed on. |
int |
View_visibility
Controls the initial visibility of the view. |
int |
VisibilityTransition_transitionVisibilityMode
Changes whether the transition supports appearing and/or disappearing Views. |
int |
VoiceInteractionService_recognitionService
The service that provides voice recognition. |
int |
VoiceInteractionService_sessionService
The service that hosts active voice interaction sessions. |
int |
VoiceInteractionService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
VoiceInteractionService_supportsAssist
Flag indicating whether this voice interaction service is capable of handling the assist action. |
int |
VoiceInteractionService_supportsLaunchVoiceAssistFromKeyguard
Flag indicating whether this voice interaction service is capable of being launched from the keyguard. |
int |
VoiceInteractionService_supportsLocalInteraction
Flag indicating whether this voice interaction service can handle local voice interaction requests from an Activity. |
int |
VolumePreference_streamType
Different audio stream types. |
int |
WallpaperPreviewInfo_staticWallpaperPreview
A resource id of a static drawable. |
int |
Wallpaper_author
Name of the author and/or source/collection of this component, e.g. |
int |
Wallpaper_contextDescription
Title of the uri that specifies a link for further context of this wallpaper, e.g. |
int |
Wallpaper_contextUri
Uri that specifies a link for further context of this wallpaper, e.g. |
int |
Wallpaper_description
Short description of the component's purpose or behavior. |
int |
Wallpaper_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. |
int |
Wallpaper_showMetadataInPreview
Whether to show any metadata when previewing the wallpaper. |
int |
Wallpaper_thumbnail
Reference to the wallpaper's thumbnail bitmap. |
int |
WindowAnimation_activityCloseEnterAnimation
When closing the current activity, this is the animation that is run on the next activity (which is entering the screen). |
int |
WindowAnimation_activityCloseExitAnimation
When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen). |
int |
WindowAnimation_activityOpenEnterAnimation
When opening a new activity, this is the animation that is run on the next activity (which is entering the screen). |
int |
WindowAnimation_activityOpenExitAnimation
When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen). |
int |
WindowAnimation_launchTaskBehindSourceAnimation
When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the old task (which is already on the screen and then stays on). |
int |
WindowAnimation_launchTaskBehindTargetAnimation
When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the new task (which is entering the screen and then leaving). |
int |
WindowAnimation_taskCloseEnterAnimation
When closing the last activity of a task, this is the animation that is run on the activity of the next task (which is entering the screen). |
int |
WindowAnimation_taskCloseExitAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen). |
int |
WindowAnimation_taskOpenEnterAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the new task (which is entering the screen). |
int |
WindowAnimation_taskOpenExitAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen). |
int |
WindowAnimation_taskToBackEnterAnimation
When sending the current task to the background, this is the animation that is run on the top activity of the task behind it (which is entering the screen). |
int |
WindowAnimation_taskToBackExitAnimation
When sending the current task to the background, this is the animation that is run on the top activity of the current task (which is exiting the screen). |
int |
WindowAnimation_taskToFrontEnterAnimation
When bringing an existing task to the foreground, this is the animation that is run on the top activity of the task being brought to the foreground (which is entering the screen). |
int |
WindowAnimation_taskToFrontExitAnimation
When bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen). |
int |
WindowAnimation_wallpaperCloseEnterAnimation
When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the new activity (which is entering the screen). |
int |
WindowAnimation_wallpaperCloseExitAnimation
When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the old wallpaper activity (which is exiting the screen). |
int |
WindowAnimation_wallpaperIntraCloseEnterAnimation
When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the previous activity (which is entering the screen). |
int |
WindowAnimation_wallpaperIntraCloseExitAnimation
When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
int |
WindowAnimation_wallpaperIntraOpenEnterAnimation
When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the new activity (which is entering the screen). |
int |
WindowAnimation_wallpaperIntraOpenExitAnimation
When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
int |
WindowAnimation_wallpaperOpenEnterAnimation
When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the new wallpaper activity (which is entering the screen). |
int |
WindowAnimation_wallpaperOpenExitAnimation
When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
int |
WindowAnimation_windowEnterAnimation
The animation used when a window is being added. |
int |
WindowAnimation_windowExitAnimation
The animation used when a window is being removed. |
int |
WindowAnimation_windowHideAnimation
The animation used when a window is going from VISIBLE to INVISIBLE. |
int |
WindowAnimation_windowShowAnimation
The animation used when a window is going from INVISIBLE to VISIBLE. |
int |
Window_backgroundDimAmount
Default background dim amount when a menu, dialog, or something similar pops up. |
int |
Window_backgroundDimEnabled
Control whether dimming behind the window is enabled. |
int |
Window_navigationBarColor
The color for the navigation bar. |
int |
Window_statusBarColor
The color for the status bar. |
int |
Window_textColor
Color of text (usually same as colorForeground). |
int |
Window_windowActionBar
Flag indicating whether this window should have an Action Bar in place of the usual title bar. |
int |
Window_windowActionBarOverlay
Flag indicating whether this window's Action Bar should overlay application content. |
int |
Window_windowActionModeOverlay
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). |
int |
Window_windowActivityTransitions
Flag indicating whether this window allows Activity Transitions. |
int |
Window_windowAllowEnterTransitionOverlap
Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. |
int |
Window_windowAllowReturnTransitionOverlap
Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. |
int |
Window_windowAnimationStyle
Reference to a style resource holding
the set of window animations to use, which can be
any of the attributes defined by
|
int |
Window_windowBackground
Drawable to use as the overall window background. |
int |
Window_windowBackgroundFallback
Drawable to draw selectively within the inset areas when the windowBackground has been set to null. |
int |
Window_windowClipToOutline
Whether to clip window content to the outline of the window background. |
int |
Window_windowCloseOnTouchOutside
Control whether a container should automatically close itself if the user touches outside of it. |
int |
Window_windowContentOverlay
This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title. |
int |
Window_windowContentTransitionManager
Reference to a TransitionManager XML resource defining the desired transitions between different window content. |
int |
Window_windowContentTransitions
Flag indicating whether this window requests that content changes be performed as scene changes with transitions. |
int |
Window_windowDisablePreview
Flag allowing you to disable the preview animation for a window. |
int |
Window_windowDrawsSystemBarBackgrounds
Flag indicating whether this Window is responsible for drawing the background for the system bars. |
int |
Window_windowElevation
Elevation to use for the window. |
int |
Window_windowEnableSplitTouch
Flag indicating that this window should allow touches to be split across other windows that also support split touch. |
int |
Window_windowEnterTransition
Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. |
int |
Window_windowExitTransition
Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity. |
int |
Window_windowFrame
Drawable to use as a frame around the window. |
int |
Window_windowFullscreen
Flag indicating whether this window should fill the entire screen. |
int |
Window_windowIsFloating
Flag indicating whether this is a floating window. |
int |
Window_windowIsTranslucent
Flag indicating whether this is a translucent window. |
int |
Window_windowLightStatusBar
If set, the status bar will be drawn such that it is compatible with a light status bar background. |
int |
Window_windowMinWidthMajor
The minimum width the window is allowed to be, along the major axis of the screen. |
int |
Window_windowMinWidthMinor
The minimum width the window is allowed to be, along the minor axis of the screen. |
int |
Window_windowNoDisplay
Flag indicating that this window should not be displayed at all. |
int |
Window_windowNoTitle
Flag indicating whether there should be no title on this window. |
int |
Window_windowOverscan
Flag indicating whether this window should extend into overscan region. |
int |
Window_windowReenterTransition
Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity. |
int |
Window_windowReturnTransition
Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close. |
int |
Window_windowSharedElementEnterTransition
Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene. |
int |
Window_windowSharedElementExitTransition
Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity. |
int |
Window_windowSharedElementReenterTransition
Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. |
int |
Window_windowSharedElementReturnTransition
Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. |
int |
Window_windowSharedElementsUseOverlay
Indicates whether or not shared elements should use an overlay during transitions. |
int |
Window_windowShowWallpaper
Flag indicating that this window's background should be the user's current wallpaper. |
int |
Window_windowSoftInputMode
Defines the default soft input state that this window would like when it is displayed. |
int |
Window_windowSwipeToDismiss
Flag to indicate that a window can be swiped away to be dismissed. |
int |
Window_windowTransitionBackgroundFadeDuration
The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition. |
int |
Window_windowTranslucentNavigation
Flag indicating whether this window requests a translucent navigation bar. |
int |
Window_windowTranslucentStatus
Flag indicating whether this window requests a translucent status bar. |
Fields | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public
static
final
int[] |
AbsListView
Attributes that can be used with a AbsListView. |
||||||||||||
public
static
final
int[] |
AbsSpinner
Attributes that can be used with a AbsSpinner. |
||||||||||||
public
static
final
int[] |
AbsoluteLayout_Layout
Attributes that can be used with a AbsoluteLayout_Layout. |
||||||||||||
public
static
final
int[] |
AccelerateInterpolator
Attributes that can be used with a AccelerateInterpolator. |
||||||||||||
public
static
final
int[] |
AccessibilityService
Use |
||||||||||||
public
static
final
int[] |
AccountAuthenticator
Use |
||||||||||||
public
static
final
int[] |
ActionBar
Attributes used to style the Action Bar. |
||||||||||||
public
static
final
int[] |
ActionBar_LayoutParams
Attributes that can be used with a ActionBar_LayoutParams. |
||||||||||||
public
static
final
int[] |
ActionMenuItemView
Attributes that can be used with a ActionMenuItemView. |
||||||||||||
public
static
final
int[] |
ActionMode
Attributes that can be used with a ActionMode. |
||||||||||||
public
static
final
int[] |
ActivityChooserView
Attrbitutes for a ActvityChooserView. |
||||||||||||
public
static
final
int[] |
AdapterViewAnimator
Attributes that can be used with a AdapterViewAnimator. |
||||||||||||
public
static
final
int[] |
AdapterViewFlipper
Attributes that can be used with a AdapterViewFlipper. |
||||||||||||
public
static
final
int[] |
AidFilter
Specify one or more |
||||||||||||
public
static
final
int[] |
AidGroup
Specify one or more |
||||||||||||
public
static
final
int[] |
AidPrefixFilter
Specify one or more |
||||||||||||
public
static
final
int[] |
AlertDialog
The set of attributes that describe a AlertDialog's theme. |
||||||||||||
public
static
final
int[] |
AlphaAnimation
Attributes that can be used with a AlphaAnimation. |
||||||||||||
public
static
final
int[] |
AnalogClock
Attributes that can be used with a AnalogClock. |
||||||||||||
public
static
final
int[] |
AndroidManifest
The |
||||||||||||
public
static
final
int[] |
AndroidManifestAction
Attributes that can be supplied in an AndroidManifest.xml
|
||||||||||||
public
static
final
int[] |
AndroidManifestActivity
The |
||||||||||||
public
static
final
int[] |
AndroidManifestActivityAlias
The |
||||||||||||
public
static
final
int[] |
AndroidManifestApplication
The |
||||||||||||
public
static
final
int[] |
AndroidManifestCategory
Attributes that can be supplied in an AndroidManifest.xml
|
||||||||||||
public
static
final
int[] |
AndroidManifestCompatibleScreensScreen
Attributes that can be supplied in an AndroidManifest.xml
|
||||||||||||
public
static
final
int[] |
AndroidManifestData
Attributes that can be supplied in an AndroidManifest.xml
|
||||||||||||
public
static
final
int[] |
AndroidManifestFeatureGroup
The |
||||||||||||
public
static
final
int[] |
AndroidManifestGrantUriPermission
Attributes that can be supplied in an AndroidManifest.xml
|
||||||||||||
public
static
final
int[] |
AndroidManifestInstrumentation
Attributes that can be supplied in an AndroidManifest.xml
|
||||||||||||
public
static
final
int[] |
AndroidManifestIntentFilter
The |
||||||||||||
public
static
final
int[] |
AndroidManifestKeySet
Attributes that can be used with a AndroidManifestKeySet. |
||||||||||||
public
static
final
int[] |
AndroidManifestLayout
|
||||||||||||
public
static
final
int[] |
AndroidManifestLibrary
The |
||||||||||||
public
static
final
int[] |
AndroidManifestMetaData
The |
||||||||||||
public
static
final
int[] |
AndroidManifestOriginalPackage
Private tag to declare the original package name that this package is based on. |
||||||||||||
public
static
final
int[] |
AndroidManifestPackageVerifier
Attributes relating to a package verifier. |
||||||||||||
public
static
final
int[] |
AndroidManifestPathPermission
Attributes that can be supplied in an AndroidManifest.xml
|
||||||||||||
public
static
final
int[] |
AndroidManifestPermission
The |
||||||||||||
public
static
final
int[] |
AndroidManifestPermissionGroup
The |
||||||||||||
public
static
final
int[] |
AndroidManifestPermissionTree
The |
||||||||||||
public
static
final
int[] |
AndroidManifestProtectedBroadcast
Private tag to declare system protected broadcast actions. |
||||||||||||
public
static
final
int[] |
AndroidManifestProvider
The |
||||||||||||
public
static
final
int[] |
AndroidManifestPublicKey
Attributes that can be used with a AndroidManifestPublicKey. |
||||||||||||
public
static
final
int[] |
AndroidManifestReceiver
The |
||||||||||||
public
static
final
int[] |
AndroidManifestResourceOverlay
Attributes relating to resource overlay packages. |
||||||||||||
public
static
final
int[] |
AndroidManifestService
The |
||||||||||||
public
static
final
int[] |
AndroidManifestSupportsInputInputType
The |
||||||||||||
public
static
final
int[] |
AndroidManifestSupportsScreens
The |
||||||||||||
public
static
final
int[] |
AndroidManifestUpgradeKeySet
Associate declared KeySets with upgrading capability. |
||||||||||||
public
static
final
int[] |
AndroidManifestUsesConfiguration
This field is deprecated.
Use Includes the following attributes: |
||||||||||||
public
static
final
int[] |
AndroidManifestUsesFeature
The |
||||||||||||
public
static
final
int[] |
AndroidManifestUsesLibrary
The |
||||||||||||
public
static
final
int[] |
AndroidManifestUsesPermission
The |
||||||||||||
public
static
final
int[] |
AndroidManifestUsesSdk
The |
||||||||||||
public
static
final
int[] |
AnimatedRotateDrawable
Attributes that can be used with a AnimatedRotateDrawable. |
||||||||||||
public
static
final
int[] |
AnimatedStateListDrawable
Drawable used to render several states with animated transitions. |
||||||||||||
public
static
final
int[] |
AnimatedStateListDrawableItem
Transition used to animate between states with keyframe IDs. |
||||||||||||
public
static
final
int[] |
AnimatedStateListDrawableTransition
Transition used to animate between states with keyframe IDs. |
||||||||||||
public
static
final
int[] |
AnimatedVectorDrawable
Define the AnimatedVectorDrawable. |
||||||||||||
public
static
final
int[] |
AnimatedVectorDrawableTarget
Defines the target used in the AnimatedVectorDrawable. |
||||||||||||
public
static
final
int[] |
Animation
Attributes that can be used with a Animation. |
||||||||||||
public
static
final
int[] |
AnimationDrawable
Drawable used to render several animated frames. |
||||||||||||
public
static
final
int[] |
AnimationDrawableItem
Represents a single frame inside an AnimationDrawable. |
||||||||||||
public
static
final
int[] |
AnimationSet
Attributes that can be used with a AnimationSet. |
||||||||||||
public
static
final
int[] |
Animator
Attributes that can be used with a Animator. |
||||||||||||
public
static
final
int[] |
AnimatorSet
Attributes that can be used with a AnimatorSet. |
||||||||||||
public
static
final
int[] |
AnticipateInterpolator
Attributes that can be used with a AnticipateInterpolator. |
||||||||||||
public
static
final
int[] |
AnticipateOvershootInterpolator
Attributes that can be used with a AnticipateOvershootInterpolator. |
||||||||||||
public
static
final
int[] |
AppWidgetProviderInfo
Use |
||||||||||||
public
static
final
int[] |
ArcMotion
Use |
||||||||||||
public
static
final
int[] |
AutoCompleteTextView
Attributes that can be used with a AutoCompleteTextView. |
||||||||||||
public
static
final
int[] |
BitmapDrawable
Drawable used to draw bitmaps. |
||||||||||||
public
static
final
int[] |
Button
Attributes that can be used with a Button. |
||||||||||||
public
static
final
int[] |
CalendarView
Attributes that can be used with a CalendarView. |
||||||||||||
public
static
final
int[] |
ChangeBounds
Use |
||||||||||||
public
static
final
int[] |
ChangeTransform
Use |
||||||||||||
public
static
final
int[] |
CheckBoxPreference
Base attributes available to CheckBoxPreference. |
||||||||||||
public
static
final
int[] |
CheckedTextView
Attributes that can be used with a CheckedTextView. |
||||||||||||
public
static
final
int[] |
Chronometer
Attributes that can be used with a Chronometer. |
||||||||||||
public
static
final
int[] |
ClipDrawable
Attributes that can be used with a ClipDrawable. |
||||||||||||
public
static
final
int[] |
ColorDrawable
Drawable used to draw a single color. |
||||||||||||
public
static
final
int[] |
ColorStateListItem
Attributes that can be assigned to a ColorStateList item. |
||||||||||||
public
static
final
int[] |
CompoundButton
Attributes that can be used with a CompoundButton. |
||||||||||||
public
static
final
int[] |
ContactsDataKind
Maps a specific contact data MIME-type to styling information. |
||||||||||||
public
static
final
int[] |
CycleInterpolator
Attributes that can be used with a CycleInterpolator. |
||||||||||||
public
static
final
int[] |
DatePicker
Attributes that can be used with a DatePicker. |
||||||||||||
public
static
final
int[] |
DateTimeView
Attributes that can be used with a DateTimeView. |
||||||||||||
public
static
final
int[] |
DecelerateInterpolator
Attributes that can be used with a DecelerateInterpolator. |
||||||||||||
public
static
final
int[] |
DeviceAdmin
Use |
||||||||||||
public
static
final
int[] |
DialogPreference
Base attributes available to DialogPreference. |
||||||||||||
public
static
final
int[] |
Drawable
Base attributes that are available to all Drawable objects. |
||||||||||||
public
static
final
int[] |
DrawableCorners
Describes the corners for the rectangle shape of a GradientDrawable. |
||||||||||||
public
static
final
int[] |
DrawableStates
Set of framework-provided states that may be specified on a Drawable. |
||||||||||||
public
static
final
int[] |
DrawableWrapper
Drawable class used to wrap other drawables. |
||||||||||||
public
static
final
int[] |
Dream
Use |
||||||||||||
public
static
final
int[] |
EdgeEffect
Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. |
||||||||||||
public
static
final
int[] |
EditText
Attributes that can be used with a EditText. |
||||||||||||
public
static
final
int[] |
ExpandableListChildIndicatorState
State array representing an expandable list child's indicator. |
||||||||||||
public
static
final
int[] |
ExpandableListGroupIndicatorState
State array representing an expandable list group's indicator. |
||||||||||||
public
static
final
int[] |
ExpandableListView
Attributes that can be used with a ExpandableListView. |
||||||||||||
public
static
final
int[] |
Extra
An extra data value to place into a an extra/name value pair held
in a Bundle, as per |
||||||||||||
public
static
final
int[] |
Fade
Use |
||||||||||||
public
static
final
int[] |
FastScroll
Attributes that can be used with a FastScroll. |
||||||||||||
public
static
final
int[] |
Fragment
Attributes that can be used with |
||||||||||||
public
static
final
int[] |
FragmentAnimation
Fragment animation class attributes. |
||||||||||||
public
static
final
int[] |
FragmentBreadCrumbs
Attributes that can be used with |
||||||||||||
public
static
final
int[] |
FrameLayout
Attributes that can be used with a FrameLayout. |
||||||||||||
public
static
final
int[] |
FrameLayout_Layout
Attributes that can be used with a FrameLayout_Layout. |
||||||||||||
public
static
final
int[] |
Gallery
Attributes that can be used with a Gallery. |
||||||||||||
public
static
final
int[] |
GestureOverlayView
GestureOverlayView specific attributes. |
||||||||||||
public
static
final
int[] |
GlowPadView
Attributes that can be used with a GlowPadView. |
||||||||||||
public
static
final
int[] |
GradientColor
Used to describe the gradient for fill or stroke in a path of VectorDrawable. |
||||||||||||
public
static
final
int[] |
GradientColorItem
Describes an item of a GradientColor. |
||||||||||||
public
static
final
int[] |
GradientDrawable
Drawable used to render a geometric shape, with a gradient or a solid color. |
||||||||||||
public
static
final
int[] |
GradientDrawableGradient
Used to describe the gradient used to fill the shape of a GradientDrawable. |
||||||||||||
public
static
final
int[] |
GradientDrawablePadding
Used to specify the optional padding of a GradientDrawable. |
||||||||||||
public
static
final
int[] |
GradientDrawableSize
Used to specify the size of the shape for GradientDrawable. |
||||||||||||
public
static
final
int[] |
GradientDrawableSolid
Used to fill the shape of GradientDrawable with a solid color. |
||||||||||||
public
static
final
int[] |
GradientDrawableStroke
Used to describe the optional stroke of a GradientDrawable. |
||||||||||||
public
static
final
int[] |
GridLayout
Attributes that can be used with a GridLayout. |
||||||||||||
public
static
final
int[] |
GridLayoutAnimation
Attributes that can be used with a GridLayoutAnimation. |
||||||||||||
public
static
final
int[] |
GridLayout_Layout
Attributes that can be used with a GridLayout_Layout. |
||||||||||||
public
static
final
int[] |
GridView
Attributes that can be used with a GridView. |
||||||||||||
public
static
final
int[] |
HorizontalScrollView
Attributes that can be used with a HorizontalScrollView. |
||||||||||||
public
static
final
int[] |
HostApduService
Use |
||||||||||||
public
static
final
int[] |
HostNfcFService
Use |
||||||||||||
public
static
final
int[] |
Icon
Attributes that can be used with a Icon. |
||||||||||||
public
static
final
int[] |
IconDefault
Attributes that can be used with a IconDefault. |
||||||||||||
public
static
final
int[] |
IconMenuView
Attributes that can be used with a IconMenuView. |
||||||||||||
public
static
final
int[] |
ImageSwitcher
Attributes that can be used with a ImageSwitcher. |
||||||||||||
public
static
final
int[] |
ImageView
Attributes that can be used with a ImageView. |
||||||||||||
public
static
final
int[] |
InputExtras
An |
||||||||||||
public
static
final
int[] |
InputMethod
Use |
||||||||||||
public
static
final
int[] |
InputMethodService
Attributes that can be used with a InputMethodService. |
||||||||||||
public
static
final
int[] |
InputMethod_Subtype
This is the subtype of InputMethod. |
||||||||||||
public
static
final
int[] |
InsetDrawable
Drawable used to wrap and inset another drawable. |
||||||||||||
public
static
final
int[] |
Intent
Declaration of an |
||||||||||||
public
static
final
int[] |
IntentCategory
A category to add to an Intent, as per
|
||||||||||||
public
static
final
int[] |
Keyboard
Attributes that can be used with a Keyboard. |
||||||||||||
public
static
final
int[] |
KeyboardLayout
Use |
||||||||||||
public
static
final
int[] |
KeyboardView
Attributes that can be used with a KeyboardView. |
||||||||||||
public
static
final
int[] |
KeyboardViewPreviewState
Attributes that can be used with a KeyboardViewPreviewState. |
||||||||||||
public
static
final
int[] |
Keyboard_Key
Attributes that can be used with a Keyboard_Key. |
||||||||||||
public
static
final
int[] |
Keyboard_Row
Attributes that can be used with a Keyboard_Row. |
||||||||||||
public
static
final
int[] |
Keyframe
Attributes that can be used with a Keyframe. |
||||||||||||
public
static
final
int[] |
KeyguardGlowStripView
Attributes that can be used with a KeyguardGlowStripView. |
||||||||||||
public
static
final
int[] |
LayerDrawable
Drawable used to render several drawables stacked on top of each other. |
||||||||||||
public
static
final
int[] |
LayerDrawableItem
Describes an item (or child) of a LayerDrawable. |
||||||||||||
public
static
final
int[] |
LayoutAnimation
Attributes that can be used with a LayoutAnimation. |
||||||||||||
public
static
final
int[] |
LevelListDrawableItem
Attributes that can be used with a LevelListDrawableItem. |
||||||||||||
public
static
final
int[] |
LinearLayout
Attributes that can be used with a LinearLayout. |
||||||||||||
public
static
final
int[] |
LinearLayout_Layout
Attributes that can be used with a LinearLayout_Layout. |
||||||||||||
public
static
final
int[] |
ListPopupWindow
Attributes that can be used with a ListPopupWindow. |
||||||||||||
public
static
final
int[] |
ListPreference
Base attributes available to ListPreference. |
||||||||||||
public
static
final
int[] |
ListView
Attributes that can be used with a ListView. |
||||||||||||
public
static
final
int[] |
LockPatternView
Attributes that can be used with a LockPatternView. |
||||||||||||
public
static
final
int[] |
MapView
The set of attributes for a MapView. |
||||||||||||
public
static
final
int[] |
MaterialProgressDrawable
Drawable used to render the Material progress indicator. |
||||||||||||
public
static
final
int[] |
MediaRouteButton
Attributes that can be used with a MediaRouteButton. |
||||||||||||
public
static
final
int[] |
Menu
Base attributes that are available to all Menu objects. |
||||||||||||
public
static
final
int[] |
MenuGroup
Base attributes that are available to all groups. |
||||||||||||
public
static
final
int[] |
MenuItem
Base attributes that are available to all Item objects. |
||||||||||||
public
static
final
int[] |
MenuItemCheckedFocusedState
State array representing a menu item that is currently focused and checked. |
||||||||||||
public
static
final
int[] |
MenuItemCheckedState
State array representing a menu item that is currently checked. |
||||||||||||
public
static
final
int[] |
MenuItemUncheckedFocusedState
State array representing a menu item that is focused and checkable but is not currently checked. |
||||||||||||
public
static
final
int[] |
MenuItemUncheckedState
State array representing a menu item that is checkable but is not currently checked. |
||||||||||||
public
static
final
int[] |
MenuView
Attributes that can be used with a MenuView. |
||||||||||||
public
static
final
int[] |
MessagingLinearLayout
Attributes that can be used with a MessagingLinearLayout. |
||||||||||||
public
static
final
int[] |
MultiSelectListPreference
Attributes that can be used with a MultiSelectListPreference. |
||||||||||||
public
static
final
int[] |
Nfcid2Filter
Specify one or more |
||||||||||||
public
static
final
int[] |
NinePatchDrawable
Drawable used to draw 9-patches. |
||||||||||||
public
static
final
int[] |
OffHostApduService
Use |
||||||||||||
public
static
final
int[] |
OvershootInterpolator
Attributes that can be used with a OvershootInterpolator. |
||||||||||||
public
static
final
int[] |
PagedView
PagedView specific attributes. |
||||||||||||
public
static
final
int[] |
PathInterpolator
Attributes that can be used with a PathInterpolator. |
||||||||||||
public
static
final
int[] |
PatternPathMotion
Use |
||||||||||||
public
static
final
int[] |
Pointer
Attributes that can be used with a Pointer. |
||||||||||||
public
static
final
int[] |
PointerIcon
Attributes that can be used with a PointerIcon. |
||||||||||||
public
static
final
int[] |
PopupWindow
Attributes that can be used with a PopupWindow. |
||||||||||||
public
static
final
int[] |
PopupWindowBackgroundState
Attributes that can be used with a PopupWindowBackgroundState. |
||||||||||||
public
static
final
int[] |
Preference
Base attributes available to Preference. |
||||||||||||
public
static
final
int[] |
PreferenceActivity
Base attributes available to PreferenceActivity. |
||||||||||||
public
static
final
int[] |
PreferenceFragment
Base attributes available to PreferenceFragment. |
||||||||||||
public
static
final
int[] |
PreferenceFrameLayout
Attributes that can be used with a PreferenceFrameLayout. |
||||||||||||
public
static
final
int[] |
PreferenceFrameLayout_Layout
Attributes that can be used with a PreferenceFrameLayout_Layout. |
||||||||||||
public
static
final
int[] |
PreferenceGroup
Base attributes available to PreferenceGroup. |
||||||||||||
public
static
final
int[] |
PreferenceHeader
Attribute for a header describing the item shown in the top-level list from which the selects the set of preference to dig in to. |
||||||||||||
public
static
final
int[] |
PreferenceScreen
Base attributes available to PreferenceScreen. |
||||||||||||
public
static
final
int[] |
PrintService
Use |
||||||||||||
public
static
final
int[] |
ProgressBar
This field is deprecated. Not used by the framework. |
||||||||||||
public
static
final
int[] |
PropertyAnimator
Attributes that can be used with a PropertyAnimator. |
||||||||||||
public
static
final
int[] |
PropertyValuesHolder
Attributes that can be used with a PropertyValuesHolder. |
||||||||||||
public
static
final
int[] |
QuickContactBadge
Attributes that can be used with a QuickContactBadge. |
||||||||||||
public
static
final
int[] |
RadioGroup
Attributes that can be used with a RadioGroup. |
||||||||||||
public
static
final
int[] |
RatingBar
Attributes that can be used with a RatingBar. |
||||||||||||
public
static
final
int[] |
RatingDefinition
Attributes that can be used with |
||||||||||||
public
static
final
int[] |
RatingSystemDefinition
Attributes that can be used with |
||||||||||||
public
static
final
int[] |
RecognitionService
Use |
||||||||||||
public
static
final
int[] |
RelativeLayout
Attributes that can be used with a RelativeLayout. |
||||||||||||
public
static
final
int[] |
RelativeLayout_Layout
Attributes that can be used with a RelativeLayout_Layout. |
||||||||||||
public
static
final
int[] |
ResolverDrawerLayout
Attributes that can be used with a ResolverDrawerLayout. |
||||||||||||
public
static
final
int[] |
ResolverDrawerLayout_LayoutParams
Attributes that can be used with a ResolverDrawerLayout_LayoutParams. |
||||||||||||
public
static
final
int[] |
RestrictionEntry
Attributes that can be used with a RestrictionEntry. |
||||||||||||
public
static
final
int[] |
RingtonePreference
Base attributes available to RingtonePreference. |
||||||||||||
public
static
final
int[] |
RippleDrawable
Drawable used to show animated touch feedback. |
||||||||||||
public
static
final
int[] |
RotateAnimation
Attributes that can be used with a RotateAnimation. |
||||||||||||
public
static
final
int[] |
RotateDrawable
Drawable used to rotate another drawable. |
||||||||||||
public
static
final
int[] |
ScaleAnimation
Attributes that can be used with a ScaleAnimation. |
||||||||||||
public
static
final
int[] |
ScaleDrawable
Attributes that can be used with a ScaleDrawable. |
||||||||||||
public
static
final
int[] |
ScrollView
Attributes that can be used with a ScrollView. |
||||||||||||
public
static
final
int[] |
SearchView
Attributes that can be used with a SearchView. |
||||||||||||
public
static
final
int[] |
Searchable
Searchable activities and applications must provide search configuration information in an XML file, typically called searchable.xml. |
||||||||||||
public
static
final
int[] |
SearchableActionKey
In order to process special action keys during search, you must define them using one or more "ActionKey" elements in your Searchable metadata. |
||||||||||||
public
static
final
int[] |
SeekBar
Attributes that can be used with a SeekBar. |
||||||||||||
public
static
final
int[] |
SeekBarPreference
Attributes that can be used with a SeekBarPreference. |
||||||||||||
public
static
final
int[] |
SelectionModeDrawables
Attributes that can be used with a SelectionModeDrawables. |
||||||||||||
public
static
final
int[] |
SettingInjectorService
Use |
||||||||||||
public
static
final
int[] |
ShapeDrawable
Drawable used to draw shapes. |
||||||||||||
public
static
final
int[] |
ShapeDrawablePadding
Defines the padding of a ShapeDrawable. |
||||||||||||
public
static
final
int[] |
Shortcut
Attributes that can be used with a Shortcut. |
||||||||||||
public
static
final
int[] |
ShortcutCategories
Attributes that can be used with a ShortcutCategories. |
||||||||||||
public
static
final
int[] |
Slide
Use |
||||||||||||
public
static
final
int[] |
SlidingDrawer
SlidingDrawer specific attributes. |
||||||||||||
public
static
final
int[] |
SlidingTab
Attributes that can be used with a SlidingTab. |
||||||||||||
public
static
final
int[] |
SpellChecker
Use |
||||||||||||
public
static
final
int[] |
SpellChecker_Subtype
This is the subtype of the spell checker. |
||||||||||||
public
static
final
int[] |
Spinner
Attributes that can be used with a Spinner. |
||||||||||||
public
static
final
int[] |
StackView
Attributes that can be used with a StackView. |
||||||||||||
public
static
final
int[] |
StateListAnimatorItem
Attributes that can be assigned to a StateListAnimator item. |
||||||||||||
public
static
final
int[] |
StateListDrawable
Drawable used to render several states. |
||||||||||||
public
static
final
int[] |
StateListDrawableItem
Represents a single state inside a StateListDrawable. |
||||||||||||
public
static
final
int[] |
Storage
Attributes that can be used with a Storage. |
||||||||||||
public
static
final
int[] |
SuggestionSpan
Attributes that can be used with a SuggestionSpan. |
||||||||||||
public
static
final
int[] |
Switch
Attributes that can be used with a Switch. |
||||||||||||
public
static
final
int[] |
SwitchPreference
Attributes that can be used with a SwitchPreference. |
||||||||||||
public
static
final
int[] |
SyncAdapter
Use |
||||||||||||
public
static
final
int[] |
SystemCodeFilter
Specify one or more |
||||||||||||
public
static
final
int[] |
TabWidget
Attributes that can be used with a TabWidget. |
||||||||||||
public
static
final
int[] |
TableLayout
Attributes that can be used with a TableLayout. |
||||||||||||
public
static
final
int[] |
TableRow
Attributes that can be used with a TableRow. |
||||||||||||
public
static
final
int[] |
TableRow_Cell
Attributes that can be used with a TableRow_Cell. |
||||||||||||
public
static
final
int[] |
TextAppearance
Attributes that can be used with a TextAppearance. |
||||||||||||
public
static
final
int[] |
TextClock
Attributes that can be used with a TextClock. |
||||||||||||
public
static
final
int[] |
TextSwitcher
Attributes that can be used with a TextSwitcher. |
||||||||||||
public
static
final
int[] |
TextToSpeechEngine
Use |
||||||||||||
public
static
final
int[] |
TextView
Attributes that can be used with a TextView. |
||||||||||||
public
static
final
int[] |
TextViewAppearance
Attributes that can be used with a TextViewAppearance. |
||||||||||||
public
static
final
int[] |
TextViewMultiLineBackgroundState
Attributes that can be used with a TextViewMultiLineBackgroundState. |
||||||||||||
public
static
final
int[] |
Theme
These are the standard attributes that make up a complete theme. |
||||||||||||
public
static
final
int[] |
TimePicker
Attributes that can be used with a TimePicker. |
||||||||||||
public
static
final
int[] |
ToggleButton
Attributes that can be used with a ToggleButton. |
||||||||||||
public
static
final
int[] |
Toolbar
Attributes that can be used with a Toolbar. |
||||||||||||
public
static
final
int[] |
Toolbar_LayoutParams
Attributes that can be used with a Toolbar_LayoutParams. |
||||||||||||
public
static
final
int[] |
Transition
Use specific transition subclass names as the root tag of the XML resource that
describes a |
||||||||||||
public
static
final
int[] |
TransitionManager
Use |
||||||||||||
public
static
final
int[] |
TransitionSet
Use |
||||||||||||
public
static
final
int[] |
TransitionTarget
Use |
||||||||||||
public
static
final
int[] |
TranslateAnimation
Attributes that can be used with a TranslateAnimation. |
||||||||||||
public
static
final
int[] |
TvInputService
Use |
||||||||||||
public
static
final
int[] |
TwoLineListItem
Attributes that can be used with a TwoLineListItem. |
||||||||||||
public
static
final
int[] |
VectorDrawable
Drawable used to draw vector paths. |
||||||||||||
public
static
final
int[] |
VectorDrawableClipPath
Defines the clip path used in VectorDrawables. |
||||||||||||
public
static
final
int[] |
VectorDrawableGroup
Defines the group used in VectorDrawables. |
||||||||||||
public
static
final
int[] |
VectorDrawablePath
Defines the path used in VectorDrawables. |
||||||||||||
public
static
final
int[] |
VerticalSlider_Layout
Attributes that can be used with a VerticalSlider_Layout. |
||||||||||||
public
static
final
int[] |
View
Attributes that can be used with |
||||||||||||
public
static
final
int[] |
ViewAnimator
Attributes that can be used with a ViewAnimator. |
||||||||||||
public
static
final
int[] |
ViewDrawableStates
Attributes that can be used with a ViewDrawableStates. |
||||||||||||
public
static
final
int[] |
ViewFlipper
Attributes that can be used with a ViewFlipper. |
||||||||||||
public
static
final
int[] |
ViewGroup
Attributes that can be used with a |
||||||||||||
public
static
final
int[] |
ViewGroup_Layout
This is the basic set of layout attributes that are common to all layout managers. |
||||||||||||
public
static
final
int[] |
ViewGroup_MarginLayout
This is the basic set of layout attributes for layout managers that wish to place margins around their child views. |
||||||||||||
public
static
final
int[] |
ViewStub
A |
||||||||||||
public
static
final
int[] |
ViewSwitcher
Attributes that can be used with a ViewSwitcher. |
||||||||||||
public
static
final
int[] |
ViewTag
Attributes that can be assigned to a tag for a particular View. |
||||||||||||
public
static
final
int[] |
VisibilityTransition
Use with |
||||||||||||
public
static
final
int[] |
VoiceInteractionService
Use |
||||||||||||
public
static
final
int[] |
VoiceInteractionSession
Attributes that can be used with a VoiceInteractionSession. |
||||||||||||
public
static
final
int[] |
VolumePreference
Base attributes available to VolumePreference. |
||||||||||||
public
static
final
int[] |
Wallpaper
Use |
||||||||||||
public
static
final
int[] |
WallpaperPreviewInfo
Use |
||||||||||||
public
static
final
int[] |
Window
The set of attributes that describe a Windows's theme. |
||||||||||||
public
static
final
int[] |
WindowAnimation
Window animation class attributes. |
||||||||||||
Public constructors | |
|---|---|
R.styleable()
|
|
Inherited methods | |
|---|---|
java.lang.Object
| |
Constants
AbsListView_cacheColorHint
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)
AbsListView_choiceMode
int AbsListView_choiceMode
Defines the choice behavior for the view. By default, lists do not have
any choice behavior. By setting the choiceMode to singleChoice, the list
allows up to one item to be in a chosen state. By setting the choiceMode to
multipleChoice, the list allows any number of items to be chosen.
Finally, by setting the choiceMode to multipleChoiceModal the list allows
any number of items to be chosen in a special selection mode.
The application will supply a
AbsListView.MultiChoiceModeListener using
setMultiChoiceModeListener(AbsListView.MultiChoiceModeListener) to control the
selection mode. This uses the ActionMode API.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | Normal list that does not indicate choices. |
singleChoice | 1 | The list allows up to one choice. |
multipleChoice | 2 | The list allows multiple choices. |
multipleChoiceModal | 3 | The list allows multiple choices in a custom selection mode. |
This corresponds to the global attribute
resource symbol choiceMode.
Constant Value: 7 (0x00000007)
AbsListView_drawSelectorOnTop
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)
AbsListView_fastScrollAlwaysVisible
int AbsListView_fastScrollAlwaysVisible
When set to true, the list will always show the fast scroll interface. This setting implies fastScrollEnabled.
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 fastScrollAlwaysVisible.
Constant Value: 10 (0x0000000a)
AbsListView_fastScrollEnabled
int AbsListView_fastScrollEnabled
Enables the fast scroll thumb that can be dragged to quickly scroll through the list.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol fastScrollEnabled.
Constant Value: 8 (0x00000008)
AbsListView_fastScrollStyle
int AbsListView_fastScrollStyle
Specifies the style of the fast scroll decorations.
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 fastScrollStyle.
Constant Value: 11 (0x0000000b)
AbsListView_listSelector
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)
AbsListView_scrollingCache
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)
AbsListView_smoothScrollbar
int AbsListView_smoothScrollbar
When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen. This property is set to true by default but should be set to false if your adapter will display items of varying heights. When this property is set to true and your adapter displays items of varying heights, the scrollbar thumb will change size as the user scrolls through the list. When set to false, the list will use only the number of items in the adapter and the number of items visible on screen to determine the scrollbar's properties.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol smoothScrollbar.
Constant Value: 9 (0x00000009)
AbsListView_stackFromBottom
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)
AbsListView_textFilterEnabled
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)
AbsListView_transcriptMode
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.
| Constant | Value | Description |
|---|---|---|
disabled | 0 | Disables transcript mode. This is the default value. |
normal | 1 | The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen. |
alwaysScroll | 2 | 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)
AbsSpinner_entries
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)
AbsoluteLayout_Layout_layout_x
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 0 (0x00000000)
AbsoluteLayout_Layout_layout_y
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 1 (0x00000001)
AccelerateInterpolator_factor
int AccelerateInterpolator_factor
This is the amount of deceleration to add when easing in.
Must be a floating point value, such as "1.2".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol factor.
Constant Value: 0 (0x00000000)
AccessibilityService_accessibilityEventTypes
int AccessibilityService_accessibilityEventTypes
The event types this serivce would like to receive as specified in
AccessibilityEvent. This setting
can be changed at runtime by calling
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
typeViewClicked | 0x00000001 | Receives TYPE_VIEW_CLICKED events. |
typeViewLongClicked | 0x00000002 | Receives TYPE_VIEW_LONG_CLICKED events. |
typeViewSelected | 0x00000004 | Receives TYPE_VIEW_SELECTED events. |
typeViewFocused | 0x00000008 | Receives TYPE_VIEW_FOCUSED events. |
typeViewTextChanged | 0x00000010 | Receives TYPE_VIEW_TEXT_CHANGED events. |
typeWindowStateChanged | 0x00000020 | Receives TYPE_WINDOW_STATE_CHANGED events. |
typeNotificationStateChanged | 0x00000040 | Receives TYPE_NOTIFICATION_STATE_CHANGED events. |
typeViewHoverEnter | 0x00000080 | Receives TYPE_VIEW_HOVER_ENTER events. |
typeViewHoverExit | 0x00000100 | Receives TYPE_VIEW_HOVER_EXIT events. |
typeTouchExplorationGestureStart | 0x00000200 | Receives TYPE_TOUCH_EXPLORATION_GESTURE_START events. |
typeTouchExplorationGestureEnd | 0x00000400 | Receives TYPE_TOUCH_EXPLORATION_GESTURE_END events. |
typeWindowContentChanged | 0x00000800 | Receives TYPE_WINDOW_CONTENT_CHANGED events. |
typeViewScrolled | 0x000001000 | Receives TYPE_VIEW_SCROLLED events. |
typeViewTextSelectionChanged | 0x000002000 | Receives TYPE_VIEW_TEXT_SELECTION_CHANGED events. |
typeAnnouncement | 0x00004000 | Receives TYPE_ANNOUNCEMENT events. |
typeViewAccessibilityFocused | 0x00008000 | Receives TYPE_VIEW_ACCESSIBILITY_FOCUSED events. |
typeViewAccessibilityFocusCleared | 0x00010000 | Receives TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED events. |
typeViewTextTraversedAtMovementGranularity | 0x00020000 | Receives TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY events. |
typeGestureDetectionStart | 0x00040000 | Receives TYPE_GESTURE_DETECTION_START events. |
typeGestureDetectionEnd | 0x00080000 | Receives TYPE_GESTURE_DETECTION_END events. |
typeTouchInteractionStart | 0x00100000 | Receives TYPE_TOUCH_INTERACTION_START events. |
typeTouchInteractionEnd | 0x00200000 | Receives TYPE_TOUCH_INTERACTION_END events. |
typeWindowsChanged | 0x00400000 | Receives TYPE_WINDOWS_CHANGED events. |
typeContextClicked | 0x00800000 | Receives TYPE_VIEW_CONTEXT_CLICKED events. |
typeAssistReadingContext | 0x01000000 | Receives TYPE_ASSIST_READING_CONTEXT events. |
typeAllMask | 0xffffffff | Receives TYPES_ALL_MASK i.e. all events. |
This corresponds to the global attribute
resource symbol accessibilityEventTypes.
Constant Value: 2 (0x00000002)
AccessibilityService_accessibilityFeedbackType
int AccessibilityService_accessibilityFeedbackType
The feedback types this serivce provides as specified in
AccessibilityServiceInfo. This setting
can be changed at runtime by calling
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
feedbackSpoken | 0x00000001 | Provides FEEDBACK_SPOKEN feedback. |
feedbackHaptic | 0x00000002 | Provides FEEDBACK_HAPTIC feedback. |
feedbackAudible | 0x00000004 | Provides FEEDBACK_AUDIBLE feedback. |
feedbackVisual | 0x00000008 | Provides FEEDBACK_VISUAL feedback. |
feedbackGeneric | 0x00000010 | Provides FEEDBACK_GENERIC feedback. |
feedbackAllMask | 0xffffffff | Provides FEEDBACK_ALL_MASK feedback. |
This corresponds to the global attribute
resource symbol accessibilityFeedbackType.
Constant Value: 4 (0x00000004)
AccessibilityService_accessibilityFlags
int AccessibilityService_accessibilityFlags
Additional flags as specified in
AccessibilityServiceInfo.
This setting can be changed at runtime by calling
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
flagDefault | 0x00000001 | Has flag DEFAULT |
flagIncludeNotImportantViews | 0x00000002 | Has flag FLAG_INCLUDE_NOT_IMPORTANT_VIEWS |
flagRequestTouchExplorationMode | 0x00000004 | Has flag FLAG_REQUEST_TOUCH_EXPLORATION_MODE |
flagRequestEnhancedWebAccessibility | 0x00000008 | Has flag FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY |
flagReportViewIds | 0x00000010 | Has flag FLAG_REPORT_VIEW_IDS |
flagRequestFilterKeyEvents | 0x00000020 | Has flag FLAG_REQUEST_FILTER_KEY_EVENTS |
flagRetrieveInteractiveWindows | 0x00000040 | Has flag FLAG_RETRIEVE_INTERACTIVE_WINDOWS |
This corresponds to the global attribute
resource symbol accessibilityFlags.
Constant Value: 6 (0x00000006)
AccessibilityService_canControlMagnification
int AccessibilityService_canControlMagnification
Attribute whether the accessibility service wants to be able to control display magnification.
Required to allow setting the #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION flag.
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 canControlMagnification.
Constant Value: 11 (0x0000000b)
AccessibilityService_canPerformGestures
int AccessibilityService_canPerformGestures
Attribute whether the accessibility service wants to be able to perform gestures.
Required to allow setting the #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES flag.
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 canPerformGestures.
Constant Value: 12 (0x0000000c)
AccessibilityService_canRequestEnhancedWebAccessibility
int AccessibilityService_canRequestEnhancedWebAccessibility
Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements. For example, installing scripts to make app content more accessible.
Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY flag.
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 canRequestEnhancedWebAccessibility.
Constant Value: 9 (0x00000009)
AccessibilityService_canRequestFilterKeyEvents
int AccessibilityService_canRequestFilterKeyEvents
Attribute whether the accessibility service wants to be able to request to filter key events.
Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS flag.
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 canRequestFilterKeyEvents.
Constant Value: 10 (0x0000000a)
AccessibilityService_canRequestTouchExplorationMode
int AccessibilityService_canRequestTouchExplorationMode
Attribute whether the accessibility service wants to be able to request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures.
Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE flag.
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 canRequestTouchExplorationMode.
Constant Value: 8 (0x00000008)
AccessibilityService_canRetrieveWindowContent
int AccessibilityService_canRetrieveWindowContent
Attribute whether the accessibility service wants to be able to retrieve the active window content. This setting cannot be changed at runtime.
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 canRetrieveWindowContent.
Constant Value: 7 (0x00000007)
AccessibilityService_description
int AccessibilityService_description
Short description of the accessibility service purpose or behavior.
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: 0 (0x00000000)
AccessibilityService_notificationTimeout
int AccessibilityService_notificationTimeout
The minimal period in milliseconds between two accessibility events of the same type
are sent to this serivce. This setting can be changed at runtime by calling
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).
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 notificationTimeout.
Constant Value: 5 (0x00000005)
AccessibilityService_packageNames
int AccessibilityService_packageNames
Comma separated package names from which this serivce would like to receive events (leave out for all packages).
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).
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 packageNames.
Constant Value: 3 (0x00000003)
AccessibilityService_settingsActivity
int AccessibilityService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service. This setting cannot be changed at runtime.
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 settingsActivity.
Constant Value: 1 (0x00000001)
AccountAuthenticator_accountPreferences
int AccountAuthenticator_accountPreferences
A preferences.xml file for authenticator-specific settings.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol accountPreferences.
Constant Value: 4 (0x00000004)
AccountAuthenticator_accountType
int AccountAuthenticator_accountType
The account type this authenticator handles.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol accountType.
Constant Value: 2 (0x00000002)
AccountAuthenticator_customTokens
int AccountAuthenticator_customTokens
Account handles its own token storage and permissions. Default 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 customTokens.
Constant Value: 5 (0x00000005)
AccountAuthenticator_icon
int AccountAuthenticator_icon
The icon of the authenticator.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol icon.
Constant Value: 1 (0x00000001)
AccountAuthenticator_label
int AccountAuthenticator_label
The user-visible name of the authenticator.
May be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This corresponds to the global attribute
resource symbol label.
Constant Value: 0 (0x00000000)
AccountAuthenticator_smallIcon
int AccountAuthenticator_smallIcon
Smaller icon of the authenticator.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol smallIcon.
Constant Value: 3 (0x00000003)
ActionBar_LayoutParams_layout_gravity
int ActionBar_LayoutParams_layout_gravity
Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol layout_gravity.
Constant Value: 0 (0x00000000)
ActionBar_background
int ActionBar_background
Specifies a background drawable for the action bar.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 2 (0x00000002)
ActionBar_backgroundSplit
int ActionBar_backgroundSplit
Specifies a background drawable for the bottom component of a split action bar.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 backgroundSplit.
Constant Value: 19 (0x00000013)
ActionBar_backgroundStacked
int ActionBar_backgroundStacked
Specifies a background drawable for a second stacked row of the action bar.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 backgroundStacked.
Constant Value: 18 (0x00000012)
ActionBar_contentInsetEnd
int ActionBar_contentInsetEnd
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetEnd.
Constant Value: 23 (0x00000017)
ActionBar_contentInsetEndWithActions
int ActionBar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetEndWithActions.
Constant Value: 28 (0x0000001c)
ActionBar_contentInsetLeft
int ActionBar_contentInsetLeft
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetLeft.
Constant Value: 24 (0x00000018)
ActionBar_contentInsetRight
int ActionBar_contentInsetRight
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetRight.
Constant Value: 25 (0x00000019)
ActionBar_contentInsetStart
int ActionBar_contentInsetStart
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetStart.
Constant Value: 22 (0x00000016)
ActionBar_contentInsetStartWithNavigation
int ActionBar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetStartWithNavigation.
Constant Value: 27 (0x0000001b)
ActionBar_customNavigationLayout
int ActionBar_customNavigationLayout
Specifies a layout for custom navigation. Overrides navigationMode.
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 customNavigationLayout.
Constant Value: 10 (0x0000000a)
ActionBar_displayOptions
int ActionBar_displayOptions
Options affecting how the action bar is displayed.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
useLogo | 0x1 | |
showHome | 0x2 | |
homeAsUp | 0x4 | |
showTitle | 0x8 | |
showCustom | 0x10 | |
disableHome | 0x20 |
This corresponds to the global attribute
resource symbol displayOptions.
Constant Value: 8 (0x00000008)
ActionBar_divider
int ActionBar_divider
Specifies the drawable used for item dividers.
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: 3 (0x00000003)
ActionBar_elevation
int ActionBar_elevation
Elevation for the action bar itself
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol elevation.
Constant Value: 20 (0x00000014)
ActionBar_height
int ActionBar_height
Specifies a fixed 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 4 (0x00000004)
ActionBar_hideOnContentScroll
int ActionBar_hideOnContentScroll
Set true to hide the action bar on a vertical nested scroll of content.
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 hideOnContentScroll.
Constant Value: 21 (0x00000015)
ActionBar_homeAsUpIndicator
int ActionBar_homeAsUpIndicator
Up navigation glyph
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 homeAsUpIndicator.
Constant Value: 13 (0x0000000d)
ActionBar_homeLayout
int ActionBar_homeLayout
Specifies a layout to use for the "home" section of the action 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 homeLayout.
Constant Value: 16 (0x00000010)
ActionBar_icon
int ActionBar_icon
Specifies the drawable used for the application 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 icon.
Constant Value: 0 (0x00000000)
ActionBar_indeterminateProgressStyle
int ActionBar_indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner.
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 indeterminateProgressStyle.
Constant Value: 14 (0x0000000e)
ActionBar_itemPadding
int ActionBar_itemPadding
Specifies padding that should be applied to the left and right sides of system-provided items in the bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol itemPadding.
Constant Value: 17 (0x00000011)
ActionBar_logo
int ActionBar_logo
Specifies the drawable used for the application logo.
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 logo.
Constant Value: 6 (0x00000006)
ActionBar_navigationMode
int ActionBar_navigationMode
The type of navigation to use.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | Normal static title text |
listMode | 1 | The action bar will use a selection list for navigation. |
tabMode | 2 | The action bar will use a series of horizontal tabs for navigation. |
This corresponds to the global attribute
resource symbol navigationMode.
Constant Value: 7 (0x00000007)
ActionBar_popupTheme
int ActionBar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action 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 popupTheme.
Constant Value: 26 (0x0000001a)
ActionBar_progressBarPadding
int ActionBar_progressBarPadding
Specifies the horizontal padding on either end for an embedded progress bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol progressBarPadding.
Constant Value: 15 (0x0000000f)
ActionBar_progressBarStyle
int ActionBar_progressBarStyle
Specifies a style resource to use for an embedded 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: 1 (0x00000001)
ActionBar_subtitle
int ActionBar_subtitle
Specifies subtitle text used for navigationMode="normal"
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 subtitle.
Constant Value: 9 (0x00000009)
ActionBar_subtitleTextStyle
int ActionBar_subtitleTextStyle
Specifies a style to use for subtitle 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 subtitleTextStyle.
Constant Value: 12 (0x0000000c)
ActionBar_title
int ActionBar_title
Specifies title text used for navigationMode="normal"
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: 5 (0x00000005)
ActionBar_titleTextStyle
int ActionBar_titleTextStyle
Specifies a style to use for 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 titleTextStyle.
Constant Value: 11 (0x0000000b)
ActionMenuItemView_minWidth
int ActionMenuItemView_minWidth
This symbol is the offset where the minWidth
attribute's value can be found in the ActionMenuItemView array.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 0 (0x00000000)
ActionMode_background
int ActionMode_background
Specifies a background for the action mode bar.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 0 (0x00000000)
ActionMode_backgroundSplit
int ActionMode_backgroundSplit
Specifies a background for the split action mode bar.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 backgroundSplit.
Constant Value: 4 (0x00000004)
ActionMode_height
int ActionMode_height
Specifies a fixed height for the action mode bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 1 (0x00000001)
ActionMode_subtitleTextStyle
int ActionMode_subtitleTextStyle
Specifies a style to use for subtitle 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 subtitleTextStyle.
Constant Value: 3 (0x00000003)
ActionMode_titleTextStyle
int ActionMode_titleTextStyle
Specifies a style to use for 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 titleTextStyle.
Constant Value: 2 (0x00000002)
AdapterViewAnimator_animateFirstView
int AdapterViewAnimator_animateFirstView
Defines whether to animate the current View when the ViewAnimation is first displayed.
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 animateFirstView.
Constant Value: 2 (0x00000002)
AdapterViewAnimator_inAnimation
int AdapterViewAnimator_inAnimation
Identifier for the animation to use when a view 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 inAnimation.
Constant Value: 0 (0x00000000)
AdapterViewAnimator_loopViews
int AdapterViewAnimator_loopViews
Defines whether the animator loops to the first view once it has reached the end of the list.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol loopViews.
Constant Value: 3 (0x00000003)
AdapterViewAnimator_outAnimation
int AdapterViewAnimator_outAnimation
Identifier for the animation to use when a view is hidden.
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 outAnimation.
Constant Value: 1 (0x00000001)
AdapterViewFlipper_autoStart
int AdapterViewFlipper_autoStart
When true, automatically start animating
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 autoStart.
Constant Value: 1 (0x00000001)
AdapterViewFlipper_flipInterval
int AdapterViewFlipper_flipInterval
This symbol is the offset where the flipInterval
attribute's value can be found in the AdapterViewFlipper 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)
AidFilter_name
int AidFilter_name
The ISO7816 Application ID. This attribute is mandatory.
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)
AidGroup_category
int AidGroup_category
The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly. Additionally, when a category is specified, Android will ensure that either all AIDs in this group are routed to this application, or none at all. This attribute is optional.
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 category.
Constant Value: 1 (0x00000001)
AidGroup_description
int AidGroup_description
Short description of what the AID group implements. This attribute is mandatory.
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: 0 (0x00000000)
AidPrefixFilter_name
int AidPrefixFilter_name
The ISO7816 Application ID. This attribute is mandatory.
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)
AlertDialog_bottomBright
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)
AlertDialog_bottomDark
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)
AlertDialog_bottomMedium
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)
AlertDialog_centerBright
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)
AlertDialog_centerDark
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)
AlertDialog_centerMedium
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)
AlertDialog_fullBright
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)
AlertDialog_fullDark
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)
AlertDialog_layout
int AlertDialog_layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.
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: 10 (0x0000000a)
AlertDialog_topBright
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)
AlertDialog_topDark
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)
AlphaAnimation_fromAlpha
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)
AlphaAnimation_toAlpha
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)
AnalogClock_dial
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)
AnalogClock_hand_hour
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)
AnalogClock_hand_minute
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)
AndroidManifestAction_name
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)
AndroidManifestActivityAlias_banner
int AndroidManifestActivityAlias_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 10 (0x0000000a)
AndroidManifestActivityAlias_description
int AndroidManifestActivityAlias_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 6 (0x00000006)
AndroidManifestActivityAlias_enabled
int AndroidManifestActivityAlias_enabled
Specify whether the activity-alias is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).
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)
AndroidManifestActivityAlias_exported
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)
AndroidManifestActivityAlias_icon
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)
AndroidManifestActivityAlias_label
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)
AndroidManifestActivityAlias_logo
int AndroidManifestActivityAlias_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 8 (0x00000008)
AndroidManifestActivityAlias_name
int AndroidManifestActivityAlias_name
Required name of the class implementing the activity, deriving from
Activity. This is a fully
qualified class name (for example, com.mycompany.myapp.MyActivity); as a
short-hand if the first character of the class
is a period then it is appended to your package name.
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)
AndroidManifestActivityAlias_parentActivityName
int AndroidManifestActivityAlias_parentActivityName
The name of the logical parent of the activity as it appears in the manifest.
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 parentActivityName.
Constant Value: 9 (0x00000009)
AndroidManifestActivityAlias_permission
int AndroidManifestActivityAlias_permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.
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)
AndroidManifestActivityAlias_roundIcon
int AndroidManifestActivityAlias_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 11 (0x0000000b)
AndroidManifestActivityAlias_targetActivity
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: 7 (0x00000007)
AndroidManifestActivity_allowEmbedded
int AndroidManifestActivity_allowEmbedded
Indicate that the activity can be launched as the embedded child of another activity. Particularly in the case where the child lives in a container such as a Display owned by another activity.
The default value of this attribute is false.
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 allowEmbedded.
Constant Value: 31 (0x0000001f)
AndroidManifestActivity_allowTaskReparenting
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: 19 (0x00000013)
AndroidManifestActivity_alwaysRetainTaskState
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: 18 (0x00000012)
AndroidManifestActivity_autoRemoveFromRecents
int AndroidManifestActivity_autoRemoveFromRecents
Tasks launched by activities with this attribute will remain in the recent tasks
list until the last activity in the task is completed. When that happens the task
will be automatically removed from the recent tasks list. This overrides the caller's
use of Intent.FLAG_ACTIVITY_RETAIN_IN_RECENTS
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 autoRemoveFromRecents.
Constant Value: 35 (0x00000023)
AndroidManifestActivity_banner
int AndroidManifestActivity_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 30 (0x0000001e)
AndroidManifestActivity_clearTaskOnLaunch
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)
AndroidManifestActivity_configChanges
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.
| Constant | Value | Description |
|---|---|---|
mcc | 0x0001 | The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code. |
mnc | 0x0002 | The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code. |
locale | 0x0004 | The locale has changed, that is the user has selected a new language that text should be displayed in. |
touchscreen | 0x0008 | The touchscreen has changed. Should never normally happen. |
keyboard | 0x0010 | The keyboard type has changed, for example the user has plugged in an external keyboard. |
keyboardHidden | 0x0020 | The keyboard or navigation accessibility has changed, for example the user has slid the keyboard out to expose it. Note that despite its name, this applied to any accessibility: keyboard or navigation. |
navigation | 0x0040 | The navigation type has changed. Should never normally happen. |
orientation | 0x0080 | The screen orientation has changed, that is the user has rotated the device. |
screenLayout | 0x0100 | The screen layout has changed. This might be caused by a different display being activated. |
uiMode | 0x0200 | The global user interface mode has changed. For example, going in or out of car mode, night mode changing, etc. |
screenSize | 0x0400 | The current available screen size has changed. If applications don't
target at least HONEYCOMB_MR2
then the activity will always handle this itself (the change
will not result in a restart). This represents a change in the
currently available size, so will change when the user switches
between landscape and portrait. |
smallestScreenSize | 0x0800 | The physical screen size has changed. If applications don't
target at least HONEYCOMB_MR2
then the activity will always handle this itself (the change
will not result in a restart). This represents a change in size
regardless of orientation, so will only change when the actual
physical screen size has changed such as switching to an external
display. |
density | 0x1000 | The display density has changed. This might be caused by the user specifying a different display scale, or it might be caused by a different display being activated. |
layoutDirection | 0x2000 | The layout direction has changed. For example going from LTR to RTL. |
fontScale | 0x40000000 | 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)
AndroidManifestActivity_description
int AndroidManifestActivity_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 17 (0x00000011)
AndroidManifestActivity_directBootAware
int AndroidManifestActivity_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).
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 directBootAware.
Constant Value: 42 (0x0000002a)
AndroidManifestActivity_documentLaunchMode
int AndroidManifestActivity_documentLaunchMode
This attribute specifies that an activity shall become the root activity of a new task each time it is launched. Using this attribute permits the user to have multiple documents from the same applications appear in the recent tasks list.
Such a document is any kind of item for which an application may want to maintain multiple simultaneous instances. Examples might be text files, web pages, spreadsheets, or emails. Each such document will be in a separate task in the recent taskss list.
This attribute is equivalent to adding the flag FLAG_ACTIVITY_NEW_DOCUMENT to every Intent used to launch
the activity.
The documentLaunchMode attribute may be assigned one of four values, "none",
"intoExisting", "always" and "never", described in detail below. For values other than
none and never the activity must be defined with
launchMode standard.
If this attribute is not specified, none will be used.
Note that none can be overridden at run time if the Intent used
to launch it contains the flag Intent.FLAG_ACTIVITY_NEW_DOCUMENT.
Similarly intoExisting will be overridden by the flag
Intent.FLAG_ACTIVITY_NEW_DOCUMENT combined with
Intent.FLAG_ACTIVITY_MULTIPLE_TASK. If the value of
documentLaunchModes is never then any use of
Intent.FLAG_ACTIVITY_NEW_DOCUMENT to launch this activity will be ignored.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | The default mode, which will create a new task only when
Intent.FLAG_ACTIVITY_NEW_TASK is set. |
intoExisting | 1 | All tasks will be searched for one whose base Intent's ComponentName and
data URI match those of the launching Intent. If such a task is found
that task will be cleared and restarted with the root activity receiving a call
to Activity.onNewIntent. If no
such task is found a new task will be created.
This is the equivalent of launching an activity with |
always | 2 | A new task rooted at this activity will be created. This will happen whether or
not there is an existing task whose ComponentName and data URI match
that of the launcing intent This is the equivalent of launching an activity
with Intent.FLAG_ACTIVITY_NEW_DOCUMENT
and Intent.FLAG_ACTIVITY_MULTIPLE_TASK both set. |
never | 3 | This activity will not be launched into a new document even if the Intent contains
Intent.FLAG_ACTIVITY_NEW_DOCUMENT. This gives the activity writer ultimate
control over how their activity is used. Note that applications prior to api
21 will default to documentLaunchMode="none" so only activities that explicitly
opt out with "never" may do so. |
This corresponds to the global attribute
resource symbol documentLaunchMode.
Constant Value: 33 (0x00000021)
AndroidManifestActivity_enableVrMode
int AndroidManifestActivity_enableVrMode
Flag declaring that this activity will be run in VR mode, and specifying
the component of the VrListenerService that should be
bound while this Activity is visible if it is installed and enabled on this device.
This is equivalent to calling setVrModeEnabled(boolean, ComponentName) with the
the given component name within the Activity that this attribute is set for.
Declaring this will prevent the system from leaving VR mode during an Activity
transtion from one VR activity to another.
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 enableVrMode.
Constant Value: 43 (0x0000002b)
AndroidManifestActivity_enabled
int AndroidManifestActivity_enabled
Specify whether the activity is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).
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)
AndroidManifestActivity_excludeFromRecents
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)
AndroidManifestActivity_exported
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)
AndroidManifestActivity_finishOnCloseSystemDialogs
int AndroidManifestActivity_finishOnCloseSystemDialogs
Specify whether an activity should be finished when a "close system windows" request has been made. This happens, for example, when the home key is pressed, when the device is locked, when a system dialog showing recent applications is displayed, etc.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol finishOnCloseSystemDialogs.
Constant Value: 22 (0x00000016)
AndroidManifestActivity_finishOnTaskLaunch
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)
AndroidManifestActivity_hardwareAccelerated
int AndroidManifestActivity_hardwareAccelerated
Flag indicating whether the application's rendering should be hardware
accelerated if possible. This flag is turned on by default for applications
that are targeting ICE_CREAM_SANDWICH
or later.
This flag can be set on the application and any activity declared in the manifest. When enabled for the application, each activity is automatically assumed to be hardware accelerated. This flag can be overridden in the activity tags, either turning it off (if on for the application) or on (if off for the application.)
When this flag is turned on for an activity (either directly or via the application tag), every window created from the activity, including the activity's own window, will be hardware accelerated, if possible.
Please refer to the documentation of
FLAG_HARDWARE_ACCELERATED
for more information on how to control this flag programmatically.
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 hardwareAccelerated.
Constant Value: 25 (0x00000019)
AndroidManifestActivity_icon
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)
AndroidManifestActivity_immersive
int AndroidManifestActivity_immersive
Flag declaring this activity to be 'immersive'; immersive activities should not be interrupted with other activities or notifications.
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 immersive.
Constant Value: 24 (0x00000018)
AndroidManifestActivity_label
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)
AndroidManifestActivity_launchMode
int AndroidManifestActivity_launchMode
Specify how an activity should be launched. See the Tasks and Back Stack document for important information on how these options impact the behavior of your application.
If this attribute is not specified, standard launch
mode will be used. Note that the particular launch behavior can
be changed in some ways at runtime through the
Intent flags
FLAG_ACTIVITY_SINGLE_TOP,
FLAG_ACTIVITY_NEW_TASK, and
FLAG_ACTIVITY_MULTIPLE_TASK.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
standard | 0 | The default mode, which will usually create a new instance of
the activity when it is started, though this behavior may change
with the introduction of other options such as
Intent.FLAG_ACTIVITY_NEW_TASK. |
singleTop | 1 | If, when starting the activity, there is already an
instance of the same activity class in the foreground that is
interacting with the user, then
re-use that instance. This existing instance will receive a call to
Activity.onNewIntent() with
the new Intent that is being started. |
singleTask | 2 | If, when starting the activity, there is already a task running
that starts with this activity, then instead of starting a new
instance the current task is brought to the front. The existing
instance will receive a call to Activity.onNewIntent()
with the new Intent that is being started, and with the
Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set. This is a superset
of the singleTop mode, where if there is already an instance
of the activity being started at the top of the stack, it will
receive the Intent as described there (without the
FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set). See the
Tasks and Back
Stack document for more details about tasks. |
singleInstance | 3 | Only allow one instance of this activity to ever be
running. This activity gets a unique task with only itself running
in it; if it is ever launched again with the same Intent, then that
task will be brought forward and its
Activity.onNewIntent()
method called. If this
activity tries to start a new activity, that new activity will be
launched in a separate task. See the
Tasks and Back
Stack document for more details about tasks. |
This corresponds to the global attribute
resource symbol launchMode.
Constant Value: 14 (0x0000000e)
AndroidManifestActivity_lockTaskMode
int AndroidManifestActivity_lockTaskMode
This value indicates how tasks rooted at this activity will behave in lockTask mode. While in lockTask mode the system will not launch non-permitted tasks until lockTask mode is disabled.
While in lockTask mode with multiple permitted tasks running, each launched task is permitted to finish, transitioning to the previous locked task, until there is only one task remaining. At that point the last task running is not permitted to finish, unless it uses the value always.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | This is the default value. Tasks will not launch into lockTask mode but can be
placed there by calling startLockTask(). If a task with
this mode has been whitelisted using setLockTaskPackages(ComponentName, String[]) then calling
startLockTask() will enter lockTask mode immediately,
otherwise the user will be presented with a dialog to approve entering pinned mode.
If the system is already in lockTask mode when a new task rooted at this activity is launched that task will or will not start depending on whether the package of this activity has been whitelisted. Tasks rooted at this activity can only exit lockTask mode using
|
never | 1 | Tasks will not launch into lockTask mode and cannot be placed there using
startLockTask() or be pinned from the Overview screen.
If the system is already in lockTask mode when a new task rooted at this activity is
launched that task will not be started.
Note: This mode is only available to system and privileged applications. Non-privileged apps with this value will be treated as normal. |
always | 2 | Tasks rooted at this activity will always launch into lockTask mode. If the system is
already in lockTask mode when this task is launched then the new task will be launched
on top of the current task. Tasks launched in this mode are capable of exiting
lockTask mode using finish().
Note: This mode is only available to system and privileged applications. Non-privileged apps with this value will be treated as normal. |
if_whitelisted | 3 | If the DevicePolicyManager (DPM) authorizes this package (setLockTaskPackages(ComponentName, String[])) then this mode is
identical to always, except that the activity needs to call
stopLockTask() before being able to finish if it is the last
locked task.
If the DPM does not authorize this package then this mode is identical to normal. |
This corresponds to the global attribute
resource symbol lockTaskMode.
Constant Value: 38 (0x00000026)
AndroidManifestActivity_logo
int AndroidManifestActivity_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 23 (0x00000017)
AndroidManifestActivity_maxRecents
int AndroidManifestActivity_maxRecents
The maximum number of entries of tasks rooted at this activity in the recent task list. When this number of entries is reached the least recently used instance of this activity will be removed from recents. The value will be clamped between 1 and 100 inclusive. The default value for this if it is not specified is 15.
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 maxRecents.
Constant Value: 34 (0x00000022)
AndroidManifestActivity_multiprocess
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)
AndroidManifestActivity_name
int AndroidManifestActivity_name
Required name of the class implementing the activity, deriving from
Activity. This is a fully
qualified class name (for example, com.mycompany.myapp.MyActivity); as a
short-hand if the first character of the class
is a period then it is appended to your package name.
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)
AndroidManifestActivity_noHistory
int AndroidManifestActivity_noHistory
Specify whether an activity should be kept in its history stack. If this attribute is set, then as soon as the user navigates away from the activity it will be finished and they will no longer be able to return to it.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol noHistory.
Constant Value: 21 (0x00000015)
AndroidManifestActivity_parentActivityName
int AndroidManifestActivity_parentActivityName
The name of the logical parent of the activity as it appears in the manifest.
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 parentActivityName.
Constant Value: 27 (0x0000001b)
AndroidManifestActivity_permission
int AndroidManifestActivity_permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.
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)
AndroidManifestActivity_persistableMode
int AndroidManifestActivity_persistableMode
Define how an activity persist across reboots. Activities defined as "never" will not be persisted. Those defined as "always" will be persisted. Those defined as "taskOnly" will persist the root activity of the task only. See below for more detail as to what gets persisted.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
persistRootOnly | 0 | The default. If this activity forms the root of a task then that task will be persisted across reboots but only the launching intent will be used. If the task relinquishes its identity then the intent used is that of the topmost inherited identity. All activities above this activity in the task will not be persisted. In addition this activity will not be passed a PersistableBundle into which it could have stored its state. |
persistNever | 1 | If this activity forms the root of a task then that task will not be persisted across reboots |
persistAcrossReboots | 2 | If this activity forms the root of a task then the task and this activity will
be persisted across reboots. If the activity above this activity is also
tagged with the attribute "persist" then it will be persisted as well.
And so on up the task stack until either an activity without the
persistableMode="persistAcrossReboots" attribute or one that was launched
with the flag Intent.FLAG_CLEAR_TASK_WHEN_RESET is encountered.
Activities that are declared with the persistAcrossReboots attribute will be provided with a PersistableBundle in onSavedInstanceState(), These activities may use this PeristableBundle to save their state. Then, following a reboot, that PersistableBundle will be provided back to the activity in its onCreate() method. |
This corresponds to the global attribute
resource symbol persistableMode.
Constant Value: 32 (0x00000020)
AndroidManifestActivity_process
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)
AndroidManifestActivity_relinquishTaskIdentity
int AndroidManifestActivity_relinquishTaskIdentity
Tasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task. If the next activity also has this attribute set to true then it will yield the baseIntent to any activity that it launches in the same task. This continues until an activity is encountered which has this attribute set to false. False is the default. This attribute set to true also permits activity's use of the TaskDescription to change labels, colors and icons in the recent task list.
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 relinquishTaskIdentity.
Constant Value: 36 (0x00000024)
AndroidManifestActivity_resizeableActivity
int AndroidManifestActivity_resizeableActivity
Indicates that it is okay for this activity to be resized to any dimension. Intended for a multi-window device where there can be multiple activities of various sizes on the screen at the same time.
The default value is false for applications with
targetSdkVersion lesser than N and
true otherwise.
NOTE: A task's root activity value is applied to all additional activities launched in the task. That is if the root activity of a task is resizeable then the system will treat all other activities in the task as resizeable and will not if the root activity isn't resizeable.
NOTE: The value of screenOrientation is ignored for
resizeable activities when in multi-window 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 resizeableActivity.
Constant Value: 40 (0x00000028)
AndroidManifestActivity_resumeWhilePausing
int AndroidManifestActivity_resumeWhilePausing
Indicate that it is okay for this activity be resumed while the previous activity is in the process of pausing, without waiting for the previous pause to complete. Use this with caution: your activity can not acquire any exclusive resources (such as opening the camera or recording audio) when it launches, or it may conflict with the previous activity and fail.
The default value of this attribute is false.
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 resumeWhilePausing.
Constant Value: 37 (0x00000025)
AndroidManifestActivity_roundIcon
int AndroidManifestActivity_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 44 (0x0000002c)
AndroidManifestActivity_screenOrientation
int AndroidManifestActivity_screenOrientation
Specify the orientation an activity should be run in. If not specified, it will run in the current preferred orientation of the screen.
This attribute is supported by the <activity>
element.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
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.
Corresponds to
SCREEN_ORIENTATION_UNSPECIFIED. |
landscape | 0 | Would like to have the screen in a landscape orientation: that
is, with the display wider than it is tall, ignoring sensor data.
Corresponds to
SCREEN_ORIENTATION_LANDSCAPE. |
portrait | 1 | Would like to have the screen in a portrait orientation: that
is, with the display taller than it is wide, ignoring sensor data.
Corresponds to
SCREEN_ORIENTATION_PORTRAIT. |
user | 2 | Use the user's current preferred orientation of the handset.
Corresponds to
SCREEN_ORIENTATION_USER. |
behind | 3 | Keep the screen in the same orientation as whatever is behind
this activity.
Corresponds to
SCREEN_ORIENTATION_BEHIND. |
sensor | 4 | Orientation is determined by a physical orientation sensor:
the display will rotate based on how the user moves the device.
Ignores user's setting to turn off sensor-based rotation.
Corresponds to
SCREEN_ORIENTATION_SENSOR. |
nosensor | 5 | Always ignore orientation determined by orientation sensor:
the display will not rotate when the user moves the device.
Corresponds to
SCREEN_ORIENTATION_NOSENSOR. |
sensorLandscape | 6 | Would like to have the screen in landscape orientation, but can
use the sensor to change which direction the screen is facing.
Corresponds to
SCREEN_ORIENTATION_SENSOR_LANDSCAPE. |
sensorPortrait | 7 | Would like to have the screen in portrait orientation, but can
use the sensor to change which direction the screen is facing.
Corresponds to
SCREEN_ORIENTATION_SENSOR_PORTRAIT. |
reverseLandscape | 8 | Would like to have the screen in landscape orientation, turned in
the opposite direction from normal landscape.
Corresponds to
SCREEN_ORIENTATION_REVERSE_LANDSCAPE. |
reversePortrait | 9 | Would like to have the screen in portrait orientation, turned in
the opposite direction from normal portrait.
Corresponds to
SCREEN_ORIENTATION_REVERSE_PORTRAIT. |
fullSensor | 10 | Orientation is determined by a physical orientation sensor:
the display will rotate based on how the user moves the device.
This allows any of the 4 possible rotations, regardless of what
the device will normally do (for example some devices won't
normally use 180 degree rotation).
Corresponds to
SCREEN_ORIENTATION_FULL_SENSOR. |
userLandscape | 11 | Would like to have the screen in landscape orientation, but if
the user has enabled sensor-based rotation then we can use the
sensor to change which direction the screen is facing.
Corresponds to
SCREEN_ORIENTATION_USER_LANDSCAPE. |
userPortrait | 12 | Would like to have the screen in portrait orientation, but if
the user has enabled sensor-based rotation then we can use the
sensor to change which direction the screen is facing.
Corresponds to
SCREEN_ORIENTATION_USER_PORTRAIT. |
fullUser | 13 | Respect the user's sensor-based rotation preference, but if
sensor-based rotation is enabled then allow the screen to rotate
in all 4 possible directions regardless of what
the device will normally do (for example some devices won't
normally use 180 degree rotation).
Corresponds to
SCREEN_ORIENTATION_FULL_USER. |
locked | 14 | Screen is locked to its current rotation, whatever that is.
Corresponds to
SCREEN_ORIENTATION_LOCKED. |
This corresponds to the global attribute
resource symbol screenOrientation.
Constant Value: 15 (0x0000000f)
AndroidManifestActivity_showForAllUsers
int AndroidManifestActivity_showForAllUsers
Specify that an Activity should be shown even if the current/foreground user
is different from the user of the Activity. This will also force the
android.view.LayoutParams.FLAG_SHOW_WHEN_LOCKED flag
to be set for all windows of this activity
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 showForAllUsers.
Constant Value: 39 (0x00000027)
AndroidManifestActivity_showOnLockScreen
int AndroidManifestActivity_showOnLockScreen
This constant is deprecated.
use showForAllUsers 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 showOnLockScreen.
Constant Value: 29 (0x0000001d)
AndroidManifestActivity_singleUser
int AndroidManifestActivity_singleUser
If set to true, a single instance of this component will run for all users. That instance will run as user 0, the default/primary user. When the app running is in processes for other users and interacts with this component (by binding to a service for example) those processes will always interact with the instance running for user 0. Enabling single user mode forces "exported" of the component to be false, to help avoid introducing multi-user security bugs. This feature is only available to applications built in to the system image; you must hold the permission INTERACT_ACROSS_USERS in order to use this feature. This flag can only be used with services, receivers, and providers; it can not be used with activities.
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 singleUser.
Constant Value: 28 (0x0000001c)
AndroidManifestActivity_stateNotNeeded
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)
AndroidManifestActivity_supportsPictureInPicture
int AndroidManifestActivity_supportsPictureInPicture
Indicates that the activity supports the picture-in-picture (PiP) form of multi-window.
While it makes sense to be able to resize most activities types in multi-window mode when
resizeableActivity is set. It only makes sense to put specific types
of activities in PiP mode of multi-window. For example, activities that play video. When
set the activity will be allowed to enter PiP mode when the system deems it appropriate on
devices that support PiP.
The default value is false for applications with
targetSdkVersion lesser than N and
true otherwise.
NOTE: Attribute is only used if resizeableActivity 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 supportsPictureInPicture.
Constant Value: 41 (0x00000029)
AndroidManifestActivity_taskAffinity
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)
AndroidManifestActivity_theme
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)
AndroidManifestActivity_uiOptions
int AndroidManifestActivity_uiOptions
Extra options for an activity's UI. Applies to either the <activity> or
<application> tag. If specified on the <application>
tag these will be considered defaults for all activities in the
application.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | No extra UI options. This is the default. |
splitActionBarWhenNarrow | 1 | Split the options menu into a separate bar at the bottom of the screen when severely constrained for horizontal space. (e.g. portrait mode on a phone.) Instead of a small number of action buttons appearing in the action bar at the top of the screen, the action bar will split into the top navigation section and the bottom menu section. Menu items will not be split across the two bars; they will always appear together. |
This corresponds to the global attribute
resource symbol uiOptions.
Constant Value: 26 (0x0000001a)
AndroidManifestActivity_windowSoftInputMode
int AndroidManifestActivity_windowSoftInputMode
Specify the default soft-input mode for the main window of this activity. A value besides "unspecified" here overrides any value in the theme.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
stateUnspecified | 0 | Not specified, use what the system thinks is best. This is the default. |
stateUnchanged | 1 | Leave the soft input window as-is, in whatever state it last was. |
stateHidden | 2 | Make the soft input area hidden when normally appropriate (when the user is navigating forward to your window). |
stateAlwaysHidden | 3 | Always make the soft input area hidden when this window has input focus. |
stateVisible | 4 | Make the soft input area visible when normally appropriate (when the user is navigating forward to your window). |
stateAlwaysVisible | 5 | Always make the soft input area visible when this window has input focus. |
adjustUnspecified | 0x00 | The window resize/pan adjustment has not been specified, the system will automatically select between resize and pan modes, depending on whether the content of the window has any layout views that can scroll their contents. If there is such a view, then the window will be resized, with the assumption being that the resizeable area can be reduced to make room for the input UI. |
adjustResize | 0x10 | Always resize the window: the content area of the window is reduced to make room for the soft input area. |
adjustPan | 0x20 | Don't resize the window to make room for the soft input area; instead pan the contents of the window as focus moves inside of it so that the user can see what they are typing. This is generally less desireable than panning because the user may need to close the input area to get at and interact with parts of the window. |
adjustNothing | 0x30 | Don't resize or pan the window to make room for the soft input area; the window is never adjusted for it. |
This corresponds to the global attribute
resource symbol windowSoftInputMode.
Constant Value: 20 (0x00000014)
AndroidManifestApplication_allowBackup
int AndroidManifestApplication_allowBackup
Whether to allow the application to participate in the backup
and restore infrastructure. If this attribute is set to false,
no backup or restore of the application will ever be performed, even by a
full-system backup that would otherwise cause all application data to be saved
via adb. The default value of this attribute is true.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol allowBackup.
Constant Value: 17 (0x00000011)
AndroidManifestApplication_allowClearUserData
int AndroidManifestApplication_allowClearUserData
Option to let applications specify that user data can/cannot be cleared. This flag is turned on by default. This attribute is usable only by applications included in the system image. Third-party apps cannot use it.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol allowClearUserData.
Constant Value: 5 (0x00000005)
AndroidManifestApplication_allowTaskReparenting
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)
AndroidManifestApplication_backupAgent
int AndroidManifestApplication_backupAgent
The name of the class subclassing BackupAgent to manage
backup and restore of the application's data on external storage.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol backupAgent.
Constant Value: 16 (0x00000010)
AndroidManifestApplication_backupInForeground
int AndroidManifestApplication_backupInForeground
Indicates that full-data backup operations for this application may
be performed even if the application is in a foreground-equivalent
state. Use with caution! Setting this flag to true
can impact app behavior while the user is interacting with the device.
If unspecified, the default value of this attribute is false,
which means that the OS will avoid backing up the application while it is
running in the foreground (such as a music app that is actively playing
music via a service in the startForeground() state).
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 backupInForeground.
Constant Value: 40 (0x00000028)
AndroidManifestApplication_banner
int AndroidManifestApplication_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 30 (0x0000001e)
AndroidManifestApplication_debuggable
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)
AndroidManifestApplication_defaultToDeviceProtectedStorage
int AndroidManifestApplication_defaultToDeviceProtectedStorage
This symbol is the offset where the defaultToDeviceProtectedStorage
attribute's value can be found in the AndroidManifestApplication 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: 38 (0x00000026)
AndroidManifestApplication_description
int AndroidManifestApplication_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 13 (0x0000000d)
AndroidManifestApplication_directBootAware
int AndroidManifestApplication_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).
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 directBootAware.
Constant Value: 39 (0x00000027)
AndroidManifestApplication_enabled
int AndroidManifestApplication_enabled
Specify whether the components in this application are enabled or not (that is, can be instantiated by the system). If "false", it overrides any component specific values (a value of "true" will not override the component specific values).
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)
AndroidManifestApplication_extractNativeLibs
int AndroidManifestApplication_extractNativeLibs
When set installer will extract native libraries. If set to false libraries in the apk must be stored and page-aligned.
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 extractNativeLibs.
Constant Value: 34 (0x00000022)
AndroidManifestApplication_fullBackupContent
int AndroidManifestApplication_fullBackupContent
Applications will set this in their manifest to opt-in to or out of full app data back-up and restore. Alternatively they can set it to an xml resource within their app that will be parsed by the BackupAgent to selectively backup files indicated within that xml.
May be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
May be a boolean value, either "true" or "false".
This corresponds to the global attribute
resource symbol fullBackupContent.
Constant Value: 35 (0x00000023)
AndroidManifestApplication_fullBackupOnly
int AndroidManifestApplication_fullBackupOnly
Indicates that even though the application provides a BackupAgent,
only full-data streaming backup operations are to be performed to save the app's
data. This lets the app rely on full-data backups while still participating in
the backup and restore process via the BackupAgent's full-data backup APIs.
When this attribute is true the app's BackupAgent overrides of
the onBackup() and onRestore() callbacks can be empty stubs.
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 fullBackupOnly.
Constant Value: 32 (0x00000020)
AndroidManifestApplication_hardwareAccelerated
int AndroidManifestApplication_hardwareAccelerated
Flag indicating whether the application's rendering should be hardware
accelerated if possible. This flag is turned on by default for applications
that are targeting ICE_CREAM_SANDWICH
or later.
This flag can be set on the application and any activity declared in the manifest. When enabled for the application, each activity is automatically assumed to be hardware accelerated. This flag can be overridden in the activity tags, either turning it off (if on for the application) or on (if off for the application.)
When this flag is turned on for an activity (either directly or via the application tag), every window created from the activity, including the activity's own window, will be hardware accelerated, if possible.
Please refer to the documentation of
FLAG_HARDWARE_ACCELERATED
for more information on how to control this flag programmatically.
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 hardwareAccelerated.
Constant Value: 23 (0x00000017)
AndroidManifestApplication_hasCode
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)
AndroidManifestApplication_icon
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)
AndroidManifestApplication_isGame
int AndroidManifestApplication_isGame
A boolean flag used to indicate if an application is a Game or not.
This information can be used by the system to group together applications that are classified as games, and display them separately from the other applications.
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 isGame.
Constant Value: 31 (0x0000001f)
AndroidManifestApplication_killAfterRestore
int AndroidManifestApplication_killAfterRestore
Whether the application in question should be terminated after its settings have been restored during a full-system restore operation. Single-package restore operations will never cause the application to be shut down. Full-system restore operations typically only occur once, when the phone is first set up. Third-party applications will not usually need to use this attribute.
The default is true, which means that after the application
has finished processing its data during a full-system restore, it will be
terminated.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol killAfterRestore.
Constant Value: 18 (0x00000012)
AndroidManifestApplication_label
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)
AndroidManifestApplication_largeHeap
int AndroidManifestApplication_largeHeap
Request that your application's processes be created with a large Dalvik heap. This applies to all processes created for the application. It only applies to the first application loaded into a process; if using a sharedUserId to allow multiple applications to use a process, they all must use this option consistently or will get unpredictable results.
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 largeHeap.
Constant Value: 24 (0x00000018)
AndroidManifestApplication_logo
int AndroidManifestApplication_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 22 (0x00000016)
AndroidManifestApplication_manageSpaceActivity
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)
AndroidManifestApplication_multiArch
int AndroidManifestApplication_multiArch
Declare that code from this application will need to be loaded into other applications' processes. On devices that support multiple instruction sets, this implies the code might be loaded into a process that's using any of the devices supported instruction sets.
The system might treat such applications specially, for eg., by extracting the application's native libraries for all supported instruction sets or by compiling the application's dex code for all supported instruction sets.
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 multiArch.
Constant Value: 33 (0x00000021)
AndroidManifestApplication_name
int AndroidManifestApplication_name
The (optional) fully-qualified name for a subclass of
Application that the system instantiates before
any other class when an app's process starts. Most applications
don't need this attribute. If it's not specified, the system
instantiates the base Application class instead.
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)
AndroidManifestApplication_networkSecurityConfig
int AndroidManifestApplication_networkSecurityConfig
An XML resource with the application's Network Security Config.
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 networkSecurityConfig.
Constant Value: 41 (0x00000029)
AndroidManifestApplication_permission
int AndroidManifestApplication_permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.
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)
AndroidManifestApplication_persistent
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)
AndroidManifestApplication_process
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)
AndroidManifestApplication_requiredAccountType
int AndroidManifestApplication_requiredAccountType
Declare that this application requires an account of a certain type. The default value is null and indicates that the application can work without any accounts. The type should correspond to the account authenticator type, such as "com.google".
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 requiredAccountType.
Constant Value: 29 (0x0000001d)
AndroidManifestApplication_requiredForAllUsers
int AndroidManifestApplication_requiredForAllUsers
Flag to specify if this application needs to be present for all users. Only pre-installed applications can request this feature. Default value is false.
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 requiredForAllUsers.
Constant Value: 27 (0x0000001b)
AndroidManifestApplication_resizeableActivity
int AndroidManifestApplication_resizeableActivity
Indicates that it is okay for this activity to be resized to any dimension. Intended for a multi-window device where there can be multiple activities of various sizes on the screen at the same time.
The default value is false for applications with
targetSdkVersion lesser than N and
true otherwise.
NOTE: A task's root activity value is applied to all additional activities launched in the task. That is if the root activity of a task is resizeable then the system will treat all other activities in the task as resizeable and will not if the root activity isn't resizeable.
NOTE: The value of screenOrientation is ignored for
resizeable activities when in multi-window 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 resizeableActivity.
Constant Value: 37 (0x00000025)
AndroidManifestApplication_restoreAnyVersion
int AndroidManifestApplication_restoreAnyVersion
Indicate that the application is prepared to attempt a restore of any
backed-up dataset, even if the backup is apparently from a newer version
of the application than is currently installed on the device. Setting
this attribute to true will permit the Backup Manager to
attempt restore even when a version mismatch suggests that the data are
incompatible. Use with caution!
The default value of this attribute is false.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol restoreAnyVersion.
Constant Value: 21 (0x00000015)
AndroidManifestApplication_restoreNeedsApplication
int AndroidManifestApplication_restoreNeedsApplication
This constant is deprecated.
This attribute is not used by the Android operating system.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol restoreNeedsApplication.
Constant Value: 19 (0x00000013)
AndroidManifestApplication_restrictedAccountType
int AndroidManifestApplication_restrictedAccountType
Declare that this application requires access to restricted accounts of a certain type. The default value is null and restricted accounts won\'t be visible to this application. The type should correspond to the account authenticator type, such as "com.google".
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 restrictedAccountType.
Constant Value: 28 (0x0000001c)
AndroidManifestApplication_roundIcon
int AndroidManifestApplication_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 42 (0x0000002a)
AndroidManifestApplication_supportsRtl
int AndroidManifestApplication_supportsRtl
Declare that your application will be able to deal with RTL (right to left) layouts. If set to false (default value), your application will not care about RTL layouts.
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 supportsRtl.
Constant Value: 26 (0x0000001a)
AndroidManifestApplication_taskAffinity
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)
AndroidManifestApplication_testOnly
int AndroidManifestApplication_testOnly
Option to indicate this application is only for testing purposes. For example, it may expose functionality or data outside of itself that would cause a security hole, but is useful for testing. This kind of application can not be installed without the INSTALL_ALLOW_TEST flag, which means only through adb install.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol testOnly.
Constant Value: 15 (0x0000000f)
AndroidManifestApplication_theme
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)
AndroidManifestApplication_uiOptions
int AndroidManifestApplication_uiOptions
Extra options for an activity's UI. Applies to either the <activity> or
<application> tag. If specified on the <application>
tag these will be considered defaults for all activities in the
application.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | No extra UI options. This is the default. |
splitActionBarWhenNarrow | 1 | Split the options menu into a separate bar at the bottom of the screen when severely constrained for horizontal space. (e.g. portrait mode on a phone.) Instead of a small number of action buttons appearing in the action bar at the top of the screen, the action bar will split into the top navigation section and the bottom menu section. Menu items will not be split across the two bars; they will always appear together. |
This corresponds to the global attribute
resource symbol uiOptions.
Constant Value: 25 (0x00000019)
AndroidManifestApplication_usesCleartextTraffic
int AndroidManifestApplication_usesCleartextTraffic
Declare that this application may use cleartext traffic, such as HTTP rather than
HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, STMP without STARTTLS or
TLS). Defaults to true. If set to false false, the application declares that it
does not intend to use cleartext network traffic, in which case platform components
(e.g. HTTP stacks, DownloadManager, MediaPlayer) will refuse
applications's requests to use cleartext traffic. Third-party libraries are encouraged
to honor this flag as well.
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 usesCleartextTraffic.
Constant Value: 36 (0x00000024)
AndroidManifestApplication_vmSafeMode
int AndroidManifestApplication_vmSafeMode
Flag indicating whether the application requests the VM to operate in the safe mode.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol vmSafeMode.
Constant Value: 20 (0x00000014)
AndroidManifestCategory_name
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)
AndroidManifestCompatibleScreensScreen_screenDensity
int AndroidManifestCompatibleScreensScreen_screenDensity
Specifies a compatible screen density, as per the device configuration screen density bins.
May be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
May be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
ldpi | 120 | A low density screen, approximately 120dpi. |
mdpi | 160 | A medium density screen, approximately 160dpi. |
hdpi | 240 | A high density screen, approximately 240dpi. |
xhdpi | 320 | An extra high density screen, approximately 320dpi. |
xxhdpi | 480 | An extra extra high density screen, approximately 480dpi. |
xxxhdpi | 640 | An extra extra extra high density screen, approximately 640dpi. |
This corresponds to the global attribute
resource symbol screenDensity.
Constant Value: 1 (0x00000001)
AndroidManifestCompatibleScreensScreen_screenSize
int AndroidManifestCompatibleScreensScreen_screenSize
Specifies a compatible screen size, as per the device configuration screen size bins.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
small | 200 | A small screen configuration, at least 240x320dp. |
normal | 300 | A normal screen configuration, at least 320x480dp. |
large | 400 | A large screen configuration, at least 400x530dp. |
xlarge | 500 | An extra large screen configuration, at least 600x800dp. |
This corresponds to the global attribute
resource symbol screenSize.
Constant Value: 0 (0x00000000)
AndroidManifestData_host
int AndroidManifestData_host
Specify a URI authority host that is handled, as per
IntentFilter.addDataAuthority().
Note: host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, host names here should always use lower case letters.
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)
AndroidManifestData_mimeType
int AndroidManifestData_mimeType
Specify a MIME type that is handled, as per
IntentFilter.addDataType().
Note: MIME type matching in the Android framework is case-sensitive, unlike formal RFC MIME types. As a result, MIME types here should always use lower case letters.
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)
AndroidManifestData_path
int AndroidManifestData_path
Specify a URI path that must exactly match, as per
IntentFilter.addDataPath() 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)
AndroidManifestData_pathPattern
int AndroidManifestData_pathPattern
Specify a URI path that matches a simple pattern, as per
IntentFilter.addDataPath() 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)
AndroidManifestData_pathPrefix
int AndroidManifestData_pathPrefix
Specify a URI path that must be a prefix to match, as per
IntentFilter.addDataPath() 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)
AndroidManifestData_port
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)
AndroidManifestData_scheme
int AndroidManifestData_scheme
Specify a URI scheme that is handled, as per
IntentFilter.addDataScheme().
Note: scheme matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, schemes here should always use lower case letters.
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)
AndroidManifestData_ssp
int AndroidManifestData_ssp
Specify a URI scheme specific part that must exactly match, as per
IntentFilter.addDataSchemeSpecificPart() 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 ssp.
Constant Value: 7 (0x00000007)
AndroidManifestData_sspPattern
int AndroidManifestData_sspPattern
Specify a URI scheme specific part that matches a simple pattern, as per
IntentFilter.addDataSchemeSpecificPart() 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 sspPattern.
Constant Value: 9 (0x00000009)
AndroidManifestData_sspPrefix
int AndroidManifestData_sspPrefix
Specify a URI scheme specific part that must be a prefix to match, as per
IntentFilter.addDataSchemeSpecificPart() 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 sspPrefix.
Constant Value: 8 (0x00000008)
AndroidManifestFeatureGroup_label
int AndroidManifestFeatureGroup_label
The human-readable name of the feature group.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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)
AndroidManifestGrantUriPermission_path
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)
AndroidManifestGrantUriPermission_pathPattern
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)
AndroidManifestGrantUriPermission_pathPrefix
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)
AndroidManifestInstrumentation_banner
int AndroidManifestInstrumentation_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 7 (0x00000007)
AndroidManifestInstrumentation_functionalTest
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)
AndroidManifestInstrumentation_handleProfiling
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)
AndroidManifestInstrumentation_icon
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)
AndroidManifestInstrumentation_label
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)
AndroidManifestInstrumentation_logo
int AndroidManifestInstrumentation_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 6 (0x00000006)
AndroidManifestInstrumentation_name
int AndroidManifestInstrumentation_name
Required name of the class implementing the instrumentation, deriving from
Instrumentation. This is a fully
qualified class name (for example, com.mycompany.myapp.MyActivity); as a
short-hand if the first character of the class
is a period then it is appended to your package name.
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)
AndroidManifestInstrumentation_roundIcon
int AndroidManifestInstrumentation_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 8 (0x00000008)
AndroidManifestInstrumentation_targetPackage
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)
AndroidManifestIntentFilter_autoVerify
int AndroidManifestIntentFilter_autoVerify
Specify whether an activity intent filter will need to be verified thru its set
of data URIs. This will only be used when the Intent's action is set to
Intent.ACTION_VIEW and the Intent's category is
set to Intent.CATEGORY_BROWSABLE and the
intern filter data scheme is set to "http" or "https". When set to true, the intent filter
will need to use its data tag for getting the URIs to verify with.
For each URI, an HTTPS network request will be done to /.well-known/statements.json
host to verify that the web site is okay with the app intercepting the URI.
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 autoVerify.
Constant Value: 5 (0x00000005)
AndroidManifestIntentFilter_banner
int AndroidManifestIntentFilter_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 4 (0x00000004)
AndroidManifestIntentFilter_icon
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)
AndroidManifestIntentFilter_label
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)
AndroidManifestIntentFilter_logo
int AndroidManifestIntentFilter_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 3 (0x00000003)
AndroidManifestIntentFilter_priority
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)
AndroidManifestIntentFilter_roundIcon
int AndroidManifestIntentFilter_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 6 (0x00000006)
AndroidManifestKeySet_name
int AndroidManifestKeySet_name
A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".
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)
AndroidManifestLayout_defaultHeight
int AndroidManifestLayout_defaultHeight
Default height of the activity. Can be either a fixed value or fraction, in which case the height will be constructed as a fraction of the total available height.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol defaultHeight.
Constant Value: 4 (0x00000004)
AndroidManifestLayout_defaultWidth
int AndroidManifestLayout_defaultWidth
Default width of the activity. Can be either a fixed value or fraction, in which case the width will be constructed as a fraction of the total available width.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol defaultWidth.
Constant Value: 3 (0x00000003)
AndroidManifestLayout_gravity
int AndroidManifestLayout_gravity
Where to initially position the activity inside the available space. Uses constants
defined in Gravity.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
AndroidManifestLayout_minHeight
int AndroidManifestLayout_minHeight
Minimal height of the activity.
NOTE: A task's root activity value is applied to all additional activities launched in the task. That is if the root activity of a task set minimal height, then the system will set the same minimal height on all other activities in the task. It will also ignore any other minimal height attributes of non-root activities.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minHeight.
Constant Value: 2 (0x00000002)
AndroidManifestLayout_minWidth
int AndroidManifestLayout_minWidth
Minimal width of the activity.
NOTE: A task's root activity value is applied to all additional activities launched in the task. That is if the root activity of a task set minimal width, then the system will set the same minimal width on all other activities in the task. It will also ignore any other minimal width attributes of non-root activities.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minWidth.
Constant Value: 1 (0x00000001)
AndroidManifestLibrary_name
int AndroidManifestLibrary_name
Required public name of the library, which other components and packages will use when referring to this library. This is a string using Java-style scoping to ensure it is unique. The name should typically be the same as the apk's package name.
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)
AndroidManifestMetaData_name
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)
AndroidManifestMetaData_resource
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)
AndroidManifestMetaData_value
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)
AndroidManifestOriginalPackage_name
int AndroidManifestOriginalPackage_name
A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".
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)
AndroidManifestPackageVerifier_name
int AndroidManifestPackageVerifier_name
Specifies the Java-style package name that defines this package verifier.
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)
AndroidManifestPackageVerifier_publicKey
int AndroidManifestPackageVerifier_publicKey
The Base64 encoded public key of the package verifier's 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 publicKey.
Constant Value: 1 (0x00000001)
AndroidManifestPathPermission_path
int AndroidManifestPathPermission_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: 3 (0x00000003)
AndroidManifestPathPermission_pathPattern
int AndroidManifestPathPermission_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: 5 (0x00000005)
AndroidManifestPathPermission_pathPrefix
int AndroidManifestPathPermission_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: 4 (0x00000004)
AndroidManifestPathPermission_permission
int AndroidManifestPathPermission_permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol permission.
Constant Value: 0 (0x00000000)
AndroidManifestPathPermission_readPermission
int AndroidManifestPathPermission_readPermission
A specific permission name for read-only
access to a ContentProvider. See the
Security and Permissions
document for more information on permissions.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol readPermission.
Constant Value: 1 (0x00000001)
AndroidManifestPathPermission_writePermission
int AndroidManifestPathPermission_writePermission
A specific permission name for write
access to a ContentProvider. See the
Security and Permissions
document for more information on permissions.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol writePermission.
Constant Value: 2 (0x00000002)
AndroidManifestPermissionGroup_banner
int AndroidManifestPermissionGroup_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 7 (0x00000007)
AndroidManifestPermissionGroup_description
int AndroidManifestPermissionGroup_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 4 (0x00000004)
AndroidManifestPermissionGroup_icon
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)
AndroidManifestPermissionGroup_label
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)
AndroidManifestPermissionGroup_logo
int AndroidManifestPermissionGroup_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 5 (0x00000005)
AndroidManifestPermissionGroup_name
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)
AndroidManifestPermissionGroup_permissionGroupFlags
int AndroidManifestPermissionGroup_permissionGroupFlags
Flags indicating more context for a permission group.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
personalInfo | 0x0001 | Set to indicate that this permission group contains permissions protecting access to some information that is considered personal to the user (such as contacts, e-mails, etc). |
This corresponds to the global attribute
resource symbol permissionGroupFlags.
Constant Value: 6 (0x00000006)
AndroidManifestPermissionGroup_priority
int AndroidManifestPermissionGroup_priority
Specify the relative importance or ability in handling a particular Intent. For receivers, this controls the order in which they are executed to receive a broadcast (note that for asynchronous broadcasts, this order is ignored). For activities, this provides information about how good an activity is handling an Intent; when multiple activities match an intent and have different priorities, only those with the higher priority value will be considered a match.
Only use if you really need to impose some specific order in which the broadcasts are received, or want to forcibly place an activity to always be preferred over others. The value is a single integer, with higher numbers considered to be better.
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: 3 (0x00000003)
AndroidManifestPermissionGroup_roundIcon
int AndroidManifestPermissionGroup_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 8 (0x00000008)
AndroidManifestPermissionTree_banner
int AndroidManifestPermissionTree_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 4 (0x00000004)
AndroidManifestPermissionTree_icon
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)
AndroidManifestPermissionTree_label
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)
AndroidManifestPermissionTree_logo
int AndroidManifestPermissionTree_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 3 (0x00000003)
AndroidManifestPermissionTree_name
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)
AndroidManifestPermissionTree_roundIcon
int AndroidManifestPermissionTree_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 5 (0x00000005)
AndroidManifestPermission_banner
int AndroidManifestPermission_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 8 (0x00000008)
AndroidManifestPermission_description
int AndroidManifestPermission_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 5 (0x00000005)
AndroidManifestPermission_icon
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)
AndroidManifestPermission_label
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)
AndroidManifestPermission_logo
int AndroidManifestPermission_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 6 (0x00000006)
AndroidManifestPermission_name
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)
AndroidManifestPermission_permissionFlags
int AndroidManifestPermission_permissionFlags
Flags indicating more context for a permission.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
costsMoney | 0x0001 | Set to indicate that this permission allows an operation that may cost the user money. Such permissions may be highlighted when shown to the user with this additional information. |
removed | 0x2 | Additional flag from base permission type: this permission has been removed and it is no longer enforced. It shouldn't be shown in the UI. Removed permissions are kept as normal permissions for backwards compatibility as apps may be checking them before calling an API. |
This corresponds to the global attribute
resource symbol permissionFlags.
Constant Value: 7 (0x00000007)
AndroidManifestPermission_permissionGroup
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)
AndroidManifestPermission_protectionLevel
int AndroidManifestPermission_protectionLevel
Characterizes the potential risk implied in a permission and
indicates the procedure the system should follow when determining
whether to grant the permission to an application requesting it. Standard permissions have a predefined and
permanent protectionLevel. If you are creating a custom permission in an
application, you can define a protectionLevel attribute with one of the
values listed below. If no protectionLevel is defined for a custom
permission, the system assigns the default ("normal").
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | A lower-risk permission that gives an application access to isolated application-level features, with minimal risk to other applications, the system, or the user. The system automatically grants this type of permission to a requesting application at installation, without asking for the user's explicit approval (though the user always has the option to review these permissions before installing). |
dangerous | 1 | A higher-risk permission that would give a requesting application access to private user data or control over the device that can negatively impact the user. Because this type of permission introduces potential risk, the system may not automatically grant it to the requesting application. For example, any dangerous permissions requested by an application may be displayed to the user and require confirmation before proceeding, or some other approach may be taken to avoid the user automatically allowing the use of such facilities. |
signature | 2 | A permission that the system is to grant only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval. |
signatureOrSystem | 3 | A permission that the system is to grant only to packages in the Android system image or that are signed with the same certificates. Please avoid using this option, as the signature protection level should be sufficient for most needs and works regardless of exactly where applications are installed. This permission is used for certain special situations where multiple vendors have applications built in to a system image which need to share specific features explicitly because they are being built together. |
privileged | 0x10 | Additional flag from base permission type: this permission can also be granted to any applications installed as privileged apps on the system image. Please avoid using this option, as the signature protection level should be sufficient for most needs and works regardless of exactly where applications are installed. This permission flag is used for certain special situations where multiple vendors have applications built in to a system image which need to share specific features explicitly because they are being built together. |
system | 0x10 | Old synonym for "privileged". |
development | 0x20 | Additional flag from base permission type: this permission can also (optionally) be granted to development applications. |
appop | 0x40 | Additional flag from base permission type: this permission is closely associated with an app op for controlling access. |
pre23 | 0x80 | Additional flag from base permission type: this permission can be automatically
granted to apps that target API levels below
M (before runtime permissions
were introduced). |
installer | 0x100 | Additional flag from base permission type: this permission can be automatically granted to system apps that install packages. |
verifier | 0x200 | Additional flag from base permission type: this permission can be automatically granted to system apps that verify packages. |
preinstalled | 0x400 | Additional flag from base permission type: this permission can be automatically granted any application pre-installed on the system image (not just privileged apps). |
setup | 0x800 | Additional flag from base permission type: this permission can be automatically granted to the setup wizard app |
This corresponds to the global attribute
resource symbol protectionLevel.
Constant Value: 3 (0x00000003)
AndroidManifestPermission_roundIcon
int AndroidManifestPermission_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 9 (0x00000009)
AndroidManifestProtectedBroadcast_name
int AndroidManifestProtectedBroadcast_name
A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".
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)
AndroidManifestProvider_authorities
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)
AndroidManifestProvider_banner
int AndroidManifestProvider_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 17 (0x00000011)
AndroidManifestProvider_description
int AndroidManifestProvider_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 14 (0x0000000e)
AndroidManifestProvider_directBootAware
int AndroidManifestProvider_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).
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 directBootAware.
Constant Value: 18 (0x00000012)
AndroidManifestProvider_enabled
int AndroidManifestProvider_enabled
Specify whether this provider is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).
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)
AndroidManifestProvider_exported
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)
AndroidManifestProvider_grantUriPermissions
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)
AndroidManifestProvider_icon
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)
AndroidManifestProvider_initOrder
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)
AndroidManifestProvider_label
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)
AndroidManifestProvider_logo
int AndroidManifestProvider_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 15 (0x0000000f)
AndroidManifestProvider_multiprocess
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)
AndroidManifestProvider_name
int AndroidManifestProvider_name
Required name of the class implementing the provider, deriving from
ContentProvider. This is a fully
qualified class name (for example, com.mycompany.myapp.MyProvider); as a
short-hand if the first character of the class
is a period then it is appended to your package name.
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)
AndroidManifestProvider_permission
int AndroidManifestProvider_permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.
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)
AndroidManifestProvider_process
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)
AndroidManifestProvider_readPermission
int AndroidManifestProvider_readPermission
A specific permission name for read-only
access to a ContentProvider. See the
Security and Permissions
document for more information on permissions.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol readPermission.
Constant Value: 4 (0x00000004)
AndroidManifestProvider_roundIcon
int AndroidManifestProvider_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 19 (0x00000013)
AndroidManifestProvider_singleUser
int AndroidManifestProvider_singleUser
If set to true, a single instance of this component will run for all users. That instance will run as user 0, the default/primary user. When the app running is in processes for other users and interacts with this component (by binding to a service for example) those processes will always interact with the instance running for user 0. Enabling single user mode forces "exported" of the component to be false, to help avoid introducing multi-user security bugs. This feature is only available to applications built in to the system image; you must hold the permission INTERACT_ACROSS_USERS in order to use this feature. This flag can only be used with services, receivers, and providers; it can not be used with activities.
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 singleUser.
Constant Value: 16 (0x00000010)
AndroidManifestProvider_syncable
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)
AndroidManifestProvider_writePermission
int AndroidManifestProvider_writePermission
A specific permission name for write
access to a ContentProvider. See the
Security and Permissions
document for more information on permissions.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol writePermission.
Constant Value: 5 (0x00000005)
AndroidManifestPublicKey_name
int AndroidManifestPublicKey_name
A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".
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)
AndroidManifestPublicKey_value
int AndroidManifestPublicKey_value
Concrete value to assign to this piece of named meta-data.
The data can later be retrieved from the meta data Bundle
through Bundle.getString,
Bundle.getInt,
Bundle.getBoolean,
or Bundle.getFloat depending
on the type used here.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a boolean value, 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)
AndroidManifestReceiver_banner
int AndroidManifestReceiver_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 10 (0x0000000a)
AndroidManifestReceiver_description
int AndroidManifestReceiver_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 7 (0x00000007)
AndroidManifestReceiver_directBootAware
int AndroidManifestReceiver_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).
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 directBootAware.
Constant Value: 11 (0x0000000b)
AndroidManifestReceiver_enabled
int AndroidManifestReceiver_enabled
Specify whether the receiver is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).
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)
AndroidManifestReceiver_exported
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)
AndroidManifestReceiver_icon
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)
AndroidManifestReceiver_label
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)
AndroidManifestReceiver_logo
int AndroidManifestReceiver_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 8 (0x00000008)
AndroidManifestReceiver_name
int AndroidManifestReceiver_name
Required name of the class implementing the receiver, deriving from
BroadcastReceiver. This is a fully
qualified class name (for example, com.mycompany.myapp.MyReceiver); as a
short-hand if the first character of the class
is a period then it is appended to your package name.
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)
AndroidManifestReceiver_permission
int AndroidManifestReceiver_permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.
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)
AndroidManifestReceiver_process
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)
AndroidManifestReceiver_roundIcon
int AndroidManifestReceiver_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 12 (0x0000000c)
AndroidManifestReceiver_singleUser
int AndroidManifestReceiver_singleUser
If set to true, a single instance of this component will run for all users. That instance will run as user 0, the default/primary user. When the app running is in processes for other users and interacts with this component (by binding to a service for example) those processes will always interact with the instance running for user 0. Enabling single user mode forces "exported" of the component to be false, to help avoid introducing multi-user security bugs. This feature is only available to applications built in to the system image; you must hold the permission INTERACT_ACROSS_USERS in order to use this feature. This flag can only be used with services, receivers, and providers; it can not be used with activities.
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 singleUser.
Constant Value: 9 (0x00000009)
AndroidManifestResourceOverlay_priority
int AndroidManifestResourceOverlay_priority
Load order of overlay package.
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: 0 (0x00000000)
AndroidManifestResourceOverlay_targetPackage
int AndroidManifestResourceOverlay_targetPackage
Package name of base package whose resources will be overlaid.
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: 1 (0x00000001)
AndroidManifestService_banner
int AndroidManifestService_banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER.
This must be a reference to a Drawable resource containing the image definition.
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 banner.
Constant Value: 12 (0x0000000c)
AndroidManifestService_description
int AndroidManifestService_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 7 (0x00000007)
AndroidManifestService_directBootAware
int AndroidManifestService_directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).
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 directBootAware.
Constant Value: 13 (0x0000000d)
AndroidManifestService_enabled
int AndroidManifestService_enabled
Specify whether the service is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).
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)
AndroidManifestService_exported
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)
AndroidManifestService_externalService
int AndroidManifestService_externalService
If the service is an isolatedProcess service, this permits a
client to bind to the service as if it were running it its own package. The service
must also be exported if this flag is 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 externalService.
Constant Value: 14 (0x0000000e)
AndroidManifestService_icon
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)
AndroidManifestService_isolatedProcess
int AndroidManifestService_isolatedProcess
If set to true, this service will run under a special process that is isolated from the rest of the system. The only communication with it is through the Service API (binding and starting).
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 isolatedProcess.
Constant Value: 10 (0x0000000a)
AndroidManifestService_label
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)
AndroidManifestService_logo
int AndroidManifestService_logo
A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.
The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. This must be a reference to a Drawable resource containing the image definition.
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 logo.
Constant Value: 8 (0x00000008)
AndroidManifestService_name
int AndroidManifestService_name
Required name of the class implementing the service, deriving from
Service. This is a fully
qualified class name (for example, com.mycompany.myapp.MyService); as a
short-hand if the first character of the class
is a period then it is appended to your package name.
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)
AndroidManifestService_permission
int AndroidManifestService_permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.
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)
AndroidManifestService_process
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)
AndroidManifestService_roundIcon
int AndroidManifestService_roundIcon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.
The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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 roundIcon.
Constant Value: 15 (0x0000000f)
AndroidManifestService_singleUser
int AndroidManifestService_singleUser
If set to true, a single instance of this component will run for all users. That instance will run as user 0, the default/primary user. When the app running is in processes for other users and interacts with this component (by binding to a service for example) those processes will always interact with the instance running for user 0. Enabling single user mode forces "exported" of the component to be false, to help avoid introducing multi-user security bugs. This feature is only available to applications built in to the system image; you must hold the permission INTERACT_ACROSS_USERS in order to use this feature. This flag can only be used with services, receivers, and providers; it can not be used with activities.
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 singleUser.
Constant Value: 11 (0x0000000b)
AndroidManifestService_stopWithTask
int AndroidManifestService_stopWithTask
If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application. The default is false.
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 stopWithTask.
Constant Value: 9 (0x00000009)
AndroidManifestSupportsInputInputType_name
int AndroidManifestSupportsInputInputType_name
Specifices the name of the input device type
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)
AndroidManifestSupportsScreens_anyDensity
int AndroidManifestSupportsScreens_anyDensity
Indicates whether the application can accommodate any screen density. Older applications are assumed to not be able to, new ones able to. You can explicitly supply your abilities here.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol anyDensity.
Constant Value: 0 (0x00000000)
AndroidManifestSupportsScreens_compatibleWidthLimitDp
int AndroidManifestSupportsScreens_compatibleWidthLimitDp
Starting with HONEYCOMB_MR2,
this is the new way to specify the largest screens an application is
compatible with. This attribute provides the maximum
"smallest screen width" (as per the -swNNNdp resource configuration)
that the application is designed for. If this value is smaller than
the "smallest screen width" of the device it is running on, the user
is offered to run it in a compatibility mode that emulates a
smaller screen and zooms it to fit the screen. Currently the compatibility mode only
emulates phone screens with a 320dp width, so compatibility mode is not applied if the
value for compatibleWidthLimitDp is larger than 320.
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 compatibleWidthLimitDp.
Constant Value: 7 (0x00000007)
AndroidManifestSupportsScreens_largeScreens
int AndroidManifestSupportsScreens_largeScreens
Indicates whether the application supports larger screen form-factors. A large screen is defined as a screen that is significantly larger than a normal phone screen, and thus may require some special care on the application's part to make good use of it. An example would be a VGA normal density screen, though even larger screens are certainly possible. An application that does not support large screens will be placed as a postage stamp on such a screen, so that it retains the dimensions it was originally designed for.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol largeScreens.
Constant Value: 3 (0x00000003)
AndroidManifestSupportsScreens_largestWidthLimitDp
int AndroidManifestSupportsScreens_largestWidthLimitDp
Starting with HONEYCOMB_MR2,
this is the new way to specify the screens an application is
compatible with. This attribute provides the maximum
"smallest screen width" (as per the -swNNNdp resource configuration)
that the application can work well on. If this value is smaller than
the "smallest screen width" of the device it is running on, the
application will be forced in to screen compatibility mode with
no way for the user to turn it off. Currently the compatibility mode only
emulates phone screens with a 320dp width, so compatibility mode is not applied if the
value for largestWidthLimitDp is larger than 320.
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 largestWidthLimitDp.
Constant Value: 8 (0x00000008)
AndroidManifestSupportsScreens_normalScreens
int AndroidManifestSupportsScreens_normalScreens
Indicates whether an application supports the normal screen form-factors. Traditionally this is an HVGA normal density screen, but WQVGA low density and WVGA high density are also considered to be normal. This attribute is true by default, and applications currently should leave it that way.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol normalScreens.
Constant Value: 2 (0x00000002)
AndroidManifestSupportsScreens_requiresSmallestWidthDp
int AndroidManifestSupportsScreens_requiresSmallestWidthDp
Starting with HONEYCOMB_MR2,
this is the new way to specify the minimum screen size an application is
compatible with. This attribute provides the required minimum
"smallest screen width" (as per the -swNNNdp resource configuration)
that the application can run on. For example, a typical phone
screen is 320, a 7" tablet 600, and a 10" tablet 720. If the
smallest screen width of the device is below the value supplied here,
then the application is considered incompatible with that device.
If not supplied, then any old smallScreens, normalScreens, largeScreens,
or xlargeScreens attributes will be used instead.
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 requiresSmallestWidthDp.
Constant Value: 6 (0x00000006)
AndroidManifestSupportsScreens_resizeable
int AndroidManifestSupportsScreens_resizeable
Indicates whether the application can resize itself to newer screen sizes. This is mostly used to distinguish between old applications that may not be compatible with newly introduced screen sizes and newer applications that should be; it will be set for you automatically based on whether you are targeting a newer platform that supports more screens.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol resizeable.
Constant Value: 4 (0x00000004)
AndroidManifestSupportsScreens_smallScreens
int AndroidManifestSupportsScreens_smallScreens
Indicates whether the application supports smaller screen form-factors. A small screen is defined as one with a smaller aspect ratio than the traditional HVGA screen; that is, for a portrait screen, less tall than an HVGA screen. In practice, this means a QVGA low density or VGA high density screen. An application that does not support small screens will not be available for small screen devices, since there is little the platform can do to make such an application work on a smaller screen.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol smallScreens.
Constant Value: 1 (0x00000001)
AndroidManifestSupportsScreens_xlargeScreens
int AndroidManifestSupportsScreens_xlargeScreens
Indicates whether the application supports extra large screen form-factors.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol xlargeScreens.
Constant Value: 5 (0x00000005)
AndroidManifestUpgradeKeySet_name
int AndroidManifestUpgradeKeySet_name
A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".
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)
AndroidManifestUsesConfiguration_reqFiveWayNav
int AndroidManifestUsesConfiguration_reqFiveWayNav
Application's requirement for five way navigation
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol reqFiveWayNav.
Constant Value: 4 (0x00000004)
AndroidManifestUsesConfiguration_reqHardKeyboard
int AndroidManifestUsesConfiguration_reqHardKeyboard
Application's requirement for a hard keyboard
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol reqHardKeyboard.
Constant Value: 2 (0x00000002)
AndroidManifestUsesConfiguration_reqKeyboardType
int AndroidManifestUsesConfiguration_reqKeyboardType
The input method preferred by an application.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
undefined | 0 | |
nokeys | 1 | |
qwerty | 2 | |
twelvekey | 3 |
This corresponds to the global attribute
resource symbol reqKeyboardType.
Constant Value: 1 (0x00000001)
AndroidManifestUsesConfiguration_reqNavigation
int AndroidManifestUsesConfiguration_reqNavigation
The navigation device preferred by an application.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
undefined | 0 | |
nonav | 1 | |
dpad | 2 | |
trackball | 3 | |
wheel | 4 |
This corresponds to the global attribute
resource symbol reqNavigation.
Constant Value: 3 (0x00000003)
AndroidManifestUsesConfiguration_reqTouchScreen
int AndroidManifestUsesConfiguration_reqTouchScreen
The type of touch screen used by an application.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
undefined | 0 | |
notouch | 1 | |
stylus | 2 | |
finger | 3 |
This corresponds to the global attribute
resource symbol reqTouchScreen.
Constant Value: 0 (0x00000000)
AndroidManifestUsesFeature_glEsVersion
int AndroidManifestUsesFeature_glEsVersion
The GLES driver version number needed by an application. The higher 16 bits represent the major number and the lower 16 bits represent the minor number. For example for GL 1.2 referring to 0x00000102, the actual value should be set as 0x00010002.
Must be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol glEsVersion.
Constant Value: 1 (0x00000001)
AndroidManifestUsesFeature_name
int AndroidManifestUsesFeature_name
The name of the feature that is being used.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol name.
Constant Value: 0 (0x00000000)
AndroidManifestUsesFeature_required
int AndroidManifestUsesFeature_required
Specify whether this feature is required for the application. The default is true, meaning the application requires the feature, and does not want to be installed on devices that don't support it. If you set this to false, then this will not impose a restriction on where the application can be installed.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol required.
Constant Value: 2 (0x00000002)
AndroidManifestUsesFeature_version
int AndroidManifestUsesFeature_version
The version of the feature that is being used.
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 version.
Constant Value: 3 (0x00000003)
AndroidManifestUsesLibrary_name
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)
AndroidManifestUsesLibrary_required
int AndroidManifestUsesLibrary_required
Specify whether this library is required for the application. The default is true, meaning the application requires the library, and does not want to be installed on devices that don't support it. If you set this to false, then this will allow the application to be installed even if the library doesn't exist, and you will need to check for its presence dynamically at runtime.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol required.
Constant Value: 1 (0x00000001)
AndroidManifestUsesPermission_maxSdkVersion
int AndroidManifestUsesPermission_maxSdkVersion
Optional: specify the maximum version of the Android OS for which the application wishes to request the permission. When running on a version of Android higher than the number given here, the permission will not be requested.
Must be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxSdkVersion.
Constant Value: 1 (0x00000001)
AndroidManifestUsesPermission_name
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)
AndroidManifestUsesSdk_maxSdkVersion
int AndroidManifestUsesSdk_maxSdkVersion
This is the maximum SDK version number that an application works on. You can use this to ensure your application is filtered out of later versions of the platform when you know you have incompatibility with them.
Must be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxSdkVersion.
Constant Value: 2 (0x00000002)
AndroidManifestUsesSdk_minSdkVersion
int AndroidManifestUsesSdk_minSdkVersion
This is the minimum SDK version number that the application
requires. This number is an abstract integer, from the list
in Build.VERSION_CODES If
not supplied, the application will work on any SDK. This
may also be string (such as "Donut") if the application was built
against a development branch, in which case it will only work against
the development builds.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type: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)
AndroidManifestUsesSdk_targetSdkVersion
int AndroidManifestUsesSdk_targetSdkVersion
This is the SDK version number that the application is targeting. It is able to run on older versions (down to minSdkVersion), but was explicitly tested to work with the version specified here. Specifying this version allows the platform to disable compatibility code that are not required or enable newer features that are not available to older applications. This may also be a string (such as "Donut") if this is built against a development branch, in which case minSdkVersion is also forced to be that string.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol targetSdkVersion.
Constant Value: 1 (0x00000001)
AndroidManifest_installLocation
int AndroidManifest_installLocation
The default install location defined by an application.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
auto | 0 | Let the system decide ideal install location |
internalOnly | 1 | Explicitly request to be installed on internal phone storage only. |
preferExternal | 2 | Prefer to be installed on SD card. There is no guarantee that the system will honor this request. The application might end up being installed on internal storage if external media is unavailable or too full. |
This corresponds to the global attribute
resource symbol installLocation.
Constant Value: 4 (0x00000004)
AndroidManifest_revisionCode
int AndroidManifest_revisionCode
Internal revision code. This number is the number used to determine
whether one APK is more recent than another: it has no other meaning
than that higher numbers are more recent. This value is only meaningful
when the two versionCode values are already
identical. When an app is delivered as multiple split APKs, each
APK may have a different revisionCode value.
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 revisionCode.
Constant Value: 5 (0x00000005)
AndroidManifest_sharedUserId
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)
AndroidManifest_sharedUserLabel
int AndroidManifest_sharedUserLabel
Specify a label for the shared user UID of this package. This is only used if you have also used android:sharedUserId. This must be a reference to a string resource; it can not be an explicit string.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol sharedUserLabel.
Constant Value: 3 (0x00000003)
AndroidManifest_versionCode
int AndroidManifest_versionCode
Internal version code. This is the number used to determine whether
one version is more recent than another: it has no other meaning than
that higher numbers are more recent. You could use this number to
encode a "x.y" in the lower and upper 16 bits, make it a build
number, simply increase it by one each time a new version is
released, or define it however else you want, as long as each
successive version has a higher number. This is not a version
number generally shown to the user, that is usually supplied
with versionName. When an app is delivered
as multiple split APKs, each APK must have the exact same versionCode.
Must be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol versionCode.
Constant Value: 1 (0x00000001)
AndroidManifest_versionName
int AndroidManifest_versionName
The text shown to the user to indicate the version they have. This
is used for no other purpose than display to the user; the actual
significant version number is given by versionCode.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol versionName.
Constant Value: 2 (0x00000002)
AnimatedRotateDrawable_drawable
int AnimatedRotateDrawable_drawable
Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.
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)
AnimatedRotateDrawable_pivotX
int AnimatedRotateDrawable_pivotX
This symbol is the offset where the pivotX
attribute's value can be found in the AnimatedRotateDrawable array.
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 2 (0x00000002)
AnimatedRotateDrawable_pivotY
int AnimatedRotateDrawable_pivotY
This symbol is the offset where the pivotY
attribute's value can be found in the AnimatedRotateDrawable array.
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 3 (0x00000003)
AnimatedRotateDrawable_visible
int AnimatedRotateDrawable_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)
AnimatedStateListDrawableItem_drawable
int AnimatedStateListDrawableItem_drawable
Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.
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)
AnimatedStateListDrawableItem_id
int AnimatedStateListDrawableItem_id
Keyframe identifier for use in specifying transitions.
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)
AnimatedStateListDrawableTransition_drawable
int AnimatedStateListDrawableTransition_drawable
Reference to a animation drawable resource to use for the frame. If not given, the animation drawable must be defined by the first child tag.
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)
AnimatedStateListDrawableTransition_fromId
int AnimatedStateListDrawableTransition_fromId
Keyframe identifier for the starting state.
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 fromId.
Constant Value: 2 (0x00000002)
AnimatedStateListDrawableTransition_reversible
int AnimatedStateListDrawableTransition_reversible
Whether this transition is reversible.
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 reversible.
Constant Value: 3 (0x00000003)
AnimatedStateListDrawableTransition_toId
int AnimatedStateListDrawableTransition_toId
Keyframe identifier for the ending state.
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 toId.
Constant Value: 1 (0x00000001)
AnimatedStateListDrawable_autoMirrored
int AnimatedStateListDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
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 autoMirrored.
Constant Value: 6 (0x00000006)
AnimatedStateListDrawable_constantSize
int AnimatedStateListDrawable_constantSize
If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. If false, the size will vary based on the current state.
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: 3 (0x00000003)
AnimatedStateListDrawable_dither
int AnimatedStateListDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).
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: 0 (0x00000000)
AnimatedStateListDrawable_enterFadeDuration
int AnimatedStateListDrawable_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable.
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 enterFadeDuration.
Constant Value: 4 (0x00000004)
AnimatedStateListDrawable_exitFadeDuration
int AnimatedStateListDrawable_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable.
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 exitFadeDuration.
Constant Value: 5 (0x00000005)
AnimatedStateListDrawable_variablePadding
int AnimatedStateListDrawable_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. If false, the padding will stay the same (based on the maximum padding of all the states). Enabling this feature requires that the owner of the drawable deal with performing layout when the state changes, which is often not supported.
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: 2 (0x00000002)
AnimatedStateListDrawable_visible
int AnimatedStateListDrawable_visible
Indicates whether the drawable should be initially 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: 1 (0x00000001)
AnimatedVectorDrawableTarget_animation
int AnimatedVectorDrawableTarget_animation
The animation for the target path, group or vector 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 animation.
Constant Value: 1 (0x00000001)
AnimatedVectorDrawableTarget_name
int AnimatedVectorDrawableTarget_name
The name of the target path, group or vector drawable
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)
AnimatedVectorDrawable_drawable
int AnimatedVectorDrawable_drawable
The static vector 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 drawable.
Constant Value: 0 (0x00000000)
AnimationDrawableItem_drawable
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)
AnimationDrawableItem_duration
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)
AnimationDrawable_oneshot
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)
AnimationDrawable_variablePadding
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)
AnimationDrawable_visible
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)
AnimationScaleListDrawableItem_drawable
int AnimationScaleListDrawableItem_drawable
Reference to a drawable resource to use for the state. If not given, the drawable must be defined by the first child tag.
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)
AnimationSet_duration
int AnimationSet_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)
AnimationSet_fillAfter
int AnimationSet_fillAfter
When set to true, the animation transformation is applied after the animation is over. The default value is false. If fillEnabled is not set to true and the animation is not set on a View, fillAfter is assumed to be true.
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)
AnimationSet_fillBefore
int AnimationSet_fillBefore
When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. The default value is true.
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)
AnimationSet_repeatMode
int AnimationSet_repeatMode
Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. The default value is restart.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
restart | 1 | The animation starts again from the beginning. |
reverse | 2 | The animation plays backward. |
This corresponds to the global attribute
resource symbol repeatMode.
Constant Value: 5 (0x00000005)
AnimationSet_shareInterpolator
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: 1 (0x00000001)
AnimationSet_startOffset
int AnimationSet_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)
Animation_background
int Animation_background
Special background behind animation. Only for use with window animations. Can only be a color, and only black. If 0, the default, there is no background.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 0 (0x00000000)
Animation_detachWallpaper
int Animation_detachWallpaper
Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol detachWallpaper.
Constant Value: 10 (0x0000000a)
Animation_duration
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: 2 (0x00000002)
Animation_fillAfter
int Animation_fillAfter
When set to true, the animation transformation is applied after the animation is over. The default value is false. If fillEnabled is not set to true and the animation is not set on a View, fillAfter is assumed to be true.
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: 4 (0x00000004)
Animation_fillBefore
int Animation_fillBefore
When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. The default value is true.
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: 3 (0x00000003)
Animation_fillEnabled
int Animation_fillEnabled
When set to true, the value of fillBefore is taken into account.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol fillEnabled.
Constant Value: 9 (0x00000009)
Animation_interpolator
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: 1 (0x00000001)
Animation_repeatCount
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.
| Constant | Value | Description |
|---|---|---|
infinite | -1 |
This corresponds to the global attribute
resource symbol repeatCount.
Constant Value: 6 (0x00000006)
Animation_repeatMode
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.
| Constant | Value | Description |
|---|---|---|
restart | 1 | The animation starts again from the beginning. |
reverse | 2 | The animation plays backward. |
This corresponds to the global attribute
resource symbol repeatMode.
Constant Value: 7 (0x00000007)
Animation_startOffset
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: 5 (0x00000005)
Animation_zAdjustment
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.
| Constant | Value | Description |
|---|---|---|
normal | 0 | The content being animated be kept in its current Z order. |
top | 1 | The content being animated is forced on top of all other content for the duration of the animation. |
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: 8 (0x00000008)
AnimatorSet_ordering
int AnimatorSet_ordering
Name of the property being animated.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
together | 0 | child animations should be played together. |
sequentially | 1 | child animations should be played sequentially, in the same order as the xml. |
This corresponds to the global attribute
resource symbol ordering.
Constant Value: 0 (0x00000000)
Animator_duration
int Animator_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)
Animator_interpolator
int Animator_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)
Animator_repeatCount
int Animator_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.
| Constant | Value | Description |
|---|---|---|
infinite | -1 |
This corresponds to the global attribute
resource symbol repeatCount.
Constant Value: 3 (0x00000003)
Animator_repeatMode
int Animator_repeatMode
Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. The default value is restart.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
restart | 1 | The animation starts again from the beginning. |
reverse | 2 | The animation plays backward. |
This corresponds to the global attribute
resource symbol repeatMode.
Constant Value: 4 (0x00000004)
Animator_startOffset
int Animator_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: 2 (0x00000002)
Animator_valueFrom
int Animator_valueFrom
Value the animation starts from.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a color value, in the form of "#rgb", "#argb",
"#rrggbb", or "#aarrggbb".
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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 valueFrom.
Constant Value: 5 (0x00000005)
Animator_valueTo
int Animator_valueTo
Value the animation animates to.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a color value, in the form of "#rgb", "#argb",
"#rrggbb", or "#aarrggbb".
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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 valueTo.
Constant Value: 6 (0x00000006)
Animator_valueType
int Animator_valueType
The type of valueFrom and valueTo.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
floatType | 0 | The given values are floats. This is the default value if valueType is unspecified. Note that if any value attribute has a color value (beginning with "#"), then this attribute is ignored and the color values are interpreted as integers. |
intType | 1 | values are integers. |
pathType | 2 | values are paths defined as strings. This type is used for path morphing in AnimatedVectorDrawable. |
colorType | 3 | values are colors, which are integers starting with "#". |
This corresponds to the global attribute
resource symbol valueType.
Constant Value: 7 (0x00000007)
AnticipateInterpolator_tension
int AnticipateInterpolator_tension
This is the amount of tension.
Must be a floating point value, such as "1.2".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol tension.
Constant Value: 0 (0x00000000)
AnticipateOvershootInterpolator_extraTension
int AnticipateOvershootInterpolator_extraTension
This is the amount by which to multiply the tension.
Must be a floating point value, such as "1.2".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol extraTension.
Constant Value: 1 (0x00000001)
AnticipateOvershootInterpolator_tension
int AnticipateOvershootInterpolator_tension
This is the amount of tension.
Must be a floating point value, such as "1.2".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol tension.
Constant Value: 0 (0x00000000)
AppWidgetProviderInfo_autoAdvanceViewId
int AppWidgetProviderInfo_autoAdvanceViewId
The view id of the AppWidget subview which should be auto-advanced. by the widget's host.
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 autoAdvanceViewId.
Constant Value: 6 (0x00000006)
AppWidgetProviderInfo_configure
int AppWidgetProviderInfo_configure
A class name in the AppWidget's package to be launched to configure. If not supplied, then no activity will be launched.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol configure.
Constant Value: 4 (0x00000004)
AppWidgetProviderInfo_initialKeyguardLayout
int AppWidgetProviderInfo_initialKeyguardLayout
A resource id of a layout.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol initialKeyguardLayout.
Constant Value: 10 (0x0000000a)
AppWidgetProviderInfo_initialLayout
int AppWidgetProviderInfo_initialLayout
A resource id of a layout.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol initialLayout.
Constant Value: 3 (0x00000003)
AppWidgetProviderInfo_minHeight
int AppWidgetProviderInfo_minHeight
Minimum height of the AppWidget.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minHeight.
Constant Value: 1 (0x00000001)
AppWidgetProviderInfo_minResizeHeight
int AppWidgetProviderInfo_minResizeHeight
Minimum height that the AppWidget can be resized to.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minResizeHeight.
Constant Value: 9 (0x00000009)
AppWidgetProviderInfo_minResizeWidth
int AppWidgetProviderInfo_minResizeWidth
Minimum width that the AppWidget can be resized to.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minResizeWidth.
Constant Value: 8 (0x00000008)
AppWidgetProviderInfo_minWidth
int AppWidgetProviderInfo_minWidth
Minimum width of the AppWidget.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minWidth.
Constant Value: 0 (0x00000000)
AppWidgetProviderInfo_previewImage
int AppWidgetProviderInfo_previewImage
A preview of what the AppWidget will look like after it's configured. If not supplied, the AppWidget's icon 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 previewImage.
Constant Value: 5 (0x00000005)
AppWidgetProviderInfo_resizeMode
int AppWidgetProviderInfo_resizeMode
Optional parameter which indicates if and how this widget can be resized. Supports combined values using | operator.
May be an integer value, such as "100".
This may also be a reference 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 or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x0 | |
horizontal | 0x1 | |
vertical | 0x2 |
This corresponds to the global attribute
resource symbol resizeMode.
Constant Value: 7 (0x00000007)
AppWidgetProviderInfo_updatePeriodMillis
int AppWidgetProviderInfo_updatePeriodMillis
Update period in milliseconds, or 0 if the AppWidget will update itself.
Must be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol updatePeriodMillis.
Constant Value: 2 (0x00000002)
AppWidgetProviderInfo_widgetCategory
int AppWidgetProviderInfo_widgetCategory
Optional parameter which indicates where this widget can be shown, ie. home screen, keyguard, search bar or any combination thereof. Supports combined values using | operator.
May be an integer value, such as "100".
This may also be a reference 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 or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
home_screen | 0x1 | |
keyguard | 0x2 | |
searchbox | 0x4 |
This corresponds to the global attribute
resource symbol widgetCategory.
Constant Value: 11 (0x0000000b)
ArcMotion_maximumAngle
int ArcMotion_maximumAngle
The maximum arc angle in degrees between the start and end points.
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 maximumAngle.
Constant Value: 2 (0x00000002)
ArcMotion_minimumHorizontalAngle
int ArcMotion_minimumHorizontalAngle
The minimum arc angle in degrees between the start and end points when they are close to horizontal.
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 minimumHorizontalAngle.
Constant Value: 0 (0x00000000)
ArcMotion_minimumVerticalAngle
int ArcMotion_minimumVerticalAngle
The minimum arc angle in degrees between the start and end points when they are close to vertical.
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 minimumVerticalAngle.
Constant Value: 1 (0x00000001)
AutoCompleteTextView_completionHint
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)
AutoCompleteTextView_completionHintView
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)
AutoCompleteTextView_completionThreshold
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)
AutoCompleteTextView_dropDownAnchor
int AutoCompleteTextView_dropDownAnchor
View to anchor the auto-complete dropdown to. If not specified, the text view itself is used.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol dropDownAnchor.
Constant Value: 6 (0x00000006)
AutoCompleteTextView_dropDownHeight
int AutoCompleteTextView_dropDownHeight
Specifies the basic height of the dropdown. Its value may be a dimension (such as "12dip") for a constant height, fill_parent or match_parent to fill the height of the screen, or wrap_content to match the height of the content of the drop down.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The dropdown should fit the height of the screen.
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The dropdown should fit the height of the screen. Introduced in API Level 8. |
wrap_content | -2 | The dropdown should fit the height of the content. |
This corresponds to the global attribute
resource symbol dropDownHeight.
Constant Value: 7 (0x00000007)
AutoCompleteTextView_dropDownSelector
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)
AutoCompleteTextView_dropDownWidth
int AutoCompleteTextView_dropDownWidth
Specifies the basic width of the dropdown. Its value may be a dimension (such as "12dip") for a constant width, fill_parent or match_parent to match the width of the screen, or wrap_content to match the width of the anchored view.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The dropdown should fill the width of the screen.
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The dropdown should fit the width of the screen. Introduced in API Level 8. |
wrap_content | -2 | The dropdown should fit the width of its anchor. |
This corresponds to the global attribute
resource symbol dropDownWidth.
Constant Value: 5 (0x00000005)
AutoCompleteTextView_inputType
int AutoCompleteTextView_inputType
The type of data being placed in a text field, used to help an
input method decide how to let the user enter text. The constants
here correspond to those defined by
InputType. Generally you can select
a single value, though some can be combined together as
indicated. Setting this attribute to anything besides
none also implies that the text is editable.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x00000000 | There is no content type. The text is not editable. |
text | 0x00000001 | Just plain old text. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_NORMAL. |
textCapCharacters | 0x00001001 | Can be combined with text and its variations to
request capitalization of all characters. Corresponds to
TYPE_TEXT_FLAG_CAP_CHARACTERS. |
textCapWords | 0x00002001 | Can be combined with text and its variations to
request capitalization of the first character of every word. Corresponds to
TYPE_TEXT_FLAG_CAP_WORDS. |
textCapSentences | 0x00004001 | Can be combined with text and its variations to
request capitalization of the first character of every sentence. Corresponds to
TYPE_TEXT_FLAG_CAP_SENTENCES. |
textAutoCorrect | 0x00008001 | Can be combined with text and its variations to
request auto-correction of text being input. Corresponds to
TYPE_TEXT_FLAG_AUTO_CORRECT. |
textAutoComplete | 0x00010001 | Can be combined with text and its variations to
specify that this field will be doing its own auto-completion and
talking with the input method appropriately. Corresponds to
TYPE_TEXT_FLAG_AUTO_COMPLETE. |
textMultiLine | 0x00020001 | Can be combined with text and its variations to
allow multiple lines of text in the field. If this flag is not set,
the text field will be constrained to a single line. Corresponds to
TYPE_TEXT_FLAG_MULTI_LINE. |
textImeMultiLine | 0x00040001 | Can be combined with text and its variations to
indicate that though the regular text view should not be multiple
lines, the IME should provide multiple lines if it can. Corresponds to
TYPE_TEXT_FLAG_IME_MULTI_LINE. |
textNoSuggestions | 0x00080001 | Can be combined with text and its variations to
indicate that the IME should not show any
dictionary-based word suggestions. Corresponds to
TYPE_TEXT_FLAG_NO_SUGGESTIONS. |
textUri | 0x00000011 | Text that will be used as a URI. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_URI. |
textEmailAddress | 0x00000021 | Text that will be used as an e-mail address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_ADDRESS. |
textEmailSubject | 0x00000031 | Text that is being supplied as the subject of an e-mail. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_SUBJECT. |
textShortMessage | 0x00000041 | Text that is the content of a short message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_SHORT_MESSAGE. |
textLongMessage | 0x00000051 | Text that is the content of a long message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_LONG_MESSAGE. |
textPersonName | 0x00000061 | Text that is the name of a person. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PERSON_NAME. |
textPostalAddress | 0x00000071 | Text that is being supplied as a postal mailing address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_POSTAL_ADDRESS. |
textPassword | 0x00000081 | Text that is a password. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PASSWORD. |
textVisiblePassword | 0x00000091 | Text that is a password that should be visible. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_VISIBLE_PASSWORD. |
textWebEditText | 0x000000a1 | Text that is being supplied as text in a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EDIT_TEXT. |
textFilter | 0x000000b1 | Text that is filtering some other data. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_FILTER. |
textPhonetic | 0x000000c1 | Text that is for phonetic pronunciation, such as a phonetic name
field in a contact entry. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PHONETIC. |
textWebEmailAddress | 0x000000d1 | Text that will be used as an e-mail address on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. |
textWebPassword | 0x000000e1 | Text that will be used as a password on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_PASSWORD. |
number | 0x00000002 | A numeric only field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_NORMAL. |
numberSigned | 0x00001002 | Can be combined with number and its other options to
allow a signed number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_SIGNED. |
numberDecimal | 0x00002002 | Can be combined with number and its other options to
allow a decimal (fractional) number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_DECIMAL. |
numberPassword | 0x00000012 | A numeric password field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_PASSWORD. |
phone | 0x00000003 | For entering a phone number. Corresponds to
TYPE_CLASS_PHONE. |
datetime | 0x00000004 | For entering a date and time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_NORMAL. |
date | 0x00000014 | For entering a date. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_DATE. |
time | 0x00000024 | For entering a time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_TIME. |
This corresponds to the global attribute
resource symbol inputType.
Constant Value: 4 (0x00000004)
AutoCompleteTextView_popupTheme
int AutoCompleteTextView_popupTheme
Theme to use for the completion popup 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 popupTheme.
Constant Value: 8 (0x00000008)
BitmapDrawable_alpha
int BitmapDrawable_alpha
Specifies the alpha multiplier to apply to the base drawable.
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 alpha.
Constant Value: 7 (0x00000007)
BitmapDrawable_antialias
int BitmapDrawable_antialias
Enables or disables antialiasing. Antialiasing can be used to smooth the edges of a bitmap when rotated. 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 antialias.
Constant Value: 2 (0x00000002)
BitmapDrawable_autoMirrored
int BitmapDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
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 autoMirrored.
Constant Value: 9 (0x00000009)
BitmapDrawable_dither
int BitmapDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). Default value is true.
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)
BitmapDrawable_filter
int BitmapDrawable_filter
Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its apperance. 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 filter.
Constant Value: 3 (0x00000003)
BitmapDrawable_gravity
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.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
BitmapDrawable_mipMap
int BitmapDrawable_mipMap
Enables or disables the mipmap hint. See
setHasMipMap(boolean) for more information.
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 mipMap.
Constant Value: 8 (0x00000008)
BitmapDrawable_src
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)
BitmapDrawable_tileMode
int BitmapDrawable_tileMode
Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled. Default value is "disabled".
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
disabled | -1 | Do not tile the bitmap. This is the default value. |
clamp | 0 | Replicates the edge color. |
repeat | 1 | Repeats the bitmap in both direction. |
mirror | 2 | 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: 6 (0x00000006)
BitmapDrawable_tileModeX
int BitmapDrawable_tileModeX
Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled. Default value is "disabled".
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
disabled | -1 | Do not tile the bitmap. This is the default value. |
clamp | 0 | Replicates the edge color. |
repeat | 1 | Repeats the bitmap horizontally. |
mirror | 2 | Repeats the shader's image horizontally, alternating mirror images so that adjacent images always seam. |
This corresponds to the global attribute
resource symbol tileModeX.
Constant Value: 11 (0x0000000b)
BitmapDrawable_tileModeY
int BitmapDrawable_tileModeY
Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled. Default value is "disabled".
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
disabled | -1 | Do not tile the bitmap. This is the default value. |
clamp | 0 | Replicates the edge color. |
repeat | 1 | Repeats the bitmap vertically. |
mirror | 2 | Repeats the shader's image vertically, alternating mirror images so that adjacent images always seam. |
This corresponds to the global attribute
resource symbol tileModeY.
Constant Value: 12 (0x0000000c)
BitmapDrawable_tint
int BitmapDrawable_tint
If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.
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)
BitmapDrawable_tintMode
int BitmapDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. The default value is src_in, which treats the drawable as an alpha mask.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol tintMode.
Constant Value: 10 (0x0000000a)
CalendarView_dateTextAppearance
int CalendarView_dateTextAppearance
The text appearance for the day numbers in the calendar grid.
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 dateTextAppearance.
Constant Value: 12 (0x0000000c)
CalendarView_firstDayOfWeek
int CalendarView_firstDayOfWeek
The first day of week according to Calendar.
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 firstDayOfWeek.
Constant Value: 0 (0x00000000)
CalendarView_focusedMonthDateColor
int CalendarView_focusedMonthDateColor
This constant is deprecated.
The color for the dates of the focused month.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 focusedMonthDateColor.
Constant Value: 6 (0x00000006)
CalendarView_maxDate
int CalendarView_maxDate
The maximal date shown by this calendar view in mm/dd/yyyy format.
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 maxDate.
Constant Value: 3 (0x00000003)
CalendarView_minDate
int CalendarView_minDate
The minimal date shown by this calendar view in mm/dd/yyyy format.
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 minDate.
Constant Value: 2 (0x00000002)
CalendarView_selectedDateVerticalBar
int CalendarView_selectedDateVerticalBar
This constant is deprecated.
Drawable for the vertical bar shown at the beginning and at the end of the selected date.
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 selectedDateVerticalBar.
Constant Value: 10 (0x0000000a)
CalendarView_selectedWeekBackgroundColor
int CalendarView_selectedWeekBackgroundColor
This constant is deprecated.
The background color for the selected week.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 selectedWeekBackgroundColor.
Constant Value: 5 (0x00000005)
CalendarView_showWeekNumber
int CalendarView_showWeekNumber
This constant is deprecated.
Whether do show week numbers.
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 showWeekNumber.
Constant Value: 1 (0x00000001)
CalendarView_shownWeekCount
int CalendarView_shownWeekCount
This constant is deprecated.
The number of weeks to be shown.
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 shownWeekCount.
Constant Value: 4 (0x00000004)
CalendarView_unfocusedMonthDateColor
int CalendarView_unfocusedMonthDateColor
This constant is deprecated.
The color for the dates of an unfocused month.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 unfocusedMonthDateColor.
Constant Value: 7 (0x00000007)
CalendarView_weekDayTextAppearance
int CalendarView_weekDayTextAppearance
The text appearance for the week day abbreviation in the calendar header.
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 weekDayTextAppearance.
Constant Value: 11 (0x0000000b)
CalendarView_weekNumberColor
int CalendarView_weekNumberColor
This constant is deprecated.
The color for the week numbers.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 weekNumberColor.
Constant Value: 8 (0x00000008)
CalendarView_weekSeparatorLineColor
int CalendarView_weekSeparatorLineColor
This constant is deprecated.
The color for the separator line between weeks.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 weekSeparatorLineColor.
Constant Value: 9 (0x00000009)
ChangeBounds_resizeClip
int ChangeBounds_resizeClip
Resize the view by adjusting the clipBounds rather than changing the dimensions of the view itself. 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 resizeClip.
Constant Value: 0 (0x00000000)
ChangeTransform_reparent
int ChangeTransform_reparent
Tells ChangeTransform to track parent changes. Default is true. Corresponds to
setReparent(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 reparent.
Constant Value: 0 (0x00000000)
ChangeTransform_reparentWithOverlay
int ChangeTransform_reparentWithOverlay
A parent change should use an overlay or affect the transform of the
transitionining View. Default is true. Corresponds to
setReparentWithOverlay(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 reparentWithOverlay.
Constant Value: 1 (0x00000001)
CheckBoxPreference_disableDependentsState
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)
CheckBoxPreference_summaryOff
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)
CheckBoxPreference_summaryOn
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)
CheckedTextView_checkMark
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)
CheckedTextView_checkMarkTint
int CheckedTextView_checkMarkTint
Tint to apply to the check mark.
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 checkMarkTint.
Constant Value: 2 (0x00000002)
CheckedTextView_checkMarkTintMode
int CheckedTextView_checkMarkTintMode
Blending mode used to apply the check mark tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol checkMarkTintMode.
Constant Value: 3 (0x00000003)
CheckedTextView_checked
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)
Chronometer_countDown
int Chronometer_countDown
Specifies whether this Chronometer counts down or counts up from the base. If not specified this is false and the Chronometer counts up.
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 countDown.
Constant Value: 1 (0x00000001)
Chronometer_format
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)
ClipDrawable_clipOrientation
int ClipDrawable_clipOrientation
The orientation for the clip.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
horizontal | 1 | Clip the drawable horizontally. |
vertical | 2 | Clip the drawable vertically. |
This corresponds to the global attribute
resource symbol clipOrientation.
Constant Value: 2 (0x00000002)
ClipDrawable_drawable
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)
ClipDrawable_gravity
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.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
ColorDrawable_color
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)
ColorStateListItem_alpha
int ColorStateListItem_alpha
Alpha multiplier applied to the base color.
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 alpha.
Constant Value: 1 (0x00000001)
ColorStateListItem_color
int ColorStateListItem_color
Base color for this state.
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)
CompoundButton_button
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)
CompoundButton_buttonTint
int CompoundButton_buttonTint
Tint to apply to the button graphic.
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 buttonTint.
Constant Value: 2 (0x00000002)
CompoundButton_buttonTintMode
int CompoundButton_buttonTintMode
Blending mode used to apply the button graphic tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol buttonTintMode.
Constant Value: 3 (0x00000003)
CompoundButton_checked
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)
ContactsDataKind_allContactsName
int ContactsDataKind_allContactsName
Resource representing the term "All Contacts" (e.g. "All Friends" or "All connections"). Optional (Default is "All Contacts").
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 allContactsName.
Constant Value: 5 (0x00000005)
ContactsDataKind_detailColumn
int ContactsDataKind_detailColumn
Column in data table that contains details for this 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 detailColumn.
Constant Value: 3 (0x00000003)
ContactsDataKind_detailSocialSummary
int ContactsDataKind_detailSocialSummary
Flag indicating that detail should be built from SocialProvider.
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 detailSocialSummary.
Constant Value: 4 (0x00000004)
ContactsDataKind_icon
int ContactsDataKind_icon
Icon used to represent data of this kind.
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)
ContactsDataKind_mimeType
int ContactsDataKind_mimeType
Mime-type handled by this mapping.
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)
ContactsDataKind_summaryColumn
int ContactsDataKind_summaryColumn
Column in data table that summarizes this 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 summaryColumn.
Constant Value: 2 (0x00000002)
CycleInterpolator_cycles
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)
DatePicker_calendarTextColor
int DatePicker_calendarTextColor
The text color list of the calendar.
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 calendarTextColor.
Constant Value: 15 (0x0000000f)
DatePicker_calendarViewShown
int DatePicker_calendarViewShown
Whether the calendar view is shown. Only valid for "spinner" 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 calendarViewShown.
Constant Value: 7 (0x00000007)
DatePicker_datePickerMode
int DatePicker_datePickerMode
Defines the look of the widget. Prior to the L release, the only choice was spinner. As of L, with the Material theme selected, the default layout is calendar, but this attribute can be used to force spinner to be used instead.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
spinner | 1 | Date picker with spinner controls to select the date. |
calendar | 2 | Date picker with calendar to select the date. |
This corresponds to the global attribute
resource symbol datePickerMode.
Constant Value: 16 (0x00000010)
DatePicker_dayOfWeekBackground
int DatePicker_dayOfWeekBackground
The background color for the header's day of week.
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 dayOfWeekBackground.
Constant Value: 8 (0x00000008)
DatePicker_dayOfWeekTextAppearance
int DatePicker_dayOfWeekTextAppearance
The text color for the header's day of week.
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 dayOfWeekTextAppearance.
Constant Value: 9 (0x00000009)
DatePicker_endYear
int DatePicker_endYear
The last year (inclusive), for example "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: 2 (0x00000002)
DatePicker_firstDayOfWeek
int DatePicker_firstDayOfWeek
The first day of week according to Calendar.
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 firstDayOfWeek.
Constant Value: 3 (0x00000003)
DatePicker_headerBackground
int DatePicker_headerBackground
The background for the selected date 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: 0 (0x00000000)
DatePicker_headerDayOfMonthTextAppearance
int DatePicker_headerDayOfMonthTextAppearance
The text appearance for the day of month (ex. 28) in the selected date header.
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 headerDayOfMonthTextAppearance.
Constant Value: 11 (0x0000000b)
DatePicker_headerMonthTextAppearance
int DatePicker_headerMonthTextAppearance
The text appearance for the month (ex. May) in the selected date header.
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 headerMonthTextAppearance.
Constant Value: 10 (0x0000000a)
DatePicker_headerYearTextAppearance
int DatePicker_headerYearTextAppearance
The text appearance for the year (ex. 2014) in the selected date header.
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 headerYearTextAppearance.
Constant Value: 12 (0x0000000c)
DatePicker_maxDate
int DatePicker_maxDate
The maximal date shown by this calendar view in mm/dd/yyyy format.
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 maxDate.
Constant Value: 5 (0x00000005)
DatePicker_minDate
int DatePicker_minDate
The minimal date shown by this calendar view in mm/dd/yyyy format.
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 minDate.
Constant Value: 4 (0x00000004)
DatePicker_spinnersShown
int DatePicker_spinnersShown
Whether the spinners are shown. Only valid for "spinner" 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 spinnersShown.
Constant Value: 6 (0x00000006)
DatePicker_startYear
int DatePicker_startYear
The first year (inclusive), for example "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: 1 (0x00000001)
DatePicker_yearListItemTextAppearance
int DatePicker_yearListItemTextAppearance
The list year's text appearance in the list.
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 yearListItemTextAppearance.
Constant Value: 13 (0x0000000d)
DatePicker_yearListSelectorColor
int DatePicker_yearListSelectorColor
The list year's selected circle color in the list.
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 yearListSelectorColor.
Constant Value: 14 (0x0000000e)
DecelerateInterpolator_factor
int DecelerateInterpolator_factor
This is the amount of acceleration to add 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)
DeviceAdmin_visible
int DeviceAdmin_visible
Control whether the admin is visible to the user, even when it is not enabled. This is true by default. You may want to make it false if your admin does not make sense to be turned on unless some explicit action happens in your app.
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)
DialogPreference_dialogIcon
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)
DialogPreference_dialogLayout
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)
DialogPreference_dialogMessage
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)
DialogPreference_dialogTitle
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)
DialogPreference_negativeButtonText
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)
DialogPreference_positiveButtonText
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)
DrawableCorners_bottomLeftRadius
int DrawableCorners_bottomLeftRadius
Radius of the bottom left corner.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol bottomLeftRadius.
Constant Value: 3 (0x00000003)
DrawableCorners_bottomRightRadius
int DrawableCorners_bottomRightRadius
Radius of the bottom right corner.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol bottomRightRadius.
Constant Value: 4 (0x00000004)
DrawableCorners_radius
int DrawableCorners_radius
Defines the radius of the four corners.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol radius.
Constant Value: 0 (0x00000000)
DrawableCorners_topLeftRadius
int DrawableCorners_topLeftRadius
Radius of the top left corner.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol topLeftRadius.
Constant Value: 1 (0x00000001)
DrawableCorners_topRightRadius
int DrawableCorners_topRightRadius
Radius of the top right corner.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol topRightRadius.
Constant Value: 2 (0x00000002)
DrawableStates_state_accelerated
int DrawableStates_state_accelerated
State value for StateListDrawable,
indicating that the Drawable is in a view that is hardware accelerated.
This means that the device can at least render a full-screen scaled
bitmap with one layer of text and bitmaps composited on top of it
at 60fps. When this is set, the colorBackgroundCacheHint will be
ignored even if it specifies a solid color, since that optimization
is not needed.
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_accelerated.
Constant Value: 13 (0x0000000d)
DrawableStates_state_activated
int DrawableStates_state_activated
State value for StateListDrawable,
set when a view or its parent has been "activated" meaning the user has currently
marked it as being of interest. This is an alternative representation of
state_checked for when the state should be propagated down the view hierarchy.
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_activated.
Constant Value: 12 (0x0000000c)
DrawableStates_state_active
int DrawableStates_state_active
State value for StateListDrawable,
set when a view or drawable is considered "active" by its host. Actual usage may vary
between views. Consult the host view documentation for details.
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)
DrawableStates_state_checkable
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)
DrawableStates_state_checked
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)
DrawableStates_state_drag_can_accept
int DrawableStates_state_drag_can_accept
State for StateListDrawable
indicating that the Drawable is in a view that is capable of accepting a drop of
the content currently being manipulated in a drag-and-drop operation.
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_drag_can_accept.
Constant Value: 15 (0x0000000f)
DrawableStates_state_drag_hovered
int DrawableStates_state_drag_hovered
State for StateListDrawable
indicating that a drag operation (for which the Drawable's view is a valid recipient)
is currently positioned over the Drawable.
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_drag_hovered.
Constant Value: 16 (0x00000010)
DrawableStates_state_enabled
int DrawableStates_state_enabled
State value for StateListDrawable,
set when a view 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 state_enabled.
Constant Value: 2 (0x00000002)
DrawableStates_state_first
int DrawableStates_state_first
State value for StateListDrawable,
set when a view or drawable is in the first position in an ordered set. Actual usage
may vary between views. Consult the host view documentation for details.
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)
DrawableStates_state_focused
int DrawableStates_state_focused
State value for StateListDrawable,
set when a view has input 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 state_focused.
Constant Value: 0 (0x00000000)
DrawableStates_state_hovered
int DrawableStates_state_hovered
State value for StateListDrawable,
set when a pointer is hovering over the view.
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_hovered.
Constant Value: 14 (0x0000000e)
DrawableStates_state_last
int DrawableStates_state_last
State value for StateListDrawable,
set when a view or drawable is in the last position in an ordered set. Actual usage
may vary between views. Consult the host view documentation for details.
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)
DrawableStates_state_middle
int DrawableStates_state_middle
State value for StateListDrawable,
set when a view or drawable is in the middle position in an ordered set. Actual usage
may vary between views. Consult the host view documentation for details.
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)
DrawableStates_state_pressed
int DrawableStates_state_pressed
State value for StateListDrawable,
set when the user is pressing down in a view.
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)
DrawableStates_state_selected
int DrawableStates_state_selected
State value for StateListDrawable,
set when a view (or one of its parents) is currently selected.
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)
DrawableStates_state_single
int DrawableStates_state_single
State value for StateListDrawable,
set when a view or drawable is considered "single" by its host. Actual usage may vary
between views. Consult the host view documentation for details.
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)
DrawableStates_state_window_focused
int DrawableStates_state_window_focused
State value for StateListDrawable,
set when a view's window has input 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 state_window_focused.
Constant Value: 1 (0x00000001)
DrawableWrapper_drawable
int DrawableWrapper_drawable
The wrapped 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 drawable.
Constant Value: 0 (0x00000000)
Drawable_autoMirrored
int Drawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is
RTL (right-to-left). See
setAutoMirrored(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 autoMirrored.
Constant Value: 1 (0x00000001)
Drawable_visible
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)
Dream_settingsActivity
int Dream_settingsActivity
Component name of an activity that allows the user to modify the settings for this dream.
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 settingsActivity.
Constant Value: 0 (0x00000000)
EdgeEffect_colorEdgeEffect
int EdgeEffect_colorEdgeEffect
The color applied to the edge effect on scrolling containers.
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 colorEdgeEffect.
Constant Value: 0 (0x00000000)
ExpandableListChildIndicatorState_state_last
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)
ExpandableListGroupIndicatorState_state_empty
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)
ExpandableListGroupIndicatorState_state_expanded
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)
ExpandableListView_childDivider
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)
ExpandableListView_childIndicator
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)
ExpandableListView_childIndicatorEnd
int ExpandableListView_childIndicatorEnd
The end 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol childIndicatorEnd.
Constant Value: 10 (0x0000000a)
ExpandableListView_childIndicatorLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol childIndicatorLeft.
Constant Value: 4 (0x00000004)
ExpandableListView_childIndicatorRight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol childIndicatorRight.
Constant Value: 5 (0x00000005)
ExpandableListView_childIndicatorStart
int ExpandableListView_childIndicatorStart
The start 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol childIndicatorStart.
Constant Value: 9 (0x00000009)
ExpandableListView_groupIndicator
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)
ExpandableListView_indicatorEnd
int ExpandableListView_indicatorEnd
The end bound for an item's indicator. To specify a right bound specific to children, use childIndicatorEnd.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol indicatorEnd.
Constant Value: 8 (0x00000008)
ExpandableListView_indicatorLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol indicatorLeft.
Constant Value: 2 (0x00000002)
ExpandableListView_indicatorRight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol indicatorRight.
Constant Value: 3 (0x00000003)
ExpandableListView_indicatorStart
int ExpandableListView_indicatorStart
The start bound for an item's indicator. To specify a start bound specific to children, use childIndicatorStart.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol indicatorStart.
Constant Value: 7 (0x00000007)
Extra_name
int Extra_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)
Extra_value
int Extra_value
Concrete value to put for this named extra data.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a boolean value, 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)
Fade_fadingMode
int Fade_fadingMode
Equivalent to transitionVisibilityMode, fadingMode works only
with the Fade transition.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
fade_in | 1 | Fade will only fade appearing items in. |
fade_out | 2 | Fade will only fade disappearing items out. |
fade_in_out | 3 | Fade will fade appearing items in and disappearing items out. |
This corresponds to the global attribute
resource symbol fadingMode.
Constant Value: 0 (0x00000000)
FastScroll_minHeight
int FastScroll_minHeight
Minimum height of the section header preview.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minHeight.
Constant Value: 5 (0x00000005)
FastScroll_minWidth
int FastScroll_minWidth
Minimum width of the section header preview.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minWidth.
Constant Value: 4 (0x00000004)
FastScroll_padding
int FastScroll_padding
Padding for the section header preview.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol padding.
Constant Value: 3 (0x00000003)
FastScroll_textAppearance
int FastScroll_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: 0 (0x00000000)
FastScroll_textColor
int FastScroll_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: 2 (0x00000002)
FastScroll_textSize
int FastScroll_textSize
Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). Supported values include the following:
- px Pixels
- sp Scaled pixels (scaled to relative pixel size on screen). See
DisplayMetricsfor more information. - pt Points
- dip Device independent pixels. See
DisplayMetricsfor more information.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol textSize.
Constant Value: 1 (0x00000001)
FastScroll_thumbPosition
int FastScroll_thumbPosition
Position of thumb in relation to the track.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
midpoint | 0 | The thumb's midpoint is anchored to the track. At its extremes, the thumb will extend half-way outside the track. |
inside | 1 | The thumb is entirely inside the track. At its extremes, the thumb will be contained entirely within the track. |
This corresponds to the global attribute
resource symbol thumbPosition.
Constant Value: 6 (0x00000006)
FragmentAnimation_fragmentCloseEnterAnimation
int FragmentAnimation_fragmentCloseEnterAnimation
This symbol is the offset where the fragmentCloseEnterAnimation
attribute's value can be found in the FragmentAnimation 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)
FragmentAnimation_fragmentCloseExitAnimation
int FragmentAnimation_fragmentCloseExitAnimation
This symbol is the offset where the fragmentCloseExitAnimation
attribute's value can be found in the FragmentAnimation 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: 3 (0x00000003)
FragmentAnimation_fragmentFadeEnterAnimation
int FragmentAnimation_fragmentFadeEnterAnimation
This symbol is the offset where the fragmentFadeEnterAnimation
attribute's value can be found in the FragmentAnimation 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)
FragmentAnimation_fragmentFadeExitAnimation
int FragmentAnimation_fragmentFadeExitAnimation
This symbol is the offset where the fragmentFadeExitAnimation
attribute's value can be found in the FragmentAnimation 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)
FragmentAnimation_fragmentOpenEnterAnimation
int FragmentAnimation_fragmentOpenEnterAnimation
This symbol is the offset where the fragmentOpenEnterAnimation
attribute's value can be found in the FragmentAnimation 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)
FragmentAnimation_fragmentOpenExitAnimation
int FragmentAnimation_fragmentOpenExitAnimation
This symbol is the offset where the fragmentOpenExitAnimation
attribute's value can be found in the FragmentAnimation 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)
FragmentBreadCrumbs_gravity
int FragmentBreadCrumbs_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
Fragment_fragmentAllowEnterTransitionOverlap
int Fragment_fragmentAllowEnterTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning
forward.
Corresponds to setAllowEnterTransitionOverlap(boolean)
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 fragmentAllowEnterTransitionOverlap.
Constant Value: 9 (0x00000009)
Fragment_fragmentAllowReturnTransitionOverlap
int Fragment_fragmentAllowReturnTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning
because of popping the back stack.
Corresponds to setAllowReturnTransitionOverlap(boolean)
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 fragmentAllowReturnTransitionOverlap.
Constant Value: 10 (0x0000000a)
Fragment_fragmentEnterTransition
int Fragment_fragmentEnterTransition
The Transition that will be used to move Views into the initial scene.
Corresponds to setEnterTransition(android.transition.Transition)
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 fragmentEnterTransition.
Constant Value: 4 (0x00000004)
Fragment_fragmentExitTransition
int Fragment_fragmentExitTransition
The Transition that will be used to move Views out of the scene when the
fragment is removed, hidden, or detached when not popping the back stack.
Corresponds to setExitTransition(android.transition.Transition)
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 fragmentExitTransition.
Constant Value: 3 (0x00000003)
Fragment_fragmentReenterTransition
int Fragment_fragmentReenterTransition
The Transition that will be used to move Views in to the scene when returning due
to popping a back stack.
Corresponds to setReenterTransition(android.transition.Transition)
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 fragmentReenterTransition.
Constant Value: 8 (0x00000008)
Fragment_fragmentReturnTransition
int Fragment_fragmentReturnTransition
The Transition that will be used to move Views out of the scene when the Fragment is
preparing to be removed, hidden, or detached because of popping the back stack.
Corresponds to setReturnTransition(android.transition.Transition)
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 fragmentReturnTransition.
Constant Value: 6 (0x00000006)
Fragment_fragmentSharedElementEnterTransition
int Fragment_fragmentSharedElementEnterTransition
The Transition that will be used for shared elements transferred into the content
Scene.
Corresponds to setSharedElementEnterTransition(android.transition.Transition)
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 fragmentSharedElementEnterTransition.
Constant Value: 5 (0x00000005)
Fragment_fragmentSharedElementReturnTransition
int Fragment_fragmentSharedElementReturnTransition
The Transition that will be used for shared elements transferred back during a
pop of the back stack. This Transition acts in the leaving Fragment.
Corresponds to setSharedElementReturnTransition(android.transition.Transition)
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 fragmentSharedElementReturnTransition.
Constant Value: 7 (0x00000007)
Fragment_id
int Fragment_id
Supply an identifier name for the top-level view, to later retrieve it
with View.findViewById() or
Activity.findViewById().
This must be a
resource reference; typically you set this using the
@+ syntax to create a new ID resources.
For example: android:id="@+id/my_id" which
allows you to later retrieve the view
with findViewById(R.id.my_id).
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)
Fragment_name
int Fragment_name
Supply the name of the fragment class to instantiate.
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)
Fragment_tag
int Fragment_tag
Supply a tag for the top-level view containing a String, to be retrieved
later with View.getTag() or
searched for with View.findViewWithTag(). It is generally preferable to use
IDs (through the android:id attribute) instead of tags because
they are faster and allow for compile-time type checking.
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: 2 (0x00000002)
FrameLayout_Layout_layout_gravity
int FrameLayout_Layout_layout_gravity
Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol layout_gravity.
Constant Value: 0 (0x00000000)
FrameLayout_measureAllChildren
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: 0 (0x00000000)
Gallery_animationDuration
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)
Gallery_gravity
int Gallery_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
Gallery_spacing
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 2 (0x00000002)
Gallery_unselectedAlpha
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)
GestureOverlayView_eventsInterceptionEnabled
int GestureOverlayView_eventsInterceptionEnabled
Defines whether the overlay should intercept the motion events when a gesture is recognized.
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 eventsInterceptionEnabled.
Constant Value: 10 (0x0000000a)
GestureOverlayView_fadeDuration
int GestureOverlayView_fadeDuration
Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture.
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 fadeDuration.
Constant Value: 5 (0x00000005)
GestureOverlayView_fadeEnabled
int GestureOverlayView_fadeEnabled
Defines whether the gesture will automatically fade out after being recognized.
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 fadeEnabled.
Constant Value: 11 (0x0000000b)
GestureOverlayView_fadeOffset
int GestureOverlayView_fadeOffset
Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it.
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 fadeOffset.
Constant Value: 4 (0x00000004)
GestureOverlayView_gestureColor
int GestureOverlayView_gestureColor
Color used to draw a gesture.
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 gestureColor.
Constant Value: 2 (0x00000002)
GestureOverlayView_gestureStrokeAngleThreshold
int GestureOverlayView_gestureStrokeAngleThreshold
Minimum curve angle a stroke must contain before it is recognized as a gesture.
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 gestureStrokeAngleThreshold.
Constant Value: 9 (0x00000009)
GestureOverlayView_gestureStrokeLengthThreshold
int GestureOverlayView_gestureStrokeLengthThreshold
Minimum length of a stroke before it is recognized as a gesture.
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 gestureStrokeLengthThreshold.
Constant Value: 7 (0x00000007)
GestureOverlayView_gestureStrokeSquarenessThreshold
int GestureOverlayView_gestureStrokeSquarenessThreshold
Squareness threshold of a stroke before it is recognized as a gesture.
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 gestureStrokeSquarenessThreshold.
Constant Value: 8 (0x00000008)
GestureOverlayView_gestureStrokeType
int GestureOverlayView_gestureStrokeType
Defines the type of strokes that define a gesture.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
single | 0 | A gesture is made of only one stroke. |
multiple | 1 | A gesture is made of multiple strokes. |
This corresponds to the global attribute
resource symbol gestureStrokeType.
Constant Value: 6 (0x00000006)
GestureOverlayView_gestureStrokeWidth
int GestureOverlayView_gestureStrokeWidth
Width of the stroke used to draw the gesture.
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 gestureStrokeWidth.
Constant Value: 1 (0x00000001)
GestureOverlayView_orientation
int GestureOverlayView_orientation
Indicates whether horizontal (when the orientation is vertical) or vertical (when orientation is horizontal) strokes automatically define a gesture.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
horizontal | 0 | Defines an horizontal widget. |
vertical | 1 | Defines a vertical widget. |
This corresponds to the global attribute
resource symbol orientation.
Constant Value: 0 (0x00000000)
GestureOverlayView_uncertainGestureColor
int GestureOverlayView_uncertainGestureColor
Color used to draw the user's strokes until we are sure it's a gesture.
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 uncertainGestureColor.
Constant Value: 3 (0x00000003)
GlowPadView_directionDescriptions
int GlowPadView_directionDescriptions
Reference to an array resource that be used to announce the directions with targets around the circle.
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 directionDescriptions.
Constant Value: 1 (0x00000001)
GlowPadView_targetDescriptions
int GlowPadView_targetDescriptions
Reference to an array resource that be used as description for the targets around the circle.
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 targetDescriptions.
Constant Value: 0 (0x00000000)
GradientColorItem_color
int GradientColorItem_color
The current color for the offset inside the gradient.
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)
GradientColorItem_offset
int GradientColorItem_offset
The offset (or ratio) of this current color item inside the gradient. The value is only meaningful when it is between 0 and 1.
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 offset.
Constant Value: 1 (0x00000001)
GradientColor_centerColor
int GradientColor_centerColor
Optional 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: 7 (0x00000007)
GradientColor_centerX
int GradientColor_centerX
Only applied to SweepGradient / RadialGradient X coordinate of the center of the gradient within the path.
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol centerX.
Constant Value: 3 (0x00000003)
GradientColor_centerY
int GradientColor_centerY
Y coordinate of the center of the gradient within the path.
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol centerY.
Constant Value: 4 (0x00000004)
GradientColor_endColor
int GradientColor_endColor
End color of the gradient.
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 endColor.
Constant Value: 1 (0x00000001)
GradientColor_endX
int GradientColor_endX
X coordinate of the end point origin of the gradient. Defined in same coordinates as the path itself
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 endX.
Constant Value: 10 (0x0000000a)
GradientColor_endY
int GradientColor_endY
Y coordinate of the end point of the gradient within the shape. Defined in same coordinates as the path itself
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 endY.
Constant Value: 11 (0x0000000b)
GradientColor_gradientRadius
int GradientColor_gradientRadius
Only applied to RadialGradient Radius of the gradient, used only with radial gradient.
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol gradientRadius.
Constant Value: 5 (0x00000005)
GradientColor_startColor
int GradientColor_startColor
Start color of the gradient.
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 startColor.
Constant Value: 0 (0x00000000)
GradientColor_startX
int GradientColor_startX
LinearGradient specific X coordinate of the start point origin of the gradient. Defined in same coordinates as the path itself
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 startX.
Constant Value: 8 (0x00000008)
GradientColor_startY
int GradientColor_startY
Y coordinate of the start point of the gradient within the shape. Defined in same coordinates as the path itself
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 startY.
Constant Value: 9 (0x00000009)
GradientColor_tileMode
int GradientColor_tileMode
Defines the tile mode of the gradient. SweepGradient don't support tiling.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
disabled | -1 | Do not tile the bitmap. This is the default value. |
clamp | 0 | Replicates the edge color. |
repeat | 1 | Repeats the bitmap in both direction. |
mirror | 2 | 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: 6 (0x00000006)
GradientColor_type
int GradientColor_type
Type of gradient. The default type is linear.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
linear | 0 | Linear gradient extending across the center point. |
radial | 1 | Radial gradient extending from the center point outward. |
sweep | 2 | Sweep (or angular) gradient sweeping counter-clockwise around the center point. |
This corresponds to the global attribute
resource symbol type.
Constant Value: 2 (0x00000002)
GradientDrawableGradient_angle
int GradientDrawableGradient_angle
Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the range [0, 315].
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 angle.
Constant Value: 3 (0x00000003)
GradientDrawableGradient_centerColor
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)
GradientDrawableGradient_centerX
int GradientDrawableGradient_centerX
X-position of the center point of the gradient within the shape as a fraction of the width. The default value is 0.5.
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol centerX.
Constant Value: 5 (0x00000005)
GradientDrawableGradient_centerY
int GradientDrawableGradient_centerY
Y-position of the center point of the gradient within the shape as a fraction of the height. The default value is 0.5.
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol centerY.
Constant Value: 6 (0x00000006)
GradientDrawableGradient_endColor
int GradientDrawableGradient_endColor
End color of the gradient.
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 endColor.
Constant Value: 1 (0x00000001)
GradientDrawableGradient_gradientRadius
int GradientDrawableGradient_gradientRadius
Radius of the gradient, used only with radial gradient. May be an explicit dimension or a fractional value relative to the shape's minimum dimension.
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol gradientRadius.
Constant Value: 7 (0x00000007)
GradientDrawableGradient_startColor
int GradientDrawableGradient_startColor
Start color of the gradient.
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 startColor.
Constant Value: 0 (0x00000000)
GradientDrawableGradient_type
int GradientDrawableGradient_type
Type of gradient. The default type is linear.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
linear | 0 | Linear gradient extending across the center point. |
radial | 1 | Radial gradient extending from the center point outward. |
sweep | 2 | Sweep (or angular) gradient sweeping counter-clockwise around the center point. |
This corresponds to the global attribute
resource symbol type.
Constant Value: 4 (0x00000004)
GradientDrawableGradient_useLevel
int GradientDrawableGradient_useLevel
Whether the drawable level value (see
getLevel()) is used to scale the gradient.
Scaling behavior varies based on gradient type. For "linear", adjusts the ending
position along the gradient's axis of orientation. For "radial", adjusts the outer
radius. For "sweep", adjusts the ending angle. The default value is false.
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 useLevel.
Constant Value: 2 (0x00000002)
GradientDrawablePadding_bottom
int GradientDrawablePadding_bottom
Amount of bottom padding inside the gradient 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol bottom.
Constant Value: 3 (0x00000003)
GradientDrawablePadding_left
int GradientDrawablePadding_left
Amount of left padding inside the gradient 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol left.
Constant Value: 0 (0x00000000)
GradientDrawablePadding_right
int GradientDrawablePadding_right
Amount of right padding inside the gradient 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol right.
Constant Value: 2 (0x00000002)
GradientDrawablePadding_top
int GradientDrawablePadding_top
Amount of top padding inside the gradient 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol top.
Constant Value: 1 (0x00000001)
GradientDrawableSize_height
int GradientDrawableSize_height
Height of the gradient 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 0 (0x00000000)
GradientDrawableSize_width
int GradientDrawableSize_width
Width of the gradient 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol width.
Constant Value: 1 (0x00000001)
GradientDrawableSolid_color
int GradientDrawableSolid_color
Solid color for the gradient 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: 0 (0x00000000)
GradientDrawableStroke_color
int GradientDrawableStroke_color
Color of the gradient shape's stroke.
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: 1 (0x00000001)
GradientDrawableStroke_dashGap
int GradientDrawableStroke_dashGap
Gap between dashes in the stroke.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol dashGap.
Constant Value: 3 (0x00000003)
GradientDrawableStroke_dashWidth
int GradientDrawableStroke_dashWidth
Length of a dash in the stroke.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol dashWidth.
Constant Value: 2 (0x00000002)
GradientDrawableStroke_width
int GradientDrawableStroke_width
Width of the gradient shape's stroke.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol width.
Constant Value: 0 (0x00000000)
GradientDrawable_dither
int GradientDrawable_dither
Enables or disables dithering.
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: 0 (0x00000000)
GradientDrawable_innerRadius
int GradientDrawable_innerRadius
Inner radius of the ring. When defined, innerRadiusRatio is ignored.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol innerRadius.
Constant Value: 7 (0x00000007)
GradientDrawable_innerRadiusRatio
int GradientDrawable_innerRadiusRatio
Inner radius of the ring expressed as a ratio of the ring's width. For instance, if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. This value is ignored if innerRadius is defined. Default value is 9.
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 innerRadiusRatio.
Constant Value: 4 (0x00000004)
GradientDrawable_shape
int GradientDrawable_shape
Indicates what shape to fill with a gradient.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
rectangle | 0 | Rectangle shape, with optional rounder corners. |
oval | 1 | Oval shape. |
line | 2 | Line shape. |
ring | 3 | Ring shape. |
This corresponds to the global attribute
resource symbol shape.
Constant Value: 3 (0x00000003)
GradientDrawable_thickness
int GradientDrawable_thickness
Thickness of the ring. When defined, thicknessRatio is ignored.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol thickness.
Constant Value: 8 (0x00000008)
GradientDrawable_thicknessRatio
int GradientDrawable_thicknessRatio
Thickness of the ring expressed as a ratio of the ring's width. For instance, if thicknessRatio=3, then the thickness equals the ring's width divided by 3. This value is ignored if innerRadius is defined. Default value is 3.
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 thicknessRatio.
Constant Value: 5 (0x00000005)
GradientDrawable_tint
int GradientDrawable_tint
If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.
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: 1 (0x00000001)
GradientDrawable_tintMode
int GradientDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. The default value is src_in, which treats the drawable as an alpha mask.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol tintMode.
Constant Value: 9 (0x00000009)
GradientDrawable_useLevel
int GradientDrawable_useLevel
Whether the drawable level value (see
getLevel()) is used to scale the shape.
Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
360. For all other types, there is no effect. The default value is true.
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 useLevel.
Constant Value: 6 (0x00000006)
GradientDrawable_visible
int GradientDrawable_visible
Indicates whether the drawable should intially be 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)
GridLayoutAnimation_columnDelay
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)
GridLayoutAnimation_direction
int GridLayoutAnimation_direction
Direction of the animation in the grid.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
left_to_right | 0x0 | Animates columns from left to right. |
right_to_left | 0x1 | Animates columns from right to left. |
top_to_bottom | 0x0 | Animates rows from top to bottom. |
bottom_to_top | 0x2 | Animates rows from bottom to top. |
This corresponds to the global attribute
resource symbol direction.
Constant Value: 2 (0x00000002)
GridLayoutAnimation_directionPriority
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.
| Constant | Value | Description |
|---|---|---|
none | 0 | Rows and columns are animated at the same time. |
column | 1 | Columns are animated first. |
row | 2 | Rows are animated first. |
This corresponds to the global attribute
resource symbol directionPriority.
Constant Value: 3 (0x00000003)
GridLayoutAnimation_rowDelay
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)
GridLayout_Layout_layout_column
int GridLayout_Layout_layout_column
The column boundary delimiting the left of the group of cells occupied by this view.
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: 1 (0x00000001)
GridLayout_Layout_layout_columnSpan
int GridLayout_Layout_layout_columnSpan
The column span: the difference between the right and left
boundaries delimiting the group of cells occupied by this view.
The default is one.
See GridLayout.Spec.
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_columnSpan.
Constant Value: 4 (0x00000004)
GridLayout_Layout_layout_columnWeight
int GridLayout_Layout_layout_columnWeight
The relative proportion of horizontal space that should be allocated to this view during excess space distribution.
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 layout_columnWeight.
Constant Value: 6 (0x00000006)
GridLayout_Layout_layout_gravity
int GridLayout_Layout_layout_gravity
Gravity specifies how a component should be placed in its group of cells.
The default is LEFT | BASELINE.
See setGravity(int).
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol layout_gravity.
Constant Value: 0 (0x00000000)
GridLayout_Layout_layout_row
int GridLayout_Layout_layout_row
The row boundary delimiting the top of the group of cells occupied by this view.
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_row.
Constant Value: 2 (0x00000002)
GridLayout_Layout_layout_rowSpan
int GridLayout_Layout_layout_rowSpan
The row span: the difference between the top and bottom
boundaries delimiting the group of cells occupied by this view.
The default is one.
See GridLayout.Spec.
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_rowSpan.
Constant Value: 3 (0x00000003)
GridLayout_Layout_layout_rowWeight
int GridLayout_Layout_layout_rowWeight
The relative proportion of vertical space that should be allocated to this view during excess space distribution.
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 layout_rowWeight.
Constant Value: 5 (0x00000005)
GridLayout_alignmentMode
int GridLayout_alignmentMode
When set to alignMargins, causes alignment to take place between the outer
boundary of a view, as defined by its margins. When set to alignBounds,
causes alignment to take place between the edges of the view.
The default is alignMargins.
See setAlignmentMode(int).
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
alignBounds | 0 | Align the bounds of the children.
See ALIGN_BOUNDS. |
alignMargins | 1 | Align the margins of the children.
See ALIGN_MARGINS. |
This corresponds to the global attribute
resource symbol alignmentMode.
Constant Value: 6 (0x00000006)
GridLayout_columnCount
int GridLayout_columnCount
The maxmimum number of columns to create when automatically positioning children.
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 columnCount.
Constant Value: 3 (0x00000003)
GridLayout_columnOrderPreserved
int GridLayout_columnOrderPreserved
When set to true, forces column boundaries to appear in the same order
as column indices.
The default is true.
See setColumnOrderPreserved(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 columnOrderPreserved.
Constant Value: 4 (0x00000004)
GridLayout_orientation
int GridLayout_orientation
The orientation property is not used during layout. It is only used to allocate row and column parameters when they are not specified by its children's layout paramters. GridLayout works like LinearLayout in this case; putting all the components either in a single row or in a single column - depending on the value of this flag. In the horizontal case, a columnCount property may be additionally supplied to force new rows to be created when a row is full. The rowCount attribute may be used similarly in the vertical case. The default is horizontal.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
horizontal | 0 | Defines an horizontal widget. |
vertical | 1 | Defines a vertical widget. |
This corresponds to the global attribute
resource symbol orientation.
Constant Value: 0 (0x00000000)
GridLayout_rowCount
int GridLayout_rowCount
The maxmimum number of rows to create when automatically positioning children.
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 rowCount.
Constant Value: 1 (0x00000001)
GridLayout_rowOrderPreserved
int GridLayout_rowOrderPreserved
When set to true, forces row boundaries to appear in the same order
as row indices.
The default is true.
See setRowOrderPreserved(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 rowOrderPreserved.
Constant Value: 2 (0x00000002)
GridLayout_useDefaultMargins
int GridLayout_useDefaultMargins
When set to true, tells GridLayout to use default margins when none are specified
in a view's layout parameters.
The default value is false.
See setUseDefaultMargins(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 useDefaultMargins.
Constant Value: 5 (0x00000005)
GridView_columnWidth
int GridView_columnWidth
Specifies the fixed width for each column.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol columnWidth.
Constant Value: 4 (0x00000004)
GridView_gravity
int GridView_gravity
Specifies the gravity within each cell.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
GridView_horizontalSpacing
int GridView_horizontalSpacing
Defines the default horizontal spacing between columns.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol horizontalSpacing.
Constant Value: 1 (0x00000001)
GridView_numColumns
int GridView_numColumns
Defines how many columns to show.
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.
| Constant | Value | Description |
|---|---|---|
auto_fit | -1 | Display as many columns as possible to fill the available space. |
This corresponds to the global attribute
resource symbol numColumns.
Constant Value: 5 (0x00000005)
GridView_stretchMode
int GridView_stretchMode
Defines how columns should stretch to fill the available empty space, if any.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | Stretching is disabled. |
spacingWidth | 1 | The spacing between each column is stretched. |
columnWidth | 2 | Each column is stretched equally. |
spacingWidthUniform | 3 | The spacing between each column is uniformly stretched.. |
This corresponds to the global attribute
resource symbol stretchMode.
Constant Value: 3 (0x00000003)
GridView_verticalSpacing
int GridView_verticalSpacing
Defines the default vertical spacing between rows.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol verticalSpacing.
Constant Value: 2 (0x00000002)
HorizontalScrollView_fillViewport
int HorizontalScrollView_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)
HostApduService_apduServiceBanner
int HostApduService_apduServiceBanner
A drawable that can be rendered in Android's system UI for representing the service.
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 apduServiceBanner.
Constant Value: 3 (0x00000003)
HostApduService_description
int HostApduService_description
Short description of the functionality the service implements. This attribute is mandatory.
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: 0 (0x00000000)
HostApduService_requireDeviceUnlock
int HostApduService_requireDeviceUnlock
Whether the device must be unlocked before routing data to this service. 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 requireDeviceUnlock.
Constant Value: 2 (0x00000002)
HostApduService_settingsActivity
int HostApduService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 1 (0x00000001)
HostNfcFService_description
int HostNfcFService_description
Short description of the functionality the service implements. This attribute is mandatory.
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: 0 (0x00000000)
IconDefault_icon
int IconDefault_icon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.
The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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)
IconMenuView_maxItemsPerRow
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)
IconMenuView_maxRows
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)
IconMenuView_moreIcon
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)
IconMenuView_rowHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol rowHeight.
Constant Value: 0 (0x00000000)
Icon_icon
int Icon_icon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.
The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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)
Icon_mimeType
int Icon_mimeType
Specify a MIME type that is handled, as per
IntentFilter.addDataType().
Note: MIME type matching in the Android framework is case-sensitive, unlike formal RFC MIME types. As a result, MIME types here should always use lower case letters.
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)
ImageView_adjustViewBounds
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)
ImageView_baseline
int ImageView_baseline
The offset of the baseline within this view. See {see android.view.View#getBaseline} 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol baseline.
Constant Value: 8 (0x00000008)
ImageView_baselineAlignBottom
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)
ImageView_cropToPadding
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)
ImageView_maxHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxHeight.
Constant Value: 4 (0x00000004)
ImageView_maxWidth
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxWidth.
Constant Value: 3 (0x00000003)
ImageView_scaleType
int ImageView_scaleType
Controls how the image should be resized or moved to match the size
of this ImageView. See ImageView.ScaleType
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
matrix | 0 | Scale using the image matrix when drawing. See
setImageMatrix(Matrix). |
fitXY | 1 | Scale the image using FILL. |
fitStart | 2 | Scale the image using START. |
fitCenter | 3 | Scale the image using CENTER. |
fitEnd | 4 | Scale the image using END. |
center | 5 | Center the image in the view, but perform no scaling. |
centerCrop | 6 | Scale the image uniformly (maintain the image's aspect ratio) so both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). The image is then centered in the view. |
centerInside | 7 | Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). The image is then centered in the view. |
This corresponds to the global attribute
resource symbol scaleType.
Constant Value: 1 (0x00000001)
ImageView_src
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)
ImageView_tint
int ImageView_tint
The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
Please note that for compatibility reasons, this is NOT consistent with the default
SRC_IN tint mode used by setImageTintList(ColorStateList) and by
similar tint attributes on other views.
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)
ImageView_tintMode
int ImageView_tintMode
Blending mode used to apply the image tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol tintMode.
Constant Value: 9 (0x00000009)
Include_id
int Include_id
Supply an identifier name for this view, to later retrieve it
with View.findViewById() or
Activity.findViewById().
This must be a
resource reference; typically you set this using the
@+ syntax to create a new ID resources.
For example: android:id="@+id/my_id" which
allows you to later retrieve the view
with findViewById(R.id.my_id).
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)
Include_visibility
int Include_visibility
Controls the initial visibility of the view.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
visible | 0 | Visible on screen; the default value. |
invisible | 1 | Not displayed, but taken into account during layout (space is left for it). |
gone | 2 | Completely hidden, as if the view had not been added. |
This corresponds to the global attribute
resource symbol visibility.
Constant Value: 1 (0x00000001)
InputMethodService_imeExtractEnterAnimation
int InputMethodService_imeExtractEnterAnimation
Animation to use when showing the fullscreen extract UI after it had previously been hidden.
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 imeExtractEnterAnimation.
Constant Value: 1 (0x00000001)
InputMethodService_imeExtractExitAnimation
int InputMethodService_imeExtractExitAnimation
Animation to use when hiding the fullscreen extract UI after it had previously been 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 imeExtractExitAnimation.
Constant Value: 2 (0x00000002)
InputMethodService_imeFullscreenBackground
int InputMethodService_imeFullscreenBackground
Background to use for entire input method when it is being shown in fullscreen mode with the extract view, to ensure that it completely covers the application. This allows, for example, the candidate view to be hidden while in fullscreen mode without having the application show through behind it.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 imeFullscreenBackground.
Constant Value: 0 (0x00000000)
InputMethod_Subtype_icon
int InputMethod_Subtype_icon
The icon of the subtype.
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)
InputMethod_Subtype_imeSubtypeExtraValue
int InputMethod_Subtype_imeSubtypeExtraValue
The extra value of the subtype. This string can be any string and will be passed to the IME when the framework calls the IME with the subtype.
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 imeSubtypeExtraValue.
Constant Value: 4 (0x00000004)
InputMethod_Subtype_imeSubtypeLocale
int InputMethod_Subtype_imeSubtypeLocale
The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) and will be passed to the IME when the framework calls the IME with the subtype. This is also used by the framework to know the supported locales of the IME.
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 imeSubtypeLocale.
Constant Value: 2 (0x00000002)
InputMethod_Subtype_imeSubtypeMode
int InputMethod_Subtype_imeSubtypeMode
The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
string will be passed to the IME when the framework calls the IME with the
subtype. getLocale() returns the
value specified in this 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 imeSubtypeMode.
Constant Value: 3 (0x00000003)
InputMethod_Subtype_isAsciiCapable
int InputMethod_Subtype_isAsciiCapable
Set to true if this subtype is ASCII capable. If the subtype is ASCII capable, it should guarantee that the user can input ASCII characters with this subtype. This is important because many password fields only allow ASCII-characters.
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 isAsciiCapable.
Constant Value: 8 (0x00000008)
InputMethod_Subtype_isAuxiliary
int InputMethod_Subtype_isAuxiliary
Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the input method selection list in the settings app. InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it chooses a target subtype.
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 isAuxiliary.
Constant Value: 5 (0x00000005)
InputMethod_Subtype_label
int InputMethod_Subtype_label
The name of the subtype.
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)
InputMethod_Subtype_languageTag
int InputMethod_Subtype_languageTag
The BCP-47 Language Tag of the subtype. This replaces
InputMethod_Subtype_imeSubtypeLocale.
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 languageTag.
Constant Value: 9 (0x00000009)
InputMethod_Subtype_overridesImplicitlyEnabledSubtype
int InputMethod_Subtype_overridesImplicitlyEnabledSubtype
Set true when this subtype should be selected by default if no other subtypes are selected explicitly. Note that a subtype with this parameter being true will not be shown in the subtypes list.
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 overridesImplicitlyEnabledSubtype.
Constant Value: 6 (0x00000006)
InputMethod_Subtype_subtypeId
int InputMethod_Subtype_subtypeId
The unique id for the subtype. The input method framework keeps track of enabled subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even if other attributes are different. If the ID is unspecified (by calling the other constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead.
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 subtypeId.
Constant Value: 7 (0x00000007)
InputMethod_isDefault
int InputMethod_isDefault
Set to true in all of the configurations for which this input method should be considered an option as the 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 isDefault.
Constant Value: 0 (0x00000000)
InputMethod_settingsActivity
int InputMethod_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 1 (0x00000001)
InputMethod_supportsSwitchingToNextInputMethod
int InputMethod_supportsSwitchingToNextInputMethod
Set to true if this input method supports ways to switch to a next input method (e.g. a globe key.). When this is true and InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() accordingly.
Note that the system determines the most appropriate next input method and subtype in order to provide the consistent user experience in switching between IMEs and subtypes.
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 supportsSwitchingToNextInputMethod.
Constant Value: 2 (0x00000002)
InsetDrawable_drawable
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)
InsetDrawable_inset
int InsetDrawable_inset
This symbol is the offset where the inset
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 6 (0x00000006)
InsetDrawable_insetBottom
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 5 (0x00000005)
InsetDrawable_insetLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 2 (0x00000002)
InsetDrawable_insetRight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 3 (0x00000003)
InsetDrawable_insetTop
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 4 (0x00000004)
InsetDrawable_visible
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)
IntentCategory_name
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)
Intent_action
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)
Intent_data
int Intent_data
The data URI to assign to the Intent, as per
Intent.setData().
Note: scheme and host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, URIs here should always be normalized to use lower case letters for these elements (as well as other proper Uri normalization).
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)
Intent_mimeType
int Intent_mimeType
The MIME type name to assign to the Intent, as per
Intent.setType().
Note: MIME type matching in the Android framework is case-sensitive, unlike formal RFC MIME types. As a result, MIME types here should always use lower case letters.
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)
Intent_targetClass
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)
Intent_targetPackage
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)
KeyboardLayout_keyboardLayout
int KeyboardLayout_keyboardLayout
The key character map file resource.
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 keyboardLayout.
Constant Value: 2 (0x00000002)
KeyboardLayout_label
int KeyboardLayout_label
The display label of the keyboard layout.
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)
KeyboardLayout_name
int KeyboardLayout_name
The name of the keyboard layout, must be unique in the receiver.
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: 1 (0x00000001)
KeyboardViewPreviewState_state_long_pressable
int KeyboardViewPreviewState_state_long_pressable
State for KeyboardView
key preview background.
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_long_pressable.
Constant Value: 0 (0x00000000)
KeyboardView_keyBackground
int KeyboardView_keyBackground
Image for the key. This image needs to be a StateListDrawable, with the following possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, checkable+checked+pressed.
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 keyBackground.
Constant Value: 2 (0x00000002)
KeyboardView_keyPreviewHeight
int KeyboardView_keyPreviewHeight
Height of the key press feedback popup.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol keyPreviewHeight.
Constant Value: 8 (0x00000008)
KeyboardView_keyPreviewLayout
int KeyboardView_keyPreviewLayout
Layout resource for key press feedback.
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 keyPreviewLayout.
Constant Value: 6 (0x00000006)
KeyboardView_keyPreviewOffset
int KeyboardView_keyPreviewOffset
Vertical offset of the key press feedback from the key.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol keyPreviewOffset.
Constant Value: 7 (0x00000007)
KeyboardView_keyTextColor
int KeyboardView_keyTextColor
Color to use for the label in a key.
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 keyTextColor.
Constant Value: 5 (0x00000005)
KeyboardView_keyTextSize
int KeyboardView_keyTextSize
Size of the text for character keys.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol keyTextSize.
Constant Value: 3 (0x00000003)
KeyboardView_labelTextSize
int KeyboardView_labelTextSize
Size of the text for custom keys with some text and no icon.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol labelTextSize.
Constant Value: 4 (0x00000004)
KeyboardView_popupLayout
int KeyboardView_popupLayout
Layout resource for popup keyboards.
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 popupLayout.
Constant Value: 10 (0x0000000a)
KeyboardView_shadowColor
int KeyboardView_shadowColor
Place a blurred shadow of text underneath the text, drawn with the
specified color. The text shadow produced does not interact with
properties on View that are responsible for real time shadows,
elevation and
translationZ.
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: 0 (0x00000000)
KeyboardView_shadowRadius
int KeyboardView_shadowRadius
Blur radius of the text 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: 1 (0x00000001)
KeyboardView_verticalCorrection
int KeyboardView_verticalCorrection
Amount to offset the touch Y coordinate by, for bias correction.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol verticalCorrection.
Constant Value: 9 (0x00000009)
Keyboard_Key_codes
int Keyboard_Key_codes
The unicode value or comma-separated values that this key outputs.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol codes.
Constant Value: 0 (0x00000000)
Keyboard_Key_iconPreview
int Keyboard_Key_iconPreview
The icon to show in the popup preview.
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 iconPreview.
Constant Value: 7 (0x00000007)
Keyboard_Key_isModifier
int Keyboard_Key_isModifier
Whether this is a modifier key such as Alt or Shift.
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 isModifier.
Constant Value: 4 (0x00000004)
Keyboard_Key_isRepeatable
int Keyboard_Key_isRepeatable
Whether long-pressing on this key will make it repeat.
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 isRepeatable.
Constant Value: 6 (0x00000006)
Keyboard_Key_isSticky
int Keyboard_Key_isSticky
Whether this is a toggle 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 isSticky.
Constant Value: 5 (0x00000005)
Keyboard_Key_keyEdgeFlags
int Keyboard_Key_keyEdgeFlags
Key edge flags.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
left | 1 | Key is anchored to the left of the keyboard. |
right | 2 | Key is anchored to the right of the keyboard. |
This corresponds to the global attribute
resource symbol keyEdgeFlags.
Constant Value: 3 (0x00000003)
Keyboard_Key_keyIcon
int Keyboard_Key_keyIcon
The icon to display on the key instead of the label.
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 keyIcon.
Constant Value: 10 (0x0000000a)
Keyboard_Key_keyLabel
int Keyboard_Key_keyLabel
The label to display on the key.
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 keyLabel.
Constant Value: 9 (0x00000009)
Keyboard_Key_keyOutputText
int Keyboard_Key_keyOutputText
The string of characters to output when this key is pressed.
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 keyOutputText.
Constant Value: 8 (0x00000008)
Keyboard_Key_keyboardMode
int Keyboard_Key_keyboardMode
Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the key will be skipped.
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 keyboardMode.
Constant Value: 11 (0x0000000b)
Keyboard_Key_popupCharacters
int Keyboard_Key_popupCharacters
The characters to display in the popup 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 popupCharacters.
Constant Value: 2 (0x00000002)
Keyboard_Key_popupKeyboard
int Keyboard_Key_popupKeyboard
The XML keyboard layout of any popup keyboard.
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 popupKeyboard.
Constant Value: 1 (0x00000001)
Keyboard_Row_keyboardMode
int Keyboard_Row_keyboardMode
Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the row will be skipped.
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 keyboardMode.
Constant Value: 1 (0x00000001)
Keyboard_Row_rowEdgeFlags
int Keyboard_Row_rowEdgeFlags
Row edge flags.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 4 | Row is anchored to the top of the keyboard. |
bottom | 8 | Row is anchored to the bottom of the keyboard. |
This corresponds to the global attribute
resource symbol rowEdgeFlags.
Constant Value: 0 (0x00000000)
Keyboard_horizontalGap
int Keyboard_horizontalGap
Default horizontal gap between keys.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol horizontalGap.
Constant Value: 2 (0x00000002)
Keyboard_keyHeight
int Keyboard_keyHeight
Default height of a key, in pixels or percentage of display width.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol keyHeight.
Constant Value: 1 (0x00000001)
Keyboard_keyWidth
int Keyboard_keyWidth
Default width of a key, in pixels or percentage of display width.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol keyWidth.
Constant Value: 0 (0x00000000)
Keyboard_verticalGap
int Keyboard_verticalGap
Default vertical gap between rows of keys.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol verticalGap.
Constant Value: 3 (0x00000003)
Keyframe_fraction
int Keyframe_fraction
This symbol is the offset where the fraction
attribute's value can be found in the Keyframe 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)
Keyframe_interpolator
int Keyframe_interpolator
Defines a per-interval interpolator for this keyframe. This interpolator will be used to interpolate between this keyframe and the previous keyframe.
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: 1 (0x00000001)
Keyframe_value
int Keyframe_value
Concrete value to assign to this piece of named meta-data.
The data can later be retrieved from the meta data Bundle
through Bundle.getString,
Bundle.getInt,
Bundle.getBoolean,
or Bundle.getFloat depending
on the type used here.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a boolean value, 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: 0 (0x00000000)
Keyframe_valueType
int Keyframe_valueType
The type of valueFrom and valueTo.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
floatType | 0 | The given values are floats. This is the default value if valueType is unspecified. Note that if any value attribute has a color value (beginning with "#"), then this attribute is ignored and the color values are interpreted as integers. |
intType | 1 | values are integers. |
pathType | 2 | values are paths defined as strings. This type is used for path morphing in AnimatedVectorDrawable. |
colorType | 3 | values are colors, which are integers starting with "#". |
This corresponds to the global attribute
resource symbol valueType.
Constant Value: 2 (0x00000002)
LayerDrawableItem_bottom
int LayerDrawableItem_bottom
Bottom inset to apply to the layer.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol bottom.
Constant Value: 8 (0x00000008)
LayerDrawableItem_drawable
int LayerDrawableItem_drawable
Drawable used to render the layer.
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: 4 (0x00000004)
LayerDrawableItem_end
int LayerDrawableItem_end
End inset to apply to the layer. Overrides left or
right depending on layout direction.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol end.
Constant Value: 10 (0x0000000a)
LayerDrawableItem_gravity
int LayerDrawableItem_gravity
Gravity used to align the layer within its container. If no value
is specified, the default behavior depends on whether an explicit
width or height has been set, If no dimension is set, gravity in
that direction defaults to fill_horizontal or
fill_vertical; otherwise, it defaults to left or
top.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
LayerDrawableItem_height
int LayerDrawableItem_height
Height of the layer. Defaults to the layer's intrinsic 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 2 (0x00000002)
LayerDrawableItem_id
int LayerDrawableItem_id
Identifier of the layer. This can be used to retrieve the layer from a drawable container.
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)
LayerDrawableItem_left
int LayerDrawableItem_left
Left inset to apply to the layer.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol left.
Constant Value: 5 (0x00000005)
LayerDrawableItem_right
int LayerDrawableItem_right
Right inset to apply to the layer.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol right.
Constant Value: 7 (0x00000007)
LayerDrawableItem_start
int LayerDrawableItem_start
Start inset to apply to the layer. Overrides left or
right depending on layout direction.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol start.
Constant Value: 9 (0x00000009)
LayerDrawableItem_top
int LayerDrawableItem_top
Top inset to apply to the layer.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol top.
Constant Value: 6 (0x00000006)
LayerDrawableItem_width
int LayerDrawableItem_width
Width of the layer. Defaults to the layer's intrinsic 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol width.
Constant Value: 3 (0x00000003)
LayerDrawable_autoMirrored
int LayerDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
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 autoMirrored.
Constant Value: 7 (0x00000007)
LayerDrawable_opacity
int LayerDrawable_opacity
Indicates the opacity of the layer. This can be useful to allow the system to enable drawing optimizations. The default value is translucent.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
opaque | -1 | Indicates that the layer is opaque and contains no transparent nor translucent pixels. |
transparent | -2 | The layer is completely transparent (no pixel will be drawn.) |
translucent | -3 | The layer has translucent pixels. |
This corresponds to the global attribute
resource symbol opacity.
Constant Value: 4 (0x00000004)
LayerDrawable_paddingBottom
int LayerDrawable_paddingBottom
Explicit bottom padding. Overrides child 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingBottom.
Constant Value: 3 (0x00000003)
LayerDrawable_paddingEnd
int LayerDrawable_paddingEnd
Explicit end padding. Overrides child padding. Takes precedence over absolute padding (e.g. right when layout direction is LTR).
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingEnd.
Constant Value: 6 (0x00000006)
LayerDrawable_paddingLeft
int LayerDrawable_paddingLeft
Explicit left padding. Overrides child 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingLeft.
Constant Value: 0 (0x00000000)
LayerDrawable_paddingMode
int LayerDrawable_paddingMode
Indicates how layer padding should affect the bounds of subsequent layers. The default padding mode value is nest.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
nest | 0 | Nest each layer inside the padding of the previous layer. |
stack | 1 | Stack each layer directly atop the previous layer. |
This corresponds to the global attribute
resource symbol paddingMode.
Constant Value: 8 (0x00000008)
LayerDrawable_paddingRight
int LayerDrawable_paddingRight
Explicit right padding. Overrides child 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingRight.
Constant Value: 2 (0x00000002)
LayerDrawable_paddingStart
int LayerDrawable_paddingStart
Explicit start padding. Overrides child padding. Takes precedence over absolute padding (e.g. left when layout direction is LTR).
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingStart.
Constant Value: 5 (0x00000005)
LayerDrawable_paddingTop
int LayerDrawable_paddingTop
Explicit top padding. Overrides child 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingTop.
Constant Value: 1 (0x00000001)
LayoutAnimation_animation
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)
LayoutAnimation_animationOrder
int LayoutAnimation_animationOrder
The order in which the animations will be started.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | Animations are started in the natural order. |
reverse | 1 | Animations are started in the reverse order. |
random | 2 | Animations are started randomly. |
This corresponds to the global attribute
resource symbol animationOrder.
Constant Value: 3 (0x00000003)
LayoutAnimation_delay
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)
LayoutAnimation_interpolator
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)
LevelListDrawableItem_drawable
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)
LevelListDrawableItem_maxLevel
int LevelListDrawableItem_maxLevel
The maximum level allowed for this item.
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 maxLevel.
Constant Value: 2 (0x00000002)
LevelListDrawableItem_minLevel
int LevelListDrawableItem_minLevel
The minimum level allowed for this item.
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 minLevel.
Constant Value: 1 (0x00000001)
Lighting_ambientShadowAlpha
int Lighting_ambientShadowAlpha
Alpha value of the ambient shadow projected by elevated views, between 0 and 1.
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 ambientShadowAlpha.
Constant Value: 0 (0x00000000)
Lighting_spotShadowAlpha
int Lighting_spotShadowAlpha
Alpha value of the spot shadow projected by elevated views, between 0 and 1.
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 spotShadowAlpha.
Constant Value: 1 (0x00000001)
LinearLayout_Layout_layout_gravity
int LinearLayout_Layout_layout_gravity
Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol layout_gravity.
Constant Value: 0 (0x00000000)
LinearLayout_Layout_layout_height
int LinearLayout_Layout_layout_height
Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding).
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
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)
LinearLayout_Layout_layout_weight
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)
LinearLayout_Layout_layout_width
int LinearLayout_Layout_layout_width
Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding).
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
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)
LinearLayout_baselineAligned
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: 2 (0x00000002)
LinearLayout_baselineAlignedChildIndex
int LinearLayout_baselineAlignedChildIndex
When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (that is, which child TextView).
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: 3 (0x00000003)
LinearLayout_divider
int LinearLayout_divider
Drawable to use as a vertical divider between buttons.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 5 (0x00000005)
LinearLayout_dividerPadding
int LinearLayout_dividerPadding
Size of padding on either end of a divider.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol dividerPadding.
Constant Value: 8 (0x00000008)
LinearLayout_gravity
int LinearLayout_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
LinearLayout_measureWithLargestChild
int LinearLayout_measureWithLargestChild
When set to true, all children with a weight will be considered having the minimum size of the largest child. If false, all children are measured normally.
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 measureWithLargestChild.
Constant Value: 6 (0x00000006)
LinearLayout_orientation
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.
| Constant | Value | Description |
|---|---|---|
horizontal | 0 | Defines an horizontal widget. |
vertical | 1 | Defines a vertical widget. |
This corresponds to the global attribute
resource symbol orientation.
Constant Value: 1 (0x00000001)
LinearLayout_showDividers
int LinearLayout_showDividers
Setting for which dividers to show.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
beginning | 1 | |
middle | 2 | |
end | 4 |
This corresponds to the global attribute
resource symbol showDividers.
Constant Value: 7 (0x00000007)
LinearLayout_weightSum
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: 4 (0x00000004)
ListPopupWindow_dropDownHorizontalOffset
int ListPopupWindow_dropDownHorizontalOffset
Amount of pixels by which the drop down should be offset horizontally.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol dropDownHorizontalOffset.
Constant Value: 0 (0x00000000)
ListPopupWindow_dropDownVerticalOffset
int ListPopupWindow_dropDownVerticalOffset
Amount of pixels by which the drop down should be offset vertically.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol dropDownVerticalOffset.
Constant Value: 1 (0x00000001)
ListPreference_entries
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)
ListPreference_entryValues
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)
ListView_divider
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)
ListView_dividerHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol dividerHeight.
Constant Value: 2 (0x00000002)
ListView_entries
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)
ListView_footerDividersEnabled
int ListView_footerDividersEnabled
When set to false, the ListView will not draw the divider before each footer view. 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 footerDividersEnabled.
Constant Value: 4 (0x00000004)
ListView_headerDividersEnabled
int ListView_headerDividersEnabled
When set to false, the ListView will not draw the divider after each header view. 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 headerDividersEnabled.
Constant Value: 3 (0x00000003)
ListView_overScrollFooter
int ListView_overScrollFooter
Drawable to draw below list 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 overScrollFooter.
Constant Value: 6 (0x00000006)
ListView_overScrollHeader
int ListView_overScrollHeader
Drawable to draw above list 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 overScrollHeader.
Constant Value: 5 (0x00000005)
MapView_apiKey
int MapView_apiKey
Value is a string that specifies the Maps API Key to 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 apiKey.
Constant Value: 0 (0x00000000)
MaterialProgressDrawable_color
int MaterialProgressDrawable_color
Solid color for the gradient 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: 3 (0x00000003)
MaterialProgressDrawable_height
int MaterialProgressDrawable_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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 0 (0x00000000)
MaterialProgressDrawable_innerRadius
int MaterialProgressDrawable_innerRadius
Inner radius of the ring. When defined, innerRadiusRatio is ignored.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol innerRadius.
Constant Value: 4 (0x00000004)
MaterialProgressDrawable_thickness
int MaterialProgressDrawable_thickness
Thickness of the ring. When defined, thicknessRatio is ignored.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol thickness.
Constant Value: 5 (0x00000005)
MaterialProgressDrawable_visible
int MaterialProgressDrawable_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: 2 (0x00000002)
MaterialProgressDrawable_width
int MaterialProgressDrawable_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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol width.
Constant Value: 1 (0x00000001)
MediaRouteButton_mediaRouteTypes
int MediaRouteButton_mediaRouteTypes
The types of media routes the button and its resulting chooser will filter by.
May be an integer value, such as "100".
This may also be a reference 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.
| Constant | Value | Description |
|---|---|---|
liveAudio | 0x1 | Allow selection of live audio routes. |
user | 0x800000 | Allow selection of user (app-specified) routes. |
This corresponds to the global attribute
resource symbol mediaRouteTypes.
Constant Value: 2 (0x00000002)
MediaRouteButton_minHeight
int MediaRouteButton_minHeight
This symbol is the offset where the minHeight
attribute's value can be found in the MediaRouteButton array.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 1 (0x00000001)
MediaRouteButton_minWidth
int MediaRouteButton_minWidth
This symbol is the offset where the minWidth
attribute's value can be found in the MediaRouteButton array.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 0 (0x00000000)
MenuGroup_checkableBehavior
int MenuGroup_checkableBehavior
Whether the items are capable of displaying a check mark.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | The items are not checkable. |
all | 1 | The items are all checkable. |
single | 2 | 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)
MenuGroup_enabled
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)
MenuGroup_id
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)
MenuGroup_menuCategory
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.
| Constant | Value | Description |
|---|---|---|
container | 0x00010000 | Items are part of a container. |
system | 0x00020000 | Items are provided by the system. |
secondary | 0x00030000 | Items are user-supplied secondary (infrequently used). |
alternative | 0x00040000 | Items are alternative actions. |
This corresponds to the global attribute
resource symbol menuCategory.
Constant Value: 3 (0x00000003)
MenuGroup_orderInCategory
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)
MenuGroup_visible
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)
MenuItemCheckedFocusedState_state_checkable
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)
MenuItemCheckedFocusedState_state_checked
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)
MenuItemCheckedFocusedState_state_focused
int MenuItemCheckedFocusedState_state_focused
State value for StateListDrawable,
set when a view has input 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 state_focused.
Constant Value: 0 (0x00000000)
MenuItemCheckedState_state_checkable
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)
MenuItemCheckedState_state_checked
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)
MenuItemUncheckedFocusedState_state_checkable
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)
MenuItemUncheckedFocusedState_state_focused
int MenuItemUncheckedFocusedState_state_focused
State value for StateListDrawable,
set when a view has input 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 state_focused.
Constant Value: 0 (0x00000000)
MenuItemUncheckedState_state_checkable
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)
MenuItem_actionLayout
int MenuItem_actionLayout
An optional layout to be used as an action view.
See setActionView(android.view.View)
for more info.
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 actionLayout.
Constant Value: 14 (0x0000000e)
MenuItem_actionProviderClass
int MenuItem_actionProviderClass
The name of an optional ActionProvider class to instantiate an action view
and perform operations such as default action for that menu item.
See setActionProvider(android.view.ActionProvider)
for more info.
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 actionProviderClass.
Constant Value: 16 (0x00000010)
MenuItem_actionViewClass
int MenuItem_actionViewClass
The name of an optional View class to instantiate and use as an
action view. See setActionView(android.view.View)
for more info.
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 actionViewClass.
Constant Value: 15 (0x0000000f)
MenuItem_alphabeticShortcut
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)
MenuItem_checkable
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)
MenuItem_checked
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)
MenuItem_enabled
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)
MenuItem_icon
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)
MenuItem_id
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)
MenuItem_menuCategory
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.
| Constant | Value | Description |
|---|---|---|
container | 0x00010000 | Items are part of a container. |
system | 0x00020000 | Items are provided by the system. |
secondary | 0x00030000 | Items are user-supplied secondary (infrequently used). |
alternative | 0x00040000 | Items are alternative actions. |
This corresponds to the global attribute
resource symbol menuCategory.
Constant Value: 5 (0x00000005)
MenuItem_numericShortcut
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)
MenuItem_onClick
int MenuItem_onClick
Name of a method on the Context used to inflate the menu that will be called when the item is clicked.
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 onClick.
Constant Value: 12 (0x0000000c)
MenuItem_orderInCategory
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)
MenuItem_showAsAction
int MenuItem_showAsAction
How this item should display in the Action Bar, if present.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
never | 0 | Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always". |
ifRoom | 1 | Show this item in an action bar if there is room for it as determined by the system. Favor this option over "always" where possible. Mutually exclusive with "never" and "always". |
always | 2 | Always show this item in an actionbar, even if it would override the system's limits of how much stuff to put there. This may make your action bar look bad on some screens. In most cases you should use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". |
withText | 4 | When this item is shown as an action in the action bar, show a text label with it even if it has an icon representation. |
collapseActionView | 8 | This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container. |
This corresponds to the global attribute
resource symbol showAsAction.
Constant Value: 13 (0x0000000d)
MenuItem_title
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)
MenuItem_titleCondensed
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)
MenuItem_visible
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)
MenuView_headerBackground
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)
MenuView_horizontalDivider
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)
MenuView_itemBackground
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)
MenuView_itemIconDisabledAlpha
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)
MenuView_itemTextAppearance
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)
MenuView_subMenuArrow
int MenuView_subMenuArrow
Drawable for the arrow icon indicating a particular item is a submenu.
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 subMenuArrow.
Constant Value: 7 (0x00000007)
MenuView_verticalDivider
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)
MenuView_windowAnimationStyle
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)
MessagingLinearLayout_maxHeight
int MessagingLinearLayout_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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxHeight.
Constant Value: 1 (0x00000001)
MessagingLinearLayout_spacing
int MessagingLinearLayout_spacing
This symbol is the offset where the spacing
attribute's value can be found in the MessagingLinearLayout array.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 0 (0x00000000)
MultiSelectListPreference_entries
int MultiSelectListPreference_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)
MultiSelectListPreference_entryValues
int MultiSelectListPreference_entryValues
The array to find the value to save for a preference when an entry from entries is selected. If a user clicks the second item in entries, the second item in this array will be saved to the preference.
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)
Nfcid2Filter_name
int Nfcid2Filter_name
The NFCID2. This attribute is mandatory.
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)
NinePatchDrawable_alpha
int NinePatchDrawable_alpha
Specifies the alpha multiplier to apply to the base drawable.
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 alpha.
Constant Value: 3 (0x00000003)
NinePatchDrawable_autoMirrored
int NinePatchDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
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 autoMirrored.
Constant Value: 4 (0x00000004)
NinePatchDrawable_dither
int NinePatchDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).
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: 1 (0x00000001)
NinePatchDrawable_src
int NinePatchDrawable_src
Identifier of the bitmap file. This attribute is mandatory.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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)
NinePatchDrawable_tint
int NinePatchDrawable_tint
If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.
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: 2 (0x00000002)
NinePatchDrawable_tintMode
int NinePatchDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. The default value is src_in, which treats the drawable as an alpha mask.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol tintMode.
Constant Value: 5 (0x00000005)
OffHostApduService_apduServiceBanner
int OffHostApduService_apduServiceBanner
A drawable that can be rendered in Android's system UI for representing the service.
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 apduServiceBanner.
Constant Value: 2 (0x00000002)
OffHostApduService_description
int OffHostApduService_description
Short description of the functionality the service implements. This attribute is mandatory.
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: 0 (0x00000000)
OffHostApduService_settingsActivity
int OffHostApduService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 1 (0x00000001)
OvershootInterpolator_tension
int OvershootInterpolator_tension
This is the amount of tension.
Must be a floating point value, such as "1.2".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol tension.
Constant Value: 0 (0x00000000)
PathInterpolator_controlX1
int PathInterpolator_controlX1
The x coordinate of the first control point of the cubic Bezier
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 controlX1.
Constant Value: 0 (0x00000000)
PathInterpolator_controlX2
int PathInterpolator_controlX2
The x coordinate of the second control point of the cubic Bezier
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 controlX2.
Constant Value: 2 (0x00000002)
PathInterpolator_controlY1
int PathInterpolator_controlY1
The y coordinate of the first control point of the cubic Bezier
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 controlY1.
Constant Value: 1 (0x00000001)
PathInterpolator_controlY2
int PathInterpolator_controlY2
The y coordinate of the second control point of the cubic Bezier
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 controlY2.
Constant Value: 3 (0x00000003)
PathInterpolator_pathData
int PathInterpolator_pathData
The control points defined as a path. When pathData is defined, then both of the control points of the cubic Bezier will be ignored.
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 pathData.
Constant Value: 4 (0x00000004)
PatternPathMotion_patternPathData
int PatternPathMotion_patternPathData
The path string describing the pattern to use for the PathPathMotion.
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 patternPathData.
Constant Value: 0 (0x00000000)
PointerIcon_bitmap
int PointerIcon_bitmap
Drawable to use as the icon bitmap.
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 bitmap.
Constant Value: 0 (0x00000000)
PointerIcon_hotSpotX
int PointerIcon_hotSpotX
X coordinate of the icon hot spot.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol hotSpotX.
Constant Value: 1 (0x00000001)
PointerIcon_hotSpotY
int PointerIcon_hotSpotY
Y coordinate of the icon hot spot.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol hotSpotY.
Constant Value: 2 (0x00000002)
PopupWindowBackgroundState_state_above_anchor
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)
PopupWindow_overlapAnchor
int PopupWindow_overlapAnchor
Whether the popup window should overlap its anchor view.
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 overlapAnchor.
Constant Value: 2 (0x00000002)
PopupWindow_popupAnimationStyle
int PopupWindow_popupAnimationStyle
The animation style to use for the popup 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 popupAnimationStyle.
Constant Value: 1 (0x00000001)
PopupWindow_popupBackground
int PopupWindow_popupBackground
The background to use for the popup window.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 popupBackground.
Constant Value: 0 (0x00000000)
PopupWindow_popupElevation
int PopupWindow_popupElevation
Window elevation to use for the popup window.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol popupElevation.
Constant Value: 3 (0x00000003)
PopupWindow_popupEnterTransition
int PopupWindow_popupEnterTransition
Transition used to move views into the popup 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 popupEnterTransition.
Constant Value: 4 (0x00000004)
PopupWindow_popupExitTransition
int PopupWindow_popupExitTransition
Transition used to move views out of the popup 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 popupExitTransition.
Constant Value: 5 (0x00000005)
PreferenceActivity_layout
int PreferenceActivity_layout
The layout for the Preference Activity. This should rarely need to be changed.
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)
PreferenceFragment_divider
int PreferenceFragment_divider
Drawable or color to draw between list items.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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)
PreferenceFragment_layout
int PreferenceFragment_layout
The layout for the PreferenceFragment. This should rarely need to be changed.
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)
PreferenceGroup_orderingFromXml
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)
PreferenceHeader_breadCrumbShortTitle
int PreferenceHeader_breadCrumbShortTitle
The short title for the bread crumb of this 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 breadCrumbShortTitle.
Constant Value: 6 (0x00000006)
PreferenceHeader_breadCrumbTitle
int PreferenceHeader_breadCrumbTitle
The title for the bread crumb of this 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 breadCrumbTitle.
Constant Value: 5 (0x00000005)
PreferenceHeader_fragment
int PreferenceHeader_fragment
The fragment that is displayed when the user selects this 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 fragment.
Constant Value: 4 (0x00000004)
PreferenceHeader_icon
int PreferenceHeader_icon
An icon for 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 icon.
Constant Value: 0 (0x00000000)
PreferenceHeader_id
int PreferenceHeader_id
Identifier value for the header.
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)
PreferenceHeader_summary
int PreferenceHeader_summary
The summary for 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 summary.
Constant Value: 3 (0x00000003)
PreferenceHeader_title
int PreferenceHeader_title
The title of the item that is shown to the user.
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: 2 (0x00000002)
PreferenceScreen_divider
int PreferenceScreen_divider
Drawable or color to draw between list items.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 0 (0x00000000)
Preference_defaultValue
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: 11 (0x0000000b)
Preference_dependency
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: 10 (0x0000000a)
Preference_enabled
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: 2 (0x00000002)
Preference_fragment
int Preference_fragment
When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this 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 fragment.
Constant Value: 13 (0x0000000d)
Preference_icon
int Preference_icon
The optional icon for 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 icon.
Constant Value: 0 (0x00000000)
Preference_key
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: 6 (0x00000006)
Preference_layout
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: 3 (0x00000003)
Preference_order
int Preference_order
The order for the Preference (lower values are to be ordered first). If this is not specified, the default ordering will be alphabetic.
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: 8 (0x00000008)
Preference_persistent
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: 1 (0x00000001)
Preference_selectable
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: 5 (0x00000005)
Preference_shouldDisableView
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: 12 (0x0000000c)
Preference_summary
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: 7 (0x00000007)
Preference_title
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: 4 (0x00000004)
Preference_widgetLayout
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: 9 (0x00000009)
PrintService_addPrintersActivity
int PrintService_addPrintersActivity
Fully qualified class name of an activity that allows the user to manually add printers to this print service.
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 addPrintersActivity.
Constant Value: 1 (0x00000001)
PrintService_advancedPrintOptionsActivity
int PrintService_advancedPrintOptionsActivity
Fully qualified class name of an activity with advanced print options specific to this print service.
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 advancedPrintOptionsActivity.
Constant Value: 3 (0x00000003)
PrintService_settingsActivity
int PrintService_settingsActivity
Fully qualified class name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 0 (0x00000000)
PrintService_vendor
int PrintService_vendor
The vendor name if this print service is vendor specific.
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 vendor.
Constant Value: 2 (0x00000002)
ProgressBar_animationResolution
int ProgressBar_animationResolution
Timeout between frames of animation in milliseconds
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 animationResolution.
Constant Value: 14 (0x0000000e)
ProgressBar_backgroundTint
int ProgressBar_backgroundTint
Tint to apply to the 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 backgroundTint.
Constant Value: 24 (0x00000018)
ProgressBar_backgroundTintMode
int ProgressBar_backgroundTintMode
Blending mode used to apply the background tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol backgroundTintMode.
Constant Value: 25 (0x00000019)
ProgressBar_indeterminate
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)
ProgressBar_indeterminateBehavior
int ProgressBar_indeterminateBehavior
Defines how the indeterminate mode should behave when the progress reaches max.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
repeat | 1 | Progress starts over from 0. |
cycle | 2 | Progress keeps the current value and goes back to 0. |
This corresponds to the global attribute
resource symbol indeterminateBehavior.
Constant Value: 10 (0x0000000a)
ProgressBar_indeterminateDrawable
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)
ProgressBar_indeterminateDuration
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)
ProgressBar_indeterminateOnly
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)
ProgressBar_indeterminateTint
int ProgressBar_indeterminateTint
Tint to apply to the indeterminate progress indicator.
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 indeterminateTint.
Constant Value: 22 (0x00000016)
ProgressBar_indeterminateTintMode
int ProgressBar_indeterminateTintMode
Blending mode used to apply the indeterminate progress indicator tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol indeterminateTintMode.
Constant Value: 23 (0x00000017)
ProgressBar_interpolator
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)
ProgressBar_max
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)
ProgressBar_maxHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxHeight.
Constant Value: 1 (0x00000001)
ProgressBar_maxWidth
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxWidth.
Constant Value: 0 (0x00000000)
ProgressBar_minHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 12 (0x0000000c)
ProgressBar_minWidth
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 11 (0x0000000b)
ProgressBar_mirrorForRtl
int ProgressBar_mirrorForRtl
Defines if the associated drawables need to be mirrored when in RTL mode. 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 mirrorForRtl.
Constant Value: 15 (0x0000000f)
ProgressBar_progress
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)
ProgressBar_progressBackgroundTint
int ProgressBar_progressBackgroundTint
Tint to apply to the progress indicator 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 progressBackgroundTint.
Constant Value: 18 (0x00000012)
ProgressBar_progressBackgroundTintMode
int ProgressBar_progressBackgroundTintMode
Blending mode used to apply the progress indicator background tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol progressBackgroundTintMode.
Constant Value: 19 (0x00000013)
ProgressBar_progressDrawable
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)
ProgressBar_progressTint
int ProgressBar_progressTint
Tint to apply to the progress indicator.
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 progressTint.
Constant Value: 16 (0x00000010)
ProgressBar_progressTintMode
int ProgressBar_progressTintMode
Blending mode used to apply the progress indicator tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol progressTintMode.
Constant Value: 17 (0x00000011)
ProgressBar_secondaryProgress
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)
ProgressBar_secondaryProgressTint
int ProgressBar_secondaryProgressTint
Tint to apply to the secondary progress indicator.
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 secondaryProgressTint.
Constant Value: 20 (0x00000014)
ProgressBar_secondaryProgressTintMode
int ProgressBar_secondaryProgressTintMode
Blending mode used to apply the secondary progress indicator tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol secondaryProgressTintMode.
Constant Value: 21 (0x00000015)
PropertyAnimator_pathData
int PropertyAnimator_pathData
The path used to animate the properties in the ObjectAnimator
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 pathData.
Constant Value: 1 (0x00000001)
PropertyAnimator_propertyName
int PropertyAnimator_propertyName
Name of the property being animated.
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 propertyName.
Constant Value: 0 (0x00000000)
PropertyAnimator_propertyXName
int PropertyAnimator_propertyXName
Name of the property being animated as the X coordinate of the pathData.
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 propertyXName.
Constant Value: 2 (0x00000002)
PropertyAnimator_propertyYName
int PropertyAnimator_propertyYName
Name of the property being animated as the Y coordinate of the pathData.
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 propertyYName.
Constant Value: 3 (0x00000003)
PropertyValuesHolder_propertyName
int PropertyValuesHolder_propertyName
Name of the property being animated.
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 propertyName.
Constant Value: 3 (0x00000003)
PropertyValuesHolder_valueFrom
int PropertyValuesHolder_valueFrom
Value the animation starts from.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a color value, in the form of "#rgb", "#argb",
"#rrggbb", or "#aarrggbb".
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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 valueFrom.
Constant Value: 0 (0x00000000)
PropertyValuesHolder_valueTo
int PropertyValuesHolder_valueTo
Value the animation animates to.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a color value, in the form of "#rgb", "#argb",
"#rrggbb", or "#aarrggbb".
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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 valueTo.
Constant Value: 1 (0x00000001)
PropertyValuesHolder_valueType
int PropertyValuesHolder_valueType
The type of valueFrom and valueTo.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
floatType | 0 | The given values are floats. This is the default value if valueType is unspecified. Note that if any value attribute has a color value (beginning with "#"), then this attribute is ignored and the color values are interpreted as integers. |
intType | 1 | values are integers. |
pathType | 2 | values are paths defined as strings. This type is used for path morphing in AnimatedVectorDrawable. |
colorType | 3 | values are colors, which are integers starting with "#". |
This corresponds to the global attribute
resource symbol valueType.
Constant Value: 2 (0x00000002)
RadioGroup_checkedButton
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)
RadioGroup_orientation
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.
| Constant | Value | Description |
|---|---|---|
horizontal | 0 | Defines an horizontal widget. |
vertical | 1 | Defines a vertical widget. |
This corresponds to the global attribute
resource symbol orientation.
Constant Value: 0 (0x00000000)
RatingBar_isIndicator
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)
RatingBar_numStars
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)
RatingBar_rating
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)
RatingBar_stepSize
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)
RatingDefinition_contentAgeHint
int RatingDefinition_contentAgeHint
The age associated with the content rating. The content of this rating is suitable for people of this age or above.
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 contentAgeHint.
Constant Value: 3 (0x00000003)
RatingDefinition_description
int RatingDefinition_description
The short description of the content rating.
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: 1 (0x00000001)
RatingDefinition_name
int RatingDefinition_name
The unique name of the content rating.
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)
RatingDefinition_title
int RatingDefinition_title
The title of the content rating which is shown to the user.
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: 2 (0x00000002)
RatingSystemDefinition_country
int RatingSystemDefinition_country
The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard.
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 country.
Constant Value: 3 (0x00000003)
RatingSystemDefinition_description
int RatingSystemDefinition_description
The short description of the content rating system.
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: 1 (0x00000001)
RatingSystemDefinition_name
int RatingSystemDefinition_name
The unique name of the content rating system.
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)
RatingSystemDefinition_title
int RatingSystemDefinition_title
The title of the content rating system which is shown to the user.
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: 2 (0x00000002)
RecognitionService_settingsActivity
int RecognitionService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 0 (0x00000000)
RelativeLayout_Layout_layout_above
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)
RelativeLayout_Layout_layout_alignBaseline
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)
RelativeLayout_Layout_layout_alignBottom
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)
RelativeLayout_Layout_layout_alignEnd
int RelativeLayout_Layout_layout_alignEnd
Makes the end edge of this view match the end edge of the given anchor view ID. Accommodates end margin.
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_alignEnd.
Constant Value: 20 (0x00000014)
RelativeLayout_Layout_layout_alignLeft
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)
RelativeLayout_Layout_layout_alignParentBottom
int RelativeLayout_Layout_layout_alignParentBottom
If true, makes the bottom edge of this view match the bottom edge of the parent. Accommodates bottom 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)
RelativeLayout_Layout_layout_alignParentEnd
int RelativeLayout_Layout_layout_alignParentEnd
If true, makes the end edge of this view match the end edge of the parent. Accommodates end 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_alignParentEnd.
Constant Value: 22 (0x00000016)
RelativeLayout_Layout_layout_alignParentLeft
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)
RelativeLayout_Layout_layout_alignParentRight
int RelativeLayout_Layout_layout_alignParentRight
If true, makes the right edge of this view match the right edge of the parent. Accommodates right 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)
RelativeLayout_Layout_layout_alignParentStart
int RelativeLayout_Layout_layout_alignParentStart
If true, makes the start edge of this view match the start edge of the parent. Accommodates start 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_alignParentStart.
Constant Value: 21 (0x00000015)
RelativeLayout_Layout_layout_alignParentTop
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)
RelativeLayout_Layout_layout_alignRight
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)
RelativeLayout_Layout_layout_alignStart
int RelativeLayout_Layout_layout_alignStart
Makes the start edge of this view match the start edge of the given anchor view ID. Accommodates start margin.
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_alignStart.
Constant Value: 19 (0x00000013)
RelativeLayout_Layout_layout_alignTop
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)
RelativeLayout_Layout_layout_alignWithParentIfMissing
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)
RelativeLayout_Layout_layout_below
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)
RelativeLayout_Layout_layout_centerHorizontal
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)
RelativeLayout_Layout_layout_centerInParent
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)
RelativeLayout_Layout_layout_centerVertical
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)
RelativeLayout_Layout_layout_toEndOf
int RelativeLayout_Layout_layout_toEndOf
Positions the start edge of this view to the end of the given anchor view ID. Accommodates start margin of this view and end margin of anchor view.
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_toEndOf.
Constant Value: 18 (0x00000012)
RelativeLayout_Layout_layout_toLeftOf
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)
RelativeLayout_Layout_layout_toRightOf
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)
RelativeLayout_Layout_layout_toStartOf
int RelativeLayout_Layout_layout_toStartOf
Positions the end edge of this view to the start of the given anchor view ID. Accommodates end margin of this view and start margin of anchor view.
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_toStartOf.
Constant Value: 17 (0x00000011)
RelativeLayout_gravity
int RelativeLayout_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
RelativeLayout_ignoreGravity
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)
ResolverDrawerLayout_LayoutParams_layout_gravity
int ResolverDrawerLayout_LayoutParams_layout_gravity
Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol layout_gravity.
Constant Value: 0 (0x00000000)
ResolverDrawerLayout_maxWidth
int ResolverDrawerLayout_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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxWidth.
Constant Value: 0 (0x00000000)
RestrictionEntry_defaultValue
int RestrictionEntry_defaultValue
The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 4 (0x00000004)
RestrictionEntry_description
int RestrictionEntry_description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This corresponds to the global attribute
resource symbol description.
Constant Value: 0 (0x00000000)
RestrictionEntry_entries
int RestrictionEntry_entries
Reference to an array resource that will populate a list/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 entries.
Constant Value: 1 (0x00000001)
RestrictionEntry_entryValues
int RestrictionEntry_entryValues
The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.
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: 5 (0x00000005)
RestrictionEntry_key
int RestrictionEntry_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: 3 (0x00000003)
RestrictionEntry_restrictionType
int RestrictionEntry_restrictionType
This symbol is the offset where the restrictionType
attribute's value can be found in the RestrictionEntry array.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
hidden | 0 | |
bool | 1 | |
choice | 2 | |
multi-select | 4 | |
integer | 5 | |
string | 6 | |
bundle | 7 | |
bundle_array | 8 |
Constant Value: 6 (0x00000006)
RestrictionEntry_title
int RestrictionEntry_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: 2 (0x00000002)
RingtonePreference_ringtoneType
int RingtonePreference_ringtoneType
Which ringtone type(s) to show in the picker.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
ringtone | 1 | Ringtones. |
notification | 2 | Notification sounds. |
alarm | 4 | Alarm sounds. |
all | 7 | All available ringtone sounds. |
This corresponds to the global attribute
resource symbol ringtoneType.
Constant Value: 0 (0x00000000)
RingtonePreference_showDefault
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)
RingtonePreference_showSilent
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)
RippleDrawable_color
int RippleDrawable_color
The color to use for ripple effects. This attribute is required.
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)
RippleDrawable_radius
int RippleDrawable_radius
The radius of the ripple when fully expanded. By default, the radius is computed based on the size of the ripple's container.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol radius.
Constant Value: 1 (0x00000001)
RotarySelector_orientation
int RotarySelector_orientation
Use "horizontal" or "vertical". The default is horizontal.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
horizontal | 0 | Defines an horizontal widget. |
vertical | 1 | Defines a vertical widget. |
This corresponds to the global attribute
resource symbol orientation.
Constant Value: 0 (0x00000000)
RotateAnimation_fromDegrees
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)
RotateAnimation_pivotX
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)
RotateAnimation_pivotY
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)
RotateAnimation_toDegrees
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)
RotateDrawable_drawable
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)
RotateDrawable_fromDegrees
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)
RotateDrawable_pivotX
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)
RotateDrawable_pivotY
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)
RotateDrawable_toDegrees
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)
RotateDrawable_visible
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)
ScaleAnimation_fromXScale
int ScaleAnimation_fromXScale
This symbol is the offset where the fromXScale
attribute's value can be found in the ScaleAnimation array.
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference 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)
ScaleAnimation_fromYScale
int ScaleAnimation_fromYScale
This symbol is the offset where the fromYScale
attribute's value can be found in the ScaleAnimation array.
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference 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)
ScaleAnimation_pivotX
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)
ScaleAnimation_pivotY
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)
ScaleAnimation_toXScale
int ScaleAnimation_toXScale
This symbol is the offset where the toXScale
attribute's value can be found in the ScaleAnimation array.
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference 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)
ScaleAnimation_toYScale
int ScaleAnimation_toYScale
This symbol is the offset where the toYScale
attribute's value can be found in the ScaleAnimation array.
May be a floating point value, such as "1.2".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference 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)
ScaleDrawable_drawable
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)
ScaleDrawable_level
int ScaleDrawable_level
Specifies the initial drawable level in the range 0 to 10000.
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 level.
Constant Value: 5 (0x00000005)
ScaleDrawable_scaleGravity
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.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol scaleGravity.
Constant Value: 3 (0x00000003)
ScaleDrawable_scaleHeight
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)
ScaleDrawable_scaleWidth
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)
ScaleDrawable_useIntrinsicSizeAsMinimum
int ScaleDrawable_useIntrinsicSizeAsMinimum
Use the drawable's intrinsic width and height as minimum size values. Useful if the target drawable is a 9-patch or otherwise should not be scaled down beyond a minimum size.
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 useIntrinsicSizeAsMinimum.
Constant Value: 4 (0x00000004)
ScrollView_fillViewport
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)
SearchView_closeIcon
int SearchView_closeIcon
Close button 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 closeIcon.
Constant Value: 7 (0x00000007)
SearchView_commitIcon
int SearchView_commitIcon
Commit icon shown in the query suggestion row
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 commitIcon.
Constant Value: 11 (0x0000000b)
SearchView_focusable
int SearchView_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: 0 (0x00000000)
SearchView_goIcon
int SearchView_goIcon
Go button 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 goIcon.
Constant Value: 8 (0x00000008)
SearchView_iconifiedByDefault
int SearchView_iconifiedByDefault
The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.
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 iconifiedByDefault.
Constant Value: 5 (0x00000005)
SearchView_imeOptions
int SearchView_imeOptions
The IME options to set on the query text field.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0x00000000 | There are no special semantics associated with this editor. |
actionUnspecified | 0x00000000 | There is no specific action associated with this editor, let the
editor come up with its own if it can.
Corresponds to
IME_NULL. |
actionNone | 0x00000001 | This editor has no action associated with it.
Corresponds to
IME_ACTION_NONE. |
actionGo | 0x00000002 | The action key performs a "go"
operation to take the user to the target of the text they typed.
Typically used, for example, when entering a URL.
Corresponds to
IME_ACTION_GO. |
actionSearch | 0x00000003 | The action key performs a "search"
operation, taking the user to the results of searching for the text
the have typed (in whatever context is appropriate).
Corresponds to
IME_ACTION_SEARCH. |
actionSend | 0x00000004 | The action key performs a "send"
operation, delivering the text to its target. This is typically used
when composing a message.
Corresponds to
IME_ACTION_SEND. |
actionNext | 0x00000005 | The action key performs a "next"
operation, taking the user to the next field that will accept text.
Corresponds to
IME_ACTION_NEXT. |
actionDone | 0x00000006 | The action key performs a "done"
operation, closing the soft input method.
Corresponds to
IME_ACTION_DONE. |
actionPrevious | 0x00000007 | The action key performs a "previous"
operation, taking the user to the previous field that will accept text.
Corresponds to
IME_ACTION_PREVIOUS. |
flagNoFullscreen | 0x2000000 | Used to request that the IME never go
into fullscreen mode. Applications need to be aware that the flag is not
a guarantee, and not all IMEs will respect it.
Corresponds to
|
flagNavigatePrevious | 0x4000000 | Like flagNavigateNext, but
specifies there is something interesting that a backward navigation
can focus on. If the user selects the IME's facility to backward
navigate, this will show up in the application as an actionPrevious
at InputConnection.performEditorAction(int).
Corresponds to
|
flagNavigateNext | 0x8000000 | Used to specify that there is something
interesting that a forward navigation can focus on. This is like using
actionNext, except allows the IME to be multiline (with
an enter key) as well as provide forward navigation. Note that some
IMEs may not be able to do this, especially when running on a small
screen where there is little space. In that case it does not need to
present a UI for this option. Like actionNext, if the
user selects the IME's facility to forward navigate, this will show up
in the application at
InputConnection.performEditorAction(int).
Corresponds to
|
flagNoExtractUi | 0x10000000 | Used to specify that the IME does not need
to show its extracted text UI. For input methods that may be fullscreen,
often when in landscape mode, this allows them to be smaller and let part
of the application be shown behind. Though there will likely be limited
access to the application available from the user, it can make the
experience of a (mostly) fullscreen IME less jarring. Note that when
this flag is specified the IME may not be set up to be able
to display text, so it should only be used in situations where this is
not needed.
Corresponds to
|
flagNoAccessoryAction | 0x20000000 | Used in conjunction with a custom action, this indicates that the
action should not be available as an accessory button when the
input method is full-screen.
Note that by setting this flag, there can be cases where the action
is simply never available to the user. Setting this generally means
that you think showing text being edited is more important than the
action you have supplied.
Corresponds to
|
flagNoEnterAction | 0x40000000 | Used in conjunction with a custom action,
this indicates that the action should not be available in-line as
a replacement for the "enter" key. Typically this is
because the action has such a significant impact or is not recoverable
enough that accidentally hitting it should be avoided, such as sending
a message. Note that TextView will
automatically set this flag for you on multi-line text views.
Corresponds to
|
flagForceAscii | 0x80000000 | Used to request that the IME should be capable of inputting ASCII
characters. The intention of this flag is to ensure that the user
can type Roman alphabet characters in a TextView
used for, typically, account ID or password input. It is expected that IMEs
normally are able to input ASCII even without being told so (such IMEs
already respect this flag in a sense), but there could be some cases they
aren't when, for instance, only non-ASCII input languagaes like Arabic,
Greek, Hebrew, Russian are enabled in the IME. Applications need to be
aware that the flag is not a guarantee, and not all IMEs will respect it.
However, it is strongly recommended for IME authors to respect this flag
especially when their IME could end up with a state that has only non-ASCII
input languages enabled.
Corresponds to
|
This corresponds to the global attribute
resource symbol imeOptions.
Constant Value: 4 (0x00000004)
SearchView_inputType
int SearchView_inputType
The input type to set on the query text field.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x00000000 | There is no content type. The text is not editable. |
text | 0x00000001 | Just plain old text. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_NORMAL. |
textCapCharacters | 0x00001001 | Can be combined with text and its variations to
request capitalization of all characters. Corresponds to
TYPE_TEXT_FLAG_CAP_CHARACTERS. |
textCapWords | 0x00002001 | Can be combined with text and its variations to
request capitalization of the first character of every word. Corresponds to
TYPE_TEXT_FLAG_CAP_WORDS. |
textCapSentences | 0x00004001 | Can be combined with text and its variations to
request capitalization of the first character of every sentence. Corresponds to
TYPE_TEXT_FLAG_CAP_SENTENCES. |
textAutoCorrect | 0x00008001 | Can be combined with text and its variations to
request auto-correction of text being input. Corresponds to
TYPE_TEXT_FLAG_AUTO_CORRECT. |
textAutoComplete | 0x00010001 | Can be combined with text and its variations to
specify that this field will be doing its own auto-completion and
talking with the input method appropriately. Corresponds to
TYPE_TEXT_FLAG_AUTO_COMPLETE. |
textMultiLine | 0x00020001 | Can be combined with text and its variations to
allow multiple lines of text in the field. If this flag is not set,
the text field will be constrained to a single line. Corresponds to
TYPE_TEXT_FLAG_MULTI_LINE. |
textImeMultiLine | 0x00040001 | Can be combined with text and its variations to
indicate that though the regular text view should not be multiple
lines, the IME should provide multiple lines if it can. Corresponds to
TYPE_TEXT_FLAG_IME_MULTI_LINE. |
textNoSuggestions | 0x00080001 | Can be combined with text and its variations to
indicate that the IME should not show any
dictionary-based word suggestions. Corresponds to
TYPE_TEXT_FLAG_NO_SUGGESTIONS. |
textUri | 0x00000011 | Text that will be used as a URI. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_URI. |
textEmailAddress | 0x00000021 | Text that will be used as an e-mail address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_ADDRESS. |
textEmailSubject | 0x00000031 | Text that is being supplied as the subject of an e-mail. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_SUBJECT. |
textShortMessage | 0x00000041 | Text that is the content of a short message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_SHORT_MESSAGE. |
textLongMessage | 0x00000051 | Text that is the content of a long message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_LONG_MESSAGE. |
textPersonName | 0x00000061 | Text that is the name of a person. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PERSON_NAME. |
textPostalAddress | 0x00000071 | Text that is being supplied as a postal mailing address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_POSTAL_ADDRESS. |
textPassword | 0x00000081 | Text that is a password. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PASSWORD. |
textVisiblePassword | 0x00000091 | Text that is a password that should be visible. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_VISIBLE_PASSWORD. |
textWebEditText | 0x000000a1 | Text that is being supplied as text in a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EDIT_TEXT. |
textFilter | 0x000000b1 | Text that is filtering some other data. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_FILTER. |
textPhonetic | 0x000000c1 | Text that is for phonetic pronunciation, such as a phonetic name
field in a contact entry. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PHONETIC. |
textWebEmailAddress | 0x000000d1 | Text that will be used as an e-mail address on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. |
textWebPassword | 0x000000e1 | Text that will be used as a password on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_PASSWORD. |
number | 0x00000002 | A numeric only field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_NORMAL. |
numberSigned | 0x00001002 | Can be combined with number and its other options to
allow a signed number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_SIGNED. |
numberDecimal | 0x00002002 | Can be combined with number and its other options to
allow a decimal (fractional) number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_DECIMAL. |
numberPassword | 0x00000012 | A numeric password field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_PASSWORD. |
phone | 0x00000003 | For entering a phone number. Corresponds to
TYPE_CLASS_PHONE. |
datetime | 0x00000004 | For entering a date and time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_NORMAL. |
date | 0x00000014 | For entering a date. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_DATE. |
time | 0x00000024 | For entering a time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_TIME. |
This corresponds to the global attribute
resource symbol inputType.
Constant Value: 3 (0x00000003)
SearchView_layout
int SearchView_layout
The layout to use for the search 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.
Constant Value: 1 (0x00000001)
SearchView_maxWidth
int SearchView_maxWidth
An optional maximum width of the SearchView.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxWidth.
Constant Value: 2 (0x00000002)
SearchView_queryBackground
int SearchView_queryBackground
Background for the section containing the search query
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 queryBackground.
Constant Value: 13 (0x0000000d)
SearchView_queryHint
int SearchView_queryHint
An optional query hint string to be displayed in the empty query field.
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 queryHint.
Constant Value: 6 (0x00000006)
SearchView_searchHintIcon
int SearchView_searchHintIcon
Search icon displayed as a text field hint
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 searchHintIcon.
Constant Value: 15 (0x0000000f)
SearchView_searchIcon
int SearchView_searchIcon
Search 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 searchIcon.
Constant Value: 9 (0x00000009)
SearchView_submitBackground
int SearchView_submitBackground
Background for the section containing the action (e.g. voice search)
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 submitBackground.
Constant Value: 14 (0x0000000e)
SearchView_suggestionRowLayout
int SearchView_suggestionRowLayout
Layout for query suggestion rows
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 suggestionRowLayout.
Constant Value: 12 (0x0000000c)
SearchView_voiceIcon
int SearchView_voiceIcon
Voice button 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 voiceIcon.
Constant Value: 10 (0x0000000a)
SearchableActionKey_keycode
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.
| Constant | Value | Description |
|---|---|---|
KEYCODE_UNKNOWN | 0 | |
KEYCODE_SOFT_LEFT | 1 | |
KEYCODE_SOFT_RIGHT | 2 | |
KEYCODE_HOME | 3 | |
KEYCODE_BACK | 4 | |
KEYCODE_CALL | 5 | |
KEYCODE_ENDCALL | 6 | |
KEYCODE_0 | 7 | |
KEYCODE_1 | 8 | |
KEYCODE_2 | 9 | |
KEYCODE_3 | 10 | |
KEYCODE_4 | 11 | |
KEYCODE_5 | 12 | |
KEYCODE_6 | 13 | |
KEYCODE_7 | 14 | |
KEYCODE_8 | 15 | |
KEYCODE_9 | 16 | |
KEYCODE_STAR | 17 | |
KEYCODE_POUND | 18 | |
KEYCODE_DPAD_UP | 19 | |
KEYCODE_DPAD_DOWN | 20 | |
KEYCODE_DPAD_LEFT | 21 | |
KEYCODE_DPAD_RIGHT | 22 | |
KEYCODE_DPAD_CENTER | 23 | |
KEYCODE_VOLUME_UP | 24 | |
KEYCODE_VOLUME_DOWN | 25 | |
KEYCODE_POWER | 26 | |
KEYCODE_CAMERA | 27 | |
KEYCODE_CLEAR | 28 | |
KEYCODE_A | 29 | |
KEYCODE_B | 30 | |
KEYCODE_C | 31 | |
KEYCODE_D | 32 | |
KEYCODE_E | 33 | |
KEYCODE_F | 34 | |
KEYCODE_G | 35 | |
KEYCODE_H | 36 | |
KEYCODE_I | 37 | |
KEYCODE_J | 38 | |
KEYCODE_K | 39 | |
KEYCODE_L | 40 | |
KEYCODE_M | 41 | |
KEYCODE_N | 42 | |
KEYCODE_O | 43 | |
KEYCODE_P | 44 | |
KEYCODE_Q | 45 | |
KEYCODE_R | 46 | |
KEYCODE_S | 47 | |
KEYCODE_T | 48 | |
KEYCODE_U | 49 | |
KEYCODE_V | 50 | |
KEYCODE_W | 51 | |
KEYCODE_X | 52 | |
KEYCODE_Y | 53 | |
KEYCODE_Z | 54 | |
KEYCODE_COMMA | 55 | |
KEYCODE_PERIOD | 56 | |
KEYCODE_ALT_LEFT | 57 | |
KEYCODE_ALT_RIGHT | 58 | |
KEYCODE_SHIFT_LEFT | 59 | |
KEYCODE_SHIFT_RIGHT | 60 | |
KEYCODE_TAB | 61 | |
KEYCODE_SPACE | 62 | |
KEYCODE_SYM | 63 | |
KEYCODE_EXPLORER | 64 | |
KEYCODE_ENVELOPE | 65 | |
KEYCODE_ENTER | 66 | |
KEYCODE_DEL | 67 | |
KEYCODE_GRAVE | 68 | |
KEYCODE_MINUS | 69 | |
KEYCODE_EQUALS | 70 | |
KEYCODE_LEFT_BRACKET | 71 | |
KEYCODE_RIGHT_BRACKET | 72 | |
KEYCODE_BACKSLASH | 73 | |
KEYCODE_SEMICOLON | 74 | |
KEYCODE_APOSTROPHE | 75 | |
KEYCODE_SLASH | 76 | |
KEYCODE_AT | 77 | |
KEYCODE_NUM | 78 | |
KEYCODE_HEADSETHOOK | 79 | |
KEYCODE_FOCUS | 80 | |
KEYCODE_PLUS | 81 | |
KEYCODE_MENU | 82 | |
KEYCODE_NOTIFICATION | 83 | |
KEYCODE_SEARCH | 84 | |
KEYCODE_MEDIA_PLAY_PAUSE | 85 | |
KEYCODE_MEDIA_STOP | 86 | |
KEYCODE_MEDIA_NEXT | 87 | |
KEYCODE_MEDIA_PREVIOUS | 88 | |
KEYCODE_MEDIA_REWIND | 89 | |
KEYCODE_MEDIA_FAST_FORWARD | 90 | |
KEYCODE_MUTE | 91 | |
KEYCODE_PAGE_UP | 92 | |
KEYCODE_PAGE_DOWN | 93 | |
KEYCODE_PICTSYMBOLS | 94 | |
KEYCODE_SWITCH_CHARSET | 95 | |
KEYCODE_BUTTON_A | 96 | |
KEYCODE_BUTTON_B | 97 | |
KEYCODE_BUTTON_C | 98 | |
KEYCODE_BUTTON_X | 99 | |
KEYCODE_BUTTON_Y | 100 | |
KEYCODE_BUTTON_Z | 101 | |
KEYCODE_BUTTON_L1 | 102 | |
KEYCODE_BUTTON_R1 | 103 | |
KEYCODE_BUTTON_L2 | 104 | |
KEYCODE_BUTTON_R2 | 105 | |
KEYCODE_BUTTON_THUMBL | 106 | |
KEYCODE_BUTTON_THUMBR | 107 | |
KEYCODE_BUTTON_START | 108 | |
KEYCODE_BUTTON_SELECT | 109 | |
KEYCODE_BUTTON_MODE | 110 | |
KEYCODE_ESCAPE | 111 | |
KEYCODE_FORWARD_DEL | 112 | |
KEYCODE_CTRL_LEFT | 113 | |
KEYCODE_CTRL_RIGHT | 114 | |
KEYCODE_CAPS_LOCK | 115 | |
KEYCODE_SCROLL_LOCK | 116 | |
KEYCODE_META_LEFT | 117 | |
KEYCODE_META_RIGHT | 118 | |
KEYCODE_FUNCTION | 119 | |
KEYCODE_SYSRQ | 120 | |
KEYCODE_BREAK | 121 | |
KEYCODE_MOVE_HOME | 122 | |
KEYCODE_MOVE_END | 123 | |
KEYCODE_INSERT | 124 | |
KEYCODE_FORWARD | 125 | |
KEYCODE_MEDIA_PLAY | 126 | |
KEYCODE_MEDIA_PAUSE | 127 | |
KEYCODE_MEDIA_CLOSE | 128 | |
KEYCODE_MEDIA_EJECT | 129 | |
KEYCODE_MEDIA_RECORD | 130 | |
KEYCODE_F1 | 131 | |
KEYCODE_F2 | 132 | |
KEYCODE_F3 | 133 | |
KEYCODE_F4 | 134 | |
KEYCODE_F5 | 135 | |
KEYCODE_F6 | 136 | |
KEYCODE_F7 | 137 | |
KEYCODE_F8 | 138 | |
KEYCODE_F9 | 139 | |
KEYCODE_F10 | 140 | |
KEYCODE_F11 | 141 | |
KEYCODE_F12 | 142 | |
KEYCODE_NUM_LOCK | 143 | |
KEYCODE_NUMPAD_0 | 144 | |
KEYCODE_NUMPAD_1 | 145 | |
KEYCODE_NUMPAD_2 | 146 | |
KEYCODE_NUMPAD_3 | 147 | |
KEYCODE_NUMPAD_4 | 148 | |
KEYCODE_NUMPAD_5 | 149 | |
KEYCODE_NUMPAD_6 | 150 | |
KEYCODE_NUMPAD_7 | 151 | |
KEYCODE_NUMPAD_8 | 152 | |
KEYCODE_NUMPAD_9 | 153 | |
KEYCODE_NUMPAD_DIVIDE | 154 | |
KEYCODE_NUMPAD_MULTIPLY | 155 | |
KEYCODE_NUMPAD_SUBTRACT | 156 | |
KEYCODE_NUMPAD_ADD | 157 | |
KEYCODE_NUMPAD_DOT | 158 | |
KEYCODE_NUMPAD_COMMA | 159 | |
KEYCODE_NUMPAD_ENTER | 160 | |
KEYCODE_NUMPAD_EQUALS | 161 | |
KEYCODE_NUMPAD_LEFT_PAREN | 162 | |
KEYCODE_NUMPAD_RIGHT_PAREN | 163 | |
KEYCODE_VOLUME_MUTE | 164 | |
KEYCODE_INFO | 165 | |
KEYCODE_CHANNEL_UP | 166 | |
KEYCODE_CHANNEL_DOWN | 167 | |
KEYCODE_ZOOM_IN | 168 | |
KEYCODE_ZOOM_OUT | 169 | |
KEYCODE_TV | 170 | |
KEYCODE_WINDOW | 171 | |
KEYCODE_GUIDE | 172 | |
KEYCODE_DVR | 173 | |
KEYCODE_BOOKMARK | 174 | |
KEYCODE_CAPTIONS | 175 | |
KEYCODE_SETTINGS | 176 | |
KEYCODE_TV_POWER | 177 | |
KEYCODE_TV_INPUT | 178 | |
KEYCODE_STB_POWER | 179 | |
KEYCODE_STB_INPUT | 180 | |
KEYCODE_AVR_POWER | 181 | |
KEYCODE_AVR_INPUT | 182 | |
KEYCODE_PROG_GRED | 183 | |
KEYCODE_PROG_GREEN | 184 | |
KEYCODE_PROG_YELLOW | 185 | |
KEYCODE_PROG_BLUE | 186 | |
KEYCODE_APP_SWITCH | 187 | |
KEYCODE_BUTTON_1 | 188 | |
KEYCODE_BUTTON_2 | 189 | |
KEYCODE_BUTTON_3 | 190 | |
KEYCODE_BUTTON_4 | 191 | |
KEYCODE_BUTTON_5 | 192 | |
KEYCODE_BUTTON_6 | 193 | |
KEYCODE_BUTTON_7 | 194 | |
KEYCODE_BUTTON_8 | 195 | |
KEYCODE_BUTTON_9 | 196 | |
KEYCODE_BUTTON_10 | 197 | |
KEYCODE_BUTTON_11 | 198 | |
KEYCODE_BUTTON_12 | 199 | |
KEYCODE_BUTTON_13 | 200 | |
KEYCODE_BUTTON_14 | 201 | |
KEYCODE_BUTTON_15 | 202 | |
KEYCODE_BUTTON_16 | 203 | |
KEYCODE_LANGUAGE_SWITCH | 204 | |
KEYCODE_MANNER_MODE | 205 | |
KEYCODE_3D_MODE | 206 | |
KEYCODE_CONTACTS | 207 | |
KEYCODE_CALENDAR | 208 | |
KEYCODE_MUSIC | 209 | |
KEYCODE_CALCULATOR | 210 | |
KEYCODE_ZENKAKU_HANKAKU | 211 | |
KEYCODE_EISU | 212 | |
KEYCODE_MUHENKAN | 213 | |
KEYCODE_HENKAN | 214 | |
KEYCODE_KATAKANA_HIRAGANA | 215 | |
KEYCODE_YEN | 216 | |
KEYCODE_RO | 217 | |
KEYCODE_KANA | 218 | |
KEYCODE_ASSIST | 219 | |
KEYCODE_BRIGHTNESS_DOWN | 220 | |
KEYCODE_BRIGHTNESS_UP | 221 | |
KEYCODE_MEDIA_AUDIO_TRACK | 222 | |
KEYCODE_MEDIA_SLEEP | 223 | |
KEYCODE_MEDIA_WAKEUP | 224 | |
KEYCODE_PAIRING | 225 | |
KEYCODE_MEDIA_TOP_MENU | 226 | |
KEYCODE_11 | 227 | |
KEYCODE_12 | 228 | |
KEYCODE_LAST_CHANNEL | 229 | |
KEYCODE_TV_DATA_SERVICE | 230 | |
KEYCODE_VOICE_ASSIST | 231 | |
KEYCODE_TV_RADIO_SERVICE | 232 | |
KEYCODE_TV_TELETEXT | 233 | |
KEYCODE_TV_NUMBER_ENTRY | 234 | |
KEYCODE_TV_TERRESTRIAL_ANALOG | 235 | |
KEYCODE_TV_TERRESTRIAL_DIGITAL | 236 | |
KEYCODE_TV_SATELLITE | 237 | |
KEYCODE_TV_SATELLITE_BS | 238 | |
KEYCODE_TV_SATELLITE_CS | 239 | |
KEYCODE_TV_SATELLITE_SERVICE | 240 | |
KEYCODE_TV_NETWORK | 241 | |
KEYCODE_TV_ANTENNA_CABLE | 242 | |
KEYCODE_TV_INPUT_HDMI_1 | 243 | |
KEYCODE_TV_INPUT_HDMI_2 | 244 | |
KEYCODE_TV_INPUT_HDMI_3 | 245 | |
KEYCODE_TV_INPUT_HDMI_4 | 246 | |
KEYCODE_TV_INPUT_COMPOSITE_1 | 247 | |
KEYCODE_TV_INPUT_COMPOSITE_2 | 248 | |
KEYCODE_TV_INPUT_COMPONENT_1 | 249 | |
KEYCODE_TV_INPUT_COMPONENT_2 | 250 | |
KEYCODE_TV_INPUT_VGA_1 | 251 | |
KEYCODE_TV_AUDIO_DESCRIPTION | 252 | |
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP | 253 | |
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN | 254 | |
KEYCODE_TV_ZOOM_MODE | 255 | |
KEYCODE_TV_CONTENTS_MENU | 256 | |
KEYCODE_TV_MEDIA_CONTEXT_MENU | 257 | |
KEYCODE_TV_TIMER_PROGRAMMING | 258 | |
KEYCODE_HELP | 259 | |
KEYCODE_NAVIGATE_PREVIOUS | 260 | |
KEYCODE_NAVIGATE_NEXT | 261 | |
KEYCODE_NAVIGATE_IN | 262 | |
KEYCODE_NAVIGATE_OUT | 263 | |
KEYCODE_STEM_PRIMARY | 264 | |
KEYCODE_STEM_1 | 265 | |
KEYCODE_STEM_2 | 266 | |
KEYCODE_STEM_3 | 267 | |
KEYCODE_DPAD_UP_LEFT | 268 | |
KEYCODE_DPAD_DOWN_LEFT | 269 | |
KEYCODE_DPAD_UP_RIGHT | 270 | |
KEYCODE_DPAD_DOWN_RIGHT | 271 | |
KEYCODE_MEDIA_SKIP_FORWARD | 272 | |
KEYCODE_MEDIA_SKIP_BACKWARD | 273 | |
KEYCODE_MEDIA_STEP_FORWARD | 274 | |
KEYCODE_MEDIA_STEP_BACKWARD | 275 | |
KEYCODE_SOFT_SLEEP | 276 | |
KEYCODE_CUT | 277 | |
KEYCODE_COPY | 278 | |
KEYCODE_PASTE | 279 | |
KEYCODE_SYSTEM_NAVIGATION_UP | 280 | |
KEYCODE_SYSTEM_NAVIGATION_DOWN | 281 | |
KEYCODE_SYSTEM_NAVIGATION_LEFT | 282 | |
KEYCODE_SYSTEM_NAVIGATION_RIGHT | 283 |
This corresponds to the global attribute
resource symbol keycode.
Constant Value: 0 (0x00000000)
SearchableActionKey_queryActionMsg
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)
SearchableActionKey_suggestActionMsg
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)
SearchableActionKey_suggestActionMsgColumn
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)
Searchable_autoUrlDetect
int Searchable_autoUrlDetect
If provided and true, URLs entered in the search dialog while searching
within this activity would be detected and treated as URLs (show a 'go' button in the
keyboard and invoke the browser directly when user launches the URL instead of passing
the URL to the activity). If set to false any URLs entered are treated as
normal query text.
The default value is false. Optional attribute..
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 autoUrlDetect.
Constant Value: 21 (0x00000015)
Searchable_hint
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)
Searchable_icon
int Searchable_icon
This is deprecated.
The default
application icon is now always used, so this attribute is
obsolete.
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)
Searchable_imeOptions
int Searchable_imeOptions
Additional features you can enable in an IME associated with an editor
to improve the integration with your application. The constants
here correspond to those defined by
imeOptions.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0x00000000 | There are no special semantics associated with this editor. |
actionUnspecified | 0x00000000 | There is no specific action associated with this editor, let the
editor come up with its own if it can.
Corresponds to
IME_NULL. |
actionNone | 0x00000001 | This editor has no action associated with it.
Corresponds to
IME_ACTION_NONE. |
actionGo | 0x00000002 | The action key performs a "go"
operation to take the user to the target of the text they typed.
Typically used, for example, when entering a URL.
Corresponds to
IME_ACTION_GO. |
actionSearch | 0x00000003 | The action key performs a "search"
operation, taking the user to the results of searching for the text
the have typed (in whatever context is appropriate).
Corresponds to
IME_ACTION_SEARCH. |
actionSend | 0x00000004 | The action key performs a "send"
operation, delivering the text to its target. This is typically used
when composing a message.
Corresponds to
IME_ACTION_SEND. |
actionNext | 0x00000005 | The action key performs a "next"
operation, taking the user to the next field that will accept text.
Corresponds to
IME_ACTION_NEXT. |
actionDone | 0x00000006 | The action key performs a "done"
operation, closing the soft input method.
Corresponds to
IME_ACTION_DONE. |
actionPrevious | 0x00000007 | The action key performs a "previous"
operation, taking the user to the previous field that will accept text.
Corresponds to
IME_ACTION_PREVIOUS. |
flagNoFullscreen | 0x2000000 | Used to request that the IME never go
into fullscreen mode. Applications need to be aware that the flag is not
a guarantee, and not all IMEs will respect it.
Corresponds to
|
flagNavigatePrevious | 0x4000000 | Like flagNavigateNext, but
specifies there is something interesting that a backward navigation
can focus on. If the user selects the IME's facility to backward
navigate, this will show up in the application as an actionPrevious
at InputConnection.performEditorAction(int).
Corresponds to
|
flagNavigateNext | 0x8000000 | Used to specify that there is something
interesting that a forward navigation can focus on. This is like using
actionNext, except allows the IME to be multiline (with
an enter key) as well as provide forward navigation. Note that some
IMEs may not be able to do this, especially when running on a small
screen where there is little space. In that case it does not need to
present a UI for this option. Like actionNext, if the
user selects the IME's facility to forward navigate, this will show up
in the application at
InputConnection.performEditorAction(int).
Corresponds to
|
flagNoExtractUi | 0x10000000 | Used to specify that the IME does not need
to show its extracted text UI. For input methods that may be fullscreen,
often when in landscape mode, this allows them to be smaller and let part
of the application be shown behind. Though there will likely be limited
access to the application available from the user, it can make the
experience of a (mostly) fullscreen IME less jarring. Note that when
this flag is specified the IME may not be set up to be able
to display text, so it should only be used in situations where this is
not needed.
Corresponds to
|
flagNoAccessoryAction | 0x20000000 | Used in conjunction with a custom action, this indicates that the
action should not be available as an accessory button when the
input method is full-screen.
Note that by setting this flag, there can be cases where the action
is simply never available to the user. Setting this generally means
that you think showing text being edited is more important than the
action you have supplied.
Corresponds to
|
flagNoEnterAction | 0x40000000 | Used in conjunction with a custom action,
this indicates that the action should not be available in-line as
a replacement for the "enter" key. Typically this is
because the action has such a significant impact or is not recoverable
enough that accidentally hitting it should be avoided, such as sending
a message. Note that TextView will
automatically set this flag for you on multi-line text views.
Corresponds to
|
flagForceAscii | 0x80000000 | Used to request that the IME should be capable of inputting ASCII
characters. The intention of this flag is to ensure that the user
can type Roman alphabet characters in a TextView
used for, typically, account ID or password input. It is expected that IMEs
normally are able to input ASCII even without being told so (such IMEs
already respect this flag in a sense), but there could be some cases they
aren't when, for instance, only non-ASCII input languagaes like Arabic,
Greek, Hebrew, Russian are enabled in the IME. Applications need to be
aware that the flag is not a guarantee, and not all IMEs will respect it.
However, it is strongly recommended for IME authors to respect this flag
especially when their IME could end up with a state that has only non-ASCII
input languages enabled.
Corresponds to
|
This corresponds to the global attribute
resource symbol imeOptions.
Constant Value: 16 (0x00000010)
Searchable_includeInGlobalSearch
int Searchable_includeInGlobalSearch
If provided and true, this searchable activity will be
included in any global lists of search targets.
The default value is false. Optional attribute..
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 includeInGlobalSearch.
Constant Value: 18 (0x00000012)
Searchable_inputType
int Searchable_inputType
The type of data being placed in a text field, used to help an
input method decide how to let the user enter text. The constants
here correspond to those defined by
InputType. Generally you can select
a single value, though some can be combined together as
indicated. Setting this attribute to anything besides
none also implies that the text is editable.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x00000000 | There is no content type. The text is not editable. |
text | 0x00000001 | Just plain old text. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_NORMAL. |
textCapCharacters | 0x00001001 | Can be combined with text and its variations to
request capitalization of all characters. Corresponds to
TYPE_TEXT_FLAG_CAP_CHARACTERS. |
textCapWords | 0x00002001 | Can be combined with text and its variations to
request capitalization of the first character of every word. Corresponds to
TYPE_TEXT_FLAG_CAP_WORDS. |
textCapSentences | 0x00004001 | Can be combined with text and its variations to
request capitalization of the first character of every sentence. Corresponds to
TYPE_TEXT_FLAG_CAP_SENTENCES. |
textAutoCorrect | 0x00008001 | Can be combined with text and its variations to
request auto-correction of text being input. Corresponds to
TYPE_TEXT_FLAG_AUTO_CORRECT. |
textAutoComplete | 0x00010001 | Can be combined with text and its variations to
specify that this field will be doing its own auto-completion and
talking with the input method appropriately. Corresponds to
TYPE_TEXT_FLAG_AUTO_COMPLETE. |
textMultiLine | 0x00020001 | Can be combined with text and its variations to
allow multiple lines of text in the field. If this flag is not set,
the text field will be constrained to a single line. Corresponds to
TYPE_TEXT_FLAG_MULTI_LINE. |
textImeMultiLine | 0x00040001 | Can be combined with text and its variations to
indicate that though the regular text view should not be multiple
lines, the IME should provide multiple lines if it can. Corresponds to
TYPE_TEXT_FLAG_IME_MULTI_LINE. |
textNoSuggestions | 0x00080001 | Can be combined with text and its variations to
indicate that the IME should not show any
dictionary-based word suggestions. Corresponds to
TYPE_TEXT_FLAG_NO_SUGGESTIONS. |
textUri | 0x00000011 | Text that will be used as a URI. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_URI. |
textEmailAddress | 0x00000021 | Text that will be used as an e-mail address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_ADDRESS. |
textEmailSubject | 0x00000031 | Text that is being supplied as the subject of an e-mail. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_SUBJECT. |
textShortMessage | 0x00000041 | Text that is the content of a short message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_SHORT_MESSAGE. |
textLongMessage | 0x00000051 | Text that is the content of a long message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_LONG_MESSAGE. |
textPersonName | 0x00000061 | Text that is the name of a person. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PERSON_NAME. |
textPostalAddress | 0x00000071 | Text that is being supplied as a postal mailing address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_POSTAL_ADDRESS. |
textPassword | 0x00000081 | Text that is a password. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PASSWORD. |
textVisiblePassword | 0x00000091 | Text that is a password that should be visible. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_VISIBLE_PASSWORD. |
textWebEditText | 0x000000a1 | Text that is being supplied as text in a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EDIT_TEXT. |
textFilter | 0x000000b1 | Text that is filtering some other data. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_FILTER. |
textPhonetic | 0x000000c1 | Text that is for phonetic pronunciation, such as a phonetic name
field in a contact entry. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PHONETIC. |
textWebEmailAddress | 0x000000d1 | Text that will be used as an e-mail address on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. |
textWebPassword | 0x000000e1 | Text that will be used as a password on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_PASSWORD. |
number | 0x00000002 | A numeric only field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_NORMAL. |
numberSigned | 0x00001002 | Can be combined with number and its other options to
allow a signed number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_SIGNED. |
numberDecimal | 0x00002002 | Can be combined with number and its other options to
allow a decimal (fractional) number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_DECIMAL. |
numberPassword | 0x00000012 | A numeric password field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_PASSWORD. |
phone | 0x00000003 | For entering a phone number. Corresponds to
TYPE_CLASS_PHONE. |
datetime | 0x00000004 | For entering a date and time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_NORMAL. |
date | 0x00000014 | For entering a date. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_DATE. |
time | 0x00000024 | For entering a time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_TIME. |
This corresponds to the global attribute
resource symbol inputType.
Constant Value: 10 (0x0000000a)
Searchable_label
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)
Searchable_queryAfterZeroResults
int Searchable_queryAfterZeroResults
If provided and true, this searchable activity will be invoked for all
queries in a particular session. If set to false and the activity
returned zero results for a query, it will not be invoked again in that session for
supersets of that zero-results query. For example, if the activity returned zero
results for "bo", it would not be queried again for "bob".
The default value is false. Optional attribute..
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 queryAfterZeroResults.
Constant Value: 19 (0x00000013)
Searchable_searchButtonText
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)
Searchable_searchMode
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.
| Constant | Value | Description |
|---|---|---|
showSearchLabelAsBadge | 0x04 | 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. |
showSearchIconAsBadge | 0x08 | This is deprecated. The default application icon is now always used, so this option is obsolete. |
queryRewriteFromData | 0x10 | If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to be considered as the text for suggestion query rewriting. This should only be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user inspection and editing - typically, HTTP/HTTPS Uri's. |
queryRewriteFromText | 0x20 | 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)
Searchable_searchSettingsDescription
int Searchable_searchSettingsDescription
If provided, this string will be used to describe the searchable item in the searchable items settings within system search settings. Optional attribute.
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 searchSettingsDescription.
Constant Value: 20 (0x00000014)
Searchable_searchSuggestAuthority
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.example.android.apis.SuggestionProvider") 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)
Searchable_searchSuggestIntentAction
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)
Searchable_searchSuggestIntentData
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)
Searchable_searchSuggestPath
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)
Searchable_searchSuggestSelection
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)
Searchable_searchSuggestThreshold
int Searchable_searchSuggestThreshold
If provided, this is the minimum number of characters needed to trigger search suggestions. The default value is 0. Optional 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 searchSuggestThreshold.
Constant Value: 17 (0x00000011)
Searchable_voiceLanguage
int Searchable_voiceLanguage
If provided, this specifies the spoken language to be expected, and that it will be
different than the one set in the getDefault().
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 voiceLanguage.
Constant Value: 14 (0x0000000e)
Searchable_voiceLanguageModel
int Searchable_voiceLanguageModel
If provided, this specifies the language model that should be used by the
voice recognition system. See
EXTRA_LANGUAGE_MODEL for more information.
If not provided, the default value
LANGUAGE_MODEL_FREE_FORM will be used.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol voiceLanguageModel.
Constant Value: 12 (0x0000000c)
Searchable_voiceMaxResults
int Searchable_voiceMaxResults
If provided, enforces the maximum number of results to return, including the "best" result which will always be provided as the SEARCH intent's primary query. Must be one or greater. If not provided, the recognizer will choose how many results to return.
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 voiceMaxResults.
Constant Value: 15 (0x0000000f)
Searchable_voicePromptText
int Searchable_voicePromptText
If provided, this specifies a prompt that will be displayed during voice input.
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 voicePromptText.
Constant Value: 13 (0x0000000d)
Searchable_voiceSearchMode
int Searchable_voiceSearchMode
Voice search features are controlled by mode bits in this field. Omitting this field, or setting to zero, provides default behavior. If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must also be set. Optional attribute.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
showVoiceSearchButton | 0x01 | If set, display a voice search button. This only takes effect if voice search is available on the device. |
launchWebSearch | 0x02 | If set, the voice search button will take the user directly to a built-in voice web search activity. Most applications will not use this flag, as it will take the user away from the activity in which search was invoked. |
launchRecognizer | 0x04 | If set, the voice search button will take the user directly to a built-in voice recording activity. This activity will prompt the user to speak, transcribe the spoken text, and forward the resulting query text to the searchable activity, just as if the user had typed it into the search UI and clicked the search button. |
This corresponds to the global attribute
resource symbol voiceSearchMode.
Constant Value: 11 (0x0000000b)
SeekBarPreference_layout
int SeekBarPreference_layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.
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)
SeekBar_splitTrack
int SeekBar_splitTrack
Whether to split the track and leave a gap for the thumb 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 splitTrack.
Constant Value: 2 (0x00000002)
SeekBar_thumb
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)
SeekBar_thumbOffset
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol thumbOffset.
Constant Value: 1 (0x00000001)
SeekBar_thumbTint
int SeekBar_thumbTint
Tint to apply to the thumb drawable.
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 thumbTint.
Constant Value: 3 (0x00000003)
SeekBar_thumbTintMode
int SeekBar_thumbTintMode
Blending mode used to apply the thumb tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol thumbTintMode.
Constant Value: 4 (0x00000004)
SeekBar_tickMark
int SeekBar_tickMark
Drawable displayed at each progress position 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 tickMark.
Constant Value: 5 (0x00000005)
SeekBar_tickMarkTint
int SeekBar_tickMarkTint
Tint to apply to the tick mark drawable.
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 tickMarkTint.
Constant Value: 6 (0x00000006)
SeekBar_tickMarkTintMode
int SeekBar_tickMarkTintMode
Blending mode used to apply the tick mark tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol tickMarkTintMode.
Constant Value: 7 (0x00000007)
SelectionModeDrawables_actionModeCopyDrawable
int SelectionModeDrawables_actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action 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 actionModeCopyDrawable.
Constant Value: 1 (0x00000001)
SelectionModeDrawables_actionModeCutDrawable
int SelectionModeDrawables_actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action 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 actionModeCutDrawable.
Constant Value: 0 (0x00000000)
SelectionModeDrawables_actionModePasteDrawable
int SelectionModeDrawables_actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action 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 actionModePasteDrawable.
Constant Value: 2 (0x00000002)
SelectionModeDrawables_actionModeSelectAllDrawable
int SelectionModeDrawables_actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action 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 actionModeSelectAllDrawable.
Constant Value: 3 (0x00000003)
SettingInjectorService_icon
int SettingInjectorService_icon
The icon for the preference, should refer to all apps covered by the setting. Typically a generic icon for the developer.
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)
SettingInjectorService_settingsActivity
int SettingInjectorService_settingsActivity
The activity to launch when the setting is clicked on.
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 settingsActivity.
Constant Value: 2 (0x00000002)
SettingInjectorService_title
int SettingInjectorService_title
The title for the preference.
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: 1 (0x00000001)
ShapeDrawablePadding_bottom
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol bottom.
Constant Value: 3 (0x00000003)
ShapeDrawablePadding_left
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol left.
Constant Value: 0 (0x00000000)
ShapeDrawablePadding_right
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol right.
Constant Value: 2 (0x00000002)
ShapeDrawablePadding_top
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol top.
Constant Value: 1 (0x00000001)
ShapeDrawable_color
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: 4 (0x00000004)
ShapeDrawable_dither
int ShapeDrawable_dither
Enables or disables dithering.
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: 0 (0x00000000)
ShapeDrawable_height
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 2 (0x00000002)
ShapeDrawable_tint
int ShapeDrawable_tint
If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.
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: 1 (0x00000001)
ShapeDrawable_tintMode
int ShapeDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. The default value is src_in, which treats the drawable as an alpha mask.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol tintMode.
Constant Value: 5 (0x00000005)
ShapeDrawable_width
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol width.
Constant Value: 3 (0x00000003)
ShortcutCategories_name
int ShortcutCategories_name
A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".
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)
Shortcut_enabled
int Shortcut_enabled
Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. For example, a non-enabled EditText prevents the user from editing the contained text, and a non-enabled Button prevents the user from tapping the button. The appearance of enabled and non-enabled widgets may differ, if the drawables referenced from evaluating state_enabled differ.
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)
Shortcut_icon
int Shortcut_icon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.
The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
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)
Shortcut_shortcutDisabledMessage
int Shortcut_shortcutDisabledMessage
This symbol is the offset where the shortcutDisabledMessage
attribute's value can be found in the Shortcut 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)
Shortcut_shortcutId
int Shortcut_shortcutId
This symbol is the offset where the shortcutId
attribute's value can be found in the Shortcut array.
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.
Constant Value: 2 (0x00000002)
Shortcut_shortcutLongLabel
int Shortcut_shortcutLongLabel
This symbol is the offset where the shortcutLongLabel
attribute's value can be found in the Shortcut 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)
Shortcut_shortcutShortLabel
int Shortcut_shortcutShortLabel
This symbol is the offset where the shortcutShortLabel
attribute's value can be found in the Shortcut 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: 3 (0x00000003)
Slide_slideEdge
int Slide_slideEdge
This symbol is the offset where the slideEdge
attribute's value can be found in the Slide array.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
left | 0x03 | Slide to and from the left edge of the Scene. |
top | 0x30 | Slide to and from the top edge of the Scene. |
right | 0x05 | Slide to and from the right edge of the Scene. |
bottom | 0x50 | Slide to and from the bottom edge of the Scene. |
start | 0x00800003 | Slide to and from the x-axis position at the start of the Scene root. |
end | 0x00800005 | Slide to and from the x-axis position at the end of the Scene root. |
Constant Value: 0 (0x00000000)
SlidingDrawer_allowSingleTap
int SlidingDrawer_allowSingleTap
Indicates whether the drawer can be opened/closed by a single tap on the handle. (If false, the user must drag or fling, or click using the trackball, to open/close the drawer.) Default is true.
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 allowSingleTap.
Constant Value: 3 (0x00000003)
SlidingDrawer_animateOnClick
int SlidingDrawer_animateOnClick
Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. Default 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 animateOnClick.
Constant Value: 6 (0x00000006)
SlidingDrawer_bottomOffset
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol bottomOffset.
Constant Value: 1 (0x00000001)
SlidingDrawer_content
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 corresponds to the global attribute
resource symbol content.
Constant Value: 5 (0x00000005)
SlidingDrawer_handle
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 corresponds to the global attribute
resource symbol handle.
Constant Value: 4 (0x00000004)
SlidingDrawer_orientation
int SlidingDrawer_orientation
Orientation of the SlidingDrawer.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
horizontal | 0 | Defines an horizontal widget. |
vertical | 1 | Defines a vertical widget. |
This corresponds to the global attribute
resource symbol orientation.
Constant Value: 0 (0x00000000)
SlidingDrawer_topOffset
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol topOffset.
Constant Value: 2 (0x00000002)
SlidingTab_orientation
int SlidingTab_orientation
Use "horizontal" for a row, "vertical" for a column. The default is horizontal.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
horizontal | 0 | Defines an horizontal widget. |
vertical | 1 | Defines a vertical widget. |
This corresponds to the global attribute
resource symbol orientation.
Constant Value: 0 (0x00000000)
SpellChecker_Subtype_label
int SpellChecker_Subtype_label
The name of the subtype.
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)
SpellChecker_Subtype_languageTag
int SpellChecker_Subtype_languageTag
The BCP-47 Language Tag of the subtype. This replaces
SpellChecker_Subtype_subtypeLocale.
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 languageTag.
Constant Value: 4 (0x00000004)
SpellChecker_Subtype_subtypeExtraValue
int SpellChecker_Subtype_subtypeExtraValue
The extra value of the subtype. This string can be any string and will be passed to the SpellChecker.
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 subtypeExtraValue.
Constant Value: 2 (0x00000002)
SpellChecker_Subtype_subtypeId
int SpellChecker_Subtype_subtypeId
The unique id for the subtype. The text service (spell checker) framework keeps track of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs will stay enabled even if other attributes are different. If the ID is unspecified or or explicitly specified to 0 in XML resources, {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead.
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 {@link android.R.attr#subtypeId}.
Constant Value: 3 (0x00000003)
SpellChecker_Subtype_subtypeLocale
int SpellChecker_Subtype_subtypeLocale
The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
This is also used by the framework to know the supported locales
of the spell checker. getLocale()
returns the value specified in this 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 subtypeLocale.
Constant Value: 1 (0x00000001)
SpellChecker_label
int SpellChecker_label
The name of the spell checker.
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)
SpellChecker_settingsActivity
int SpellChecker_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 1 (0x00000001)
Spinner_dropDownSelector
int Spinner_dropDownSelector
List selector to use for spinnerMode="dropdown" display.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 1 (0x00000001)
Spinner_dropDownWidth
int Spinner_dropDownWidth
Width of the dropdown in spinnerMode="dropdown".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The dropdown should fill the width of the screen.
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The dropdown should fit the width of the screen. Introduced in API Level 8. |
wrap_content | -2 | The dropdown should fit the width of its anchor. |
This corresponds to the global attribute
resource symbol dropDownWidth.
Constant Value: 4 (0x00000004)
Spinner_gravity
int Spinner_gravity
Gravity setting for positioning the currently selected item.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
Spinner_popupBackground
int Spinner_popupBackground
Background drawable to use for the dropdown in spinnerMode="dropdown".
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 popupBackground.
Constant Value: 2 (0x00000002)
Spinner_popupElevation
int Spinner_popupElevation
Window elevation to use for the dropdown in spinnerMode="dropdown".
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol popupElevation.
Constant Value: 6 (0x00000006)
Spinner_popupTheme
int Spinner_popupTheme
Theme to use for the drop-down or dialog popup 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 popupTheme.
Constant Value: 7 (0x00000007)
Spinner_prompt
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: 3 (0x00000003)
Spinner_spinnerMode
int Spinner_spinnerMode
Display mode for spinner options.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
dialog | 0 | Spinner options will be presented to the user as a dialog window. |
dropdown | 1 | Spinner options will be presented to the user as an inline dropdown anchored to the spinner widget itself. |
This corresponds to the global attribute
resource symbol spinnerMode.
Constant Value: 5 (0x00000005)
StateListAnimatorItem_animation
int StateListAnimatorItem_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: 0 (0x00000000)
StateListDrawableItem_drawable
int StateListDrawableItem_drawable
Reference to a drawable resource to use for the state. If not given, the drawable must be defined by the first child tag.
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)
StateListDrawable_autoMirrored
int StateListDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
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 autoMirrored.
Constant Value: 6 (0x00000006)
StateListDrawable_constantSize
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: 3 (0x00000003)
StateListDrawable_dither
int StateListDrawable_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).
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: 0 (0x00000000)
StateListDrawable_enterFadeDuration
int StateListDrawable_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable.
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 enterFadeDuration.
Constant Value: 4 (0x00000004)
StateListDrawable_exitFadeDuration
int StateListDrawable_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable.
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 exitFadeDuration.
Constant Value: 5 (0x00000005)
StateListDrawable_variablePadding
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: 2 (0x00000002)
StateListDrawable_visible
int StateListDrawable_visible
Indicates whether the drawable should be initially 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: 1 (0x00000001)
SwitchPreference_disableDependentsState
int SwitchPreference_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.
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)
SwitchPreference_summaryOff
int SwitchPreference_summaryOff
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.
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)
SwitchPreference_summaryOn
int SwitchPreference_summaryOn
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.
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)
SwitchPreference_switchTextOff
int SwitchPreference_switchTextOff
The text used on the switch itself when in the "off" state. This should be a very SHORT string, as it appears in a small space.
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 switchTextOff.
Constant Value: 4 (0x00000004)
SwitchPreference_switchTextOn
int SwitchPreference_switchTextOn
The text used on the switch itself when in the "on" state. This should be a very SHORT string, as it appears in a small space.
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 switchTextOn.
Constant Value: 3 (0x00000003)
Switch_showText
int Switch_showText
Whether to draw on/off 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 showText.
Constant Value: 11 (0x0000000b)
Switch_splitTrack
int Switch_splitTrack
Whether to split the track and leave a gap for the thumb 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 splitTrack.
Constant Value: 8 (0x00000008)
Switch_switchMinWidth
int Switch_switchMinWidth
Minimum width for the switch component
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol switchMinWidth.
Constant Value: 5 (0x00000005)
Switch_switchPadding
int Switch_switchPadding
Minimum space between the switch and caption 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol switchPadding.
Constant Value: 6 (0x00000006)
Switch_switchTextAppearance
int Switch_switchTextAppearance
TextAppearance style for text displayed on the switch thumb.
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 switchTextAppearance.
Constant Value: 3 (0x00000003)
Switch_textOff
int Switch_textOff
Text to use when the switch is in the unchecked/"off" state.
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: 1 (0x00000001)
Switch_textOn
int Switch_textOn
Text to use when the switch is in the checked/"on" state.
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: 0 (0x00000000)
Switch_thumb
int Switch_thumb
Drawable to use as the "thumb" that switches back and forth.
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: 2 (0x00000002)
Switch_thumbTextPadding
int Switch_thumbTextPadding
Amount of padding on either side of text within the switch thumb.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol thumbTextPadding.
Constant Value: 7 (0x00000007)
Switch_thumbTint
int Switch_thumbTint
Tint to apply to the thumb.
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 thumbTint.
Constant Value: 9 (0x00000009)
Switch_thumbTintMode
int Switch_thumbTintMode
Blending mode used to apply the thumb tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol thumbTintMode.
Constant Value: 10 (0x0000000a)
Switch_track
int Switch_track
Drawable to use as the "track" that the switch thumb slides within.
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 track.
Constant Value: 4 (0x00000004)
Switch_trackTint
int Switch_trackTint
Tint to apply to the track.
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 trackTint.
Constant Value: 12 (0x0000000c)
Switch_trackTintMode
int Switch_trackTintMode
Blending mode used to apply the track tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol trackTintMode.
Constant Value: 13 (0x0000000d)
SyncAdapter_accountType
int SyncAdapter_accountType
The account type this authenticator handles.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol accountType.
Constant Value: 1 (0x00000001)
SyncAdapter_allowParallelSyncs
int SyncAdapter_allowParallelSyncs
Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority. Otherwise the SyncManager will be sure not to issue a start sync request to this SyncAdapter if the SyncAdapter is already syncing another account. Defaults to false.
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 allowParallelSyncs.
Constant Value: 5 (0x00000005)
SyncAdapter_contentAuthority
int SyncAdapter_contentAuthority
the authority of a content provider.
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 contentAuthority.
Constant Value: 2 (0x00000002)
SyncAdapter_isAlwaysSyncable
int SyncAdapter_isAlwaysSyncable
Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. Defaults to false.
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 isAlwaysSyncable.
Constant Value: 6 (0x00000006)
SyncAdapter_settingsActivity
int SyncAdapter_settingsActivity
If provided, specifies the action of the settings activity for this SyncAdapter.
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 settingsActivity.
Constant Value: 0 (0x00000000)
SyncAdapter_supportsUploading
int SyncAdapter_supportsUploading
This symbol is the offset where the supportsUploading
attribute's value can be found in the SyncAdapter 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)
SyncAdapter_userVisible
int SyncAdapter_userVisible
This symbol is the offset where the userVisible
attribute's value can be found in the SyncAdapter 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: 3 (0x00000003)
SystemCodeFilter_name
int SystemCodeFilter_name
The System Code. This attribute is mandatory.
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)
TabWidget_divider
int TabWidget_divider
Drawable used to draw the divider between tabs.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 0 (0x00000000)
TabWidget_tabStripEnabled
int TabWidget_tabStripEnabled
Determines whether the strip under the tab indicators is drawn or not.
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 tabStripEnabled.
Constant Value: 3 (0x00000003)
TabWidget_tabStripLeft
int TabWidget_tabStripLeft
Drawable used to draw the left part of the strip underneath the tabs.
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 tabStripLeft.
Constant Value: 1 (0x00000001)
TabWidget_tabStripRight
int TabWidget_tabStripRight
Drawable used to draw the right part of the strip underneath the tabs.
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 tabStripRight.
Constant Value: 2 (0x00000002)
TableLayout_collapseColumns
int TableLayout_collapseColumns
The zero-based index of the columns to collapse. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored.
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)
TableLayout_shrinkColumns
int TableLayout_shrinkColumns
The zero-based index of the columns to shrink. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can shrink all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.
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)
TableLayout_stretchColumns
int TableLayout_stretchColumns
The zero-based index of the columns to stretch. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can stretch all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.
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)
TableRow_Cell_layout_column
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)
TableRow_Cell_layout_span
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)
TextAppearance_elegantTextHeight
int TextAppearance_elegantTextHeight
Elegant text height, especially for less compacted complex script 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 elegantTextHeight.
Constant Value: 13 (0x0000000d)
TextAppearance_fontFamily
int TextAppearance_fontFamily
Font family (named by string) for the text.
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 fontFamily.
Constant Value: 12 (0x0000000c)
TextAppearance_fontFeatureSettings
int TextAppearance_fontFeatureSettings
Font feature settings.
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 fontFeatureSettings.
Constant Value: 15 (0x0000000f)
TextAppearance_letterSpacing
int TextAppearance_letterSpacing
Text letter-spacing.
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 letterSpacing.
Constant Value: 14 (0x0000000e)
TextAppearance_shadowColor
int TextAppearance_shadowColor
Place a blurred shadow of text underneath the text, drawn with the
specified color. The text shadow produced does not interact with
properties on View that are responsible for real time shadows,
elevation and
translationZ.
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: 7 (0x00000007)
TextAppearance_shadowDx
int TextAppearance_shadowDx
Horizontal offset of the text 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: 8 (0x00000008)
TextAppearance_shadowDy
int TextAppearance_shadowDy
Vertical offset of the text 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: 9 (0x00000009)
TextAppearance_shadowRadius
int TextAppearance_shadowRadius
Blur radius of the text 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: 10 (0x0000000a)
TextAppearance_textAllCaps
int TextAppearance_textAllCaps
Present the text in ALL CAPS. This may use a small-caps form when available.
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 textAllCaps.
Constant Value: 11 (0x0000000b)
TextAppearance_textColor
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)
TextAppearance_textColorHighlight
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)
TextAppearance_textColorHint
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)
TextAppearance_textColorLink
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)
TextAppearance_textSize
int TextAppearance_textSize
Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol textSize.
Constant Value: 0 (0x00000000)
TextAppearance_textStyle
int TextAppearance_textStyle
Style (bold, italic, bolditalic) for the text.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | |
bold | 1 | |
italic | 2 |
This corresponds to the global attribute
resource symbol textStyle.
Constant Value: 2 (0x00000002)
TextAppearance_typeface
int TextAppearance_typeface
Typeface (normal, sans, serif, monospace) for the text.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | |
sans | 1 | |
serif | 2 | |
monospace | 3 |
This corresponds to the global attribute
resource symbol typeface.
Constant Value: 1 (0x00000001)
TextClock_format12Hour
int TextClock_format12Hour
Specifies the formatting pattern used to show the time and/or date
in 12-hour mode. Please refer to DateFormat
for a complete description of accepted formatting patterns.
The default pattern is a locale-appropriate equivalent of "h:mm a".
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 format12Hour.
Constant Value: 0 (0x00000000)
TextClock_format24Hour
int TextClock_format24Hour
Specifies the formatting pattern used to show the time and/or date
in 24-hour mode. Please refer to DateFormat
for a complete description of accepted formatting patterns.
The default pattern is a locale-appropriate equivalent of "H:mm".
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 format24Hour.
Constant Value: 1 (0x00000001)
TextClock_timeZone
int TextClock_timeZone
Specifies the time zone to use. When this attribute is specified, the
TextClock will ignore the time zone of the system. To use the user's
time zone, do not specify this attribute. The default value is the
user's time zone. Please refer to TimeZone for more
information about time zone ids.
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 timeZone.
Constant Value: 2 (0x00000002)
TextToSpeechEngine_settingsActivity
int TextToSpeechEngine_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 0 (0x00000000)
TextViewAppearance_textAppearance
int TextViewAppearance_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: 0 (0x00000000)
TextViewMultiLineBackgroundState_state_multiline
int TextViewMultiLineBackgroundState_state_multiline
State identifier indicating a TextView has a multi-line layout.
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_multiline.
Constant Value: 0 (0x00000000)
TextView_allowUndo
int TextView_allowUndo
Whether undo should be allowed for editable text. Defaults 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 allowUndo.
Constant Value: 83 (0x00000053)
TextView_autoLink
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.
| Constant | Value | Description |
|---|---|---|
none | 0x00 | Match no patterns (default). |
web | 0x01 | Match Web URLs. |
email | 0x02 | Match email addresses. |
phone | 0x04 | Match phone numbers. |
map | 0x08 | Match map addresses. |
all | 0x0f | Match all patterns (equivalent to web|email|phone|map). |
This corresponds to the global attribute
resource symbol autoLink.
Constant Value: 11 (0x0000000b)
TextView_autoText
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)
TextView_breakStrategy
int TextView_breakStrategy
Break strategy (control over paragraph layout).
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
simple | 0 | Line breaking uses simple strategy. |
high_quality | 1 | Line breaking uses high-quality strategy, including hyphenation. |
balanced | 2 | Line breaking strategy balances line lengths. |
This corresponds to the global attribute
resource symbol breakStrategy.
Constant Value: 81 (0x00000051)
TextView_bufferType
int TextView_bufferType
Determines the minimum type that getText() will return. The default is "normal". Note that EditText and LogTextBox always return Editable, even if you specify something less powerful here.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | Can return any CharSequence, possibly a Spanned one if the source text was Spanned. |
spannable | 1 | Can only return Spannable. |
editable | 2 | Can only return Spannable and Editable. |
This corresponds to the global attribute
resource symbol bufferType.
Constant Value: 17 (0x00000011)
TextView_capitalize
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.
| Constant | Value | Description |
|---|---|---|
none | 0 | Don't automatically capitalize anything. |
sentences | 1 | Capitalize the first word of each sentence. |
words | 2 | Capitalize the first letter of every word. |
characters | 3 | Capitalize every character. |
This corresponds to the global attribute
resource symbol capitalize.
Constant Value: 44 (0x0000002c)
TextView_cursorVisible
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)
TextView_digits
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)
TextView_drawableBottom
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)
TextView_drawableEnd
int TextView_drawableEnd
The drawable to be drawn to the end of the text.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 drawableEnd.
Constant Value: 74 (0x0000004a)
TextView_drawableLeft
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)
TextView_drawablePadding
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol drawablePadding.
Constant Value: 52 (0x00000034)
TextView_drawableRight
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)
TextView_drawableStart
int TextView_drawableStart
The drawable to be drawn to the start of the text.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 drawableStart.
Constant Value: 73 (0x00000049)
TextView_drawableTint
int TextView_drawableTint
Tint to apply to the compound (left, top, etc.) drawables.
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 drawableTint.
Constant Value: 79 (0x0000004f)
TextView_drawableTintMode
int TextView_drawableTintMode
Blending mode used to apply the compound (left, top, etc.) drawables tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol drawableTintMode.
Constant Value: 80 (0x00000050)
TextView_drawableTop
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)
TextView_editable
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)
TextView_editorExtras
int TextView_editorExtras
Reference to an
<input-extras>
XML resource containing additional data to
supply to an input method, which is private to the implementation
of the input method. This simply fills in
the EditorInfo.extras field when the input
method is connected.
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 editorExtras.
Constant Value: 58 (0x0000003a)
TextView_elegantTextHeight
int TextView_elegantTextHeight
Elegant text height, especially for less compacted complex script 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 elegantTextHeight.
Constant Value: 76 (0x0000004c)
TextView_ellipsize
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.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
start | 1 | |
middle | 2 | |
end | 3 | |
marquee | 4 |
This corresponds to the global attribute
resource symbol ellipsize.
Constant Value: 9 (0x00000009)
TextView_ems
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)
TextView_enabled
int TextView_enabled
Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. For example, a non-enabled EditText prevents the user from editing the contained text, and a non-enabled Button prevents the user from tapping the button. The appearance of enabled and non-enabled widgets may differ, if the drawables referenced from evaluating state_enabled differ.
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)
TextView_fontFamily
int TextView_fontFamily
Font family (named by string) for the text.
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 fontFamily.
Constant Value: 75 (0x0000004b)
TextView_fontFeatureSettings
int TextView_fontFeatureSettings
Font feature settings.
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 fontFeatureSettings.
Constant Value: 78 (0x0000004e)
TextView_freezesText
int TextView_freezesText
If set, the text view will include its current complete text
inside of its frozen icicle in addition to meta-data such as
the current cursor position. By default this is disabled;
it can be useful when the contents of a text view is not stored
in a persistent place such as a content provider. For
EditText it is always enabled, regardless
of the value of the attribute.
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)
TextView_gravity
int TextView_gravity
Specifies how to align the text by the view's x- and/or y-axis when the text is smaller than the view.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 10 (0x0000000a)
TextView_height
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 24 (0x00000018)
TextView_hint
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)
TextView_hyphenationFrequency
int TextView_hyphenationFrequency
Frequency of automatic hyphenation.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | No hyphenation. |
normal | 1 | Less frequent hyphenation, useful for informal use cases, such as chat messages. |
full | 2 | Standard amount of hyphenation, useful for running text and for screens with limited space for text. |
This corresponds to the global attribute
resource symbol hyphenationFrequency.
Constant Value: 82 (0x00000052)
TextView_imeActionId
int TextView_imeActionId
Supply a value for
EditorInfo.actionId
used when an input method is connected to the text view.
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 imeActionId.
Constant Value: 61 (0x0000003d)
TextView_imeActionLabel
int TextView_imeActionLabel
Supply a value for
EditorInfo.actionLabel
used when an input method is connected to the text view.
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 imeActionLabel.
Constant Value: 60 (0x0000003c)
TextView_imeOptions
int TextView_imeOptions
Additional features you can enable in an IME associated with an editor
to improve the integration with your application. The constants
here correspond to those defined by
imeOptions.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0x00000000 | There are no special semantics associated with this editor. |
actionUnspecified | 0x00000000 | There is no specific action associated with this editor, let the
editor come up with its own if it can.
Corresponds to
IME_NULL. |
actionNone | 0x00000001 | This editor has no action associated with it.
Corresponds to
IME_ACTION_NONE. |
actionGo | 0x00000002 | The action key performs a "go"
operation to take the user to the target of the text they typed.
Typically used, for example, when entering a URL.
Corresponds to
IME_ACTION_GO. |
actionSearch | 0x00000003 | The action key performs a "search"
operation, taking the user to the results of searching for the text
the have typed (in whatever context is appropriate).
Corresponds to
IME_ACTION_SEARCH. |
actionSend | 0x00000004 | The action key performs a "send"
operation, delivering the text to its target. This is typically used
when composing a message.
Corresponds to
IME_ACTION_SEND. |
actionNext | 0x00000005 | The action key performs a "next"
operation, taking the user to the next field that will accept text.
Corresponds to
IME_ACTION_NEXT. |
actionDone | 0x00000006 | The action key performs a "done"
operation, closing the soft input method.
Corresponds to
IME_ACTION_DONE. |
actionPrevious | 0x00000007 | The action key performs a "previous"
operation, taking the user to the previous field that will accept text.
Corresponds to
IME_ACTION_PREVIOUS. |
flagNoFullscreen | 0x2000000 | Used to request that the IME never go
into fullscreen mode. Applications need to be aware that the flag is not
a guarantee, and not all IMEs will respect it.
Corresponds to
|
flagNavigatePrevious | 0x4000000 | Like flagNavigateNext, but
specifies there is something interesting that a backward navigation
can focus on. If the user selects the IME's facility to backward
navigate, this will show up in the application as an actionPrevious
at InputConnection.performEditorAction(int).
Corresponds to
|
flagNavigateNext | 0x8000000 | Used to specify that there is something
interesting that a forward navigation can focus on. This is like using
actionNext, except allows the IME to be multiline (with
an enter key) as well as provide forward navigation. Note that some
IMEs may not be able to do this, especially when running on a small
screen where there is little space. In that case it does not need to
present a UI for this option. Like actionNext, if the
user selects the IME's facility to forward navigate, this will show up
in the application at
InputConnection.performEditorAction(int).
Corresponds to
|
flagNoExtractUi | 0x10000000 | Used to specify that the IME does not need
to show its extracted text UI. For input methods that may be fullscreen,
often when in landscape mode, this allows them to be smaller and let part
of the application be shown behind. Though there will likely be limited
access to the application available from the user, it can make the
experience of a (mostly) fullscreen IME less jarring. Note that when
this flag is specified the IME may not be set up to be able
to display text, so it should only be used in situations where this is
not needed.
Corresponds to
|
flagNoAccessoryAction | 0x20000000 | Used in conjunction with a custom action, this indicates that the
action should not be available as an accessory button when the
input method is full-screen.
Note that by setting this flag, there can be cases where the action
is simply never available to the user. Setting this generally means
that you think showing text being edited is more important than the
action you have supplied.
Corresponds to
|
flagNoEnterAction | 0x40000000 | Used in conjunction with a custom action,
this indicates that the action should not be available in-line as
a replacement for the "enter" key. Typically this is
because the action has such a significant impact or is not recoverable
enough that accidentally hitting it should be avoided, such as sending
a message. Note that TextView will
automatically set this flag for you on multi-line text views.
Corresponds to
|
flagForceAscii | 0x80000000 | Used to request that the IME should be capable of inputting ASCII
characters. The intention of this flag is to ensure that the user
can type Roman alphabet characters in a TextView
used for, typically, account ID or password input. It is expected that IMEs
normally are able to input ASCII even without being told so (such IMEs
already respect this flag in a sense), but there could be some cases they
aren't when, for instance, only non-ASCII input languagaes like Arabic,
Greek, Hebrew, Russian are enabled in the IME. Applications need to be
aware that the flag is not a guarantee, and not all IMEs will respect it.
However, it is strongly recommended for IME authors to respect this flag
especially when their IME could end up with a state that has only non-ASCII
input languages enabled.
Corresponds to
|
This corresponds to the global attribute
resource symbol imeOptions.
Constant Value: 59 (0x0000003b)
TextView_includeFontPadding
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)
TextView_inputMethod
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)
TextView_inputType
int TextView_inputType
The type of data being placed in a text field, used to help an
input method decide how to let the user enter text. The constants
here correspond to those defined by
InputType. Generally you can select
a single value, though some can be combined together as
indicated. Setting this attribute to anything besides
none also implies that the text is editable.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x00000000 | There is no content type. The text is not editable. |
text | 0x00000001 | Just plain old text. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_NORMAL. |
textCapCharacters | 0x00001001 | Can be combined with text and its variations to
request capitalization of all characters. Corresponds to
TYPE_TEXT_FLAG_CAP_CHARACTERS. |
textCapWords | 0x00002001 | Can be combined with text and its variations to
request capitalization of the first character of every word. Corresponds to
TYPE_TEXT_FLAG_CAP_WORDS. |
textCapSentences | 0x00004001 | Can be combined with text and its variations to
request capitalization of the first character of every sentence. Corresponds to
TYPE_TEXT_FLAG_CAP_SENTENCES. |
textAutoCorrect | 0x00008001 | Can be combined with text and its variations to
request auto-correction of text being input. Corresponds to
TYPE_TEXT_FLAG_AUTO_CORRECT. |
textAutoComplete | 0x00010001 | Can be combined with text and its variations to
specify that this field will be doing its own auto-completion and
talking with the input method appropriately. Corresponds to
TYPE_TEXT_FLAG_AUTO_COMPLETE. |
textMultiLine | 0x00020001 | Can be combined with text and its variations to
allow multiple lines of text in the field. If this flag is not set,
the text field will be constrained to a single line. Corresponds to
TYPE_TEXT_FLAG_MULTI_LINE. |
textImeMultiLine | 0x00040001 | Can be combined with text and its variations to
indicate that though the regular text view should not be multiple
lines, the IME should provide multiple lines if it can. Corresponds to
TYPE_TEXT_FLAG_IME_MULTI_LINE. |
textNoSuggestions | 0x00080001 | Can be combined with text and its variations to
indicate that the IME should not show any
dictionary-based word suggestions. Corresponds to
TYPE_TEXT_FLAG_NO_SUGGESTIONS. |
textUri | 0x00000011 | Text that will be used as a URI. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_URI. |
textEmailAddress | 0x00000021 | Text that will be used as an e-mail address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_ADDRESS. |
textEmailSubject | 0x00000031 | Text that is being supplied as the subject of an e-mail. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_EMAIL_SUBJECT. |
textShortMessage | 0x00000041 | Text that is the content of a short message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_SHORT_MESSAGE. |
textLongMessage | 0x00000051 | Text that is the content of a long message. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_LONG_MESSAGE. |
textPersonName | 0x00000061 | Text that is the name of a person. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PERSON_NAME. |
textPostalAddress | 0x00000071 | Text that is being supplied as a postal mailing address. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_POSTAL_ADDRESS. |
textPassword | 0x00000081 | Text that is a password. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PASSWORD. |
textVisiblePassword | 0x00000091 | Text that is a password that should be visible. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_VISIBLE_PASSWORD. |
textWebEditText | 0x000000a1 | Text that is being supplied as text in a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EDIT_TEXT. |
textFilter | 0x000000b1 | Text that is filtering some other data. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_FILTER. |
textPhonetic | 0x000000c1 | Text that is for phonetic pronunciation, such as a phonetic name
field in a contact entry. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_PHONETIC. |
textWebEmailAddress | 0x000000d1 | Text that will be used as an e-mail address on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. |
textWebPassword | 0x000000e1 | Text that will be used as a password on a web form. Corresponds to
TYPE_CLASS_TEXT |
TYPE_TEXT_VARIATION_WEB_PASSWORD. |
number | 0x00000002 | A numeric only field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_NORMAL. |
numberSigned | 0x00001002 | Can be combined with number and its other options to
allow a signed number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_SIGNED. |
numberDecimal | 0x00002002 | Can be combined with number and its other options to
allow a decimal (fractional) number. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_FLAG_DECIMAL. |
numberPassword | 0x00000012 | A numeric password field. Corresponds to
TYPE_CLASS_NUMBER |
TYPE_NUMBER_VARIATION_PASSWORD. |
phone | 0x00000003 | For entering a phone number. Corresponds to
TYPE_CLASS_PHONE. |
datetime | 0x00000004 | For entering a date and time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_NORMAL. |
date | 0x00000014 | For entering a date. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_DATE. |
time | 0x00000024 | For entering a time. Corresponds to
TYPE_CLASS_DATETIME |
TYPE_DATETIME_VARIATION_TIME. |
This corresponds to the global attribute
resource symbol inputType.
Constant Value: 56 (0x00000038)
TextView_letterSpacing
int TextView_letterSpacing
Text letter-spacing.
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 letterSpacing.
Constant Value: 77 (0x0000004d)
TextView_lineSpacingExtra
int TextView_lineSpacingExtra
Extra spacing between lines of 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol lineSpacingExtra.
Constant Value: 53 (0x00000035)
TextView_lineSpacingMultiplier
int TextView_lineSpacingMultiplier
Extra spacing between lines of text, as a multiplier.
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 lineSpacingMultiplier.
Constant Value: 54 (0x00000036)
TextView_lines
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)
TextView_linksClickable
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)
TextView_marqueeRepeatLimit
int TextView_marqueeRepeatLimit
The number of times to repeat the marquee animation. Only applied if the TextView has marquee enabled.
May be an integer value, such as "100".
This may also be a reference 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.
| Constant | Value | Description |
|---|---|---|
marquee_forever | -1 | Indicates that marquee should repeat indefinitely. |
This corresponds to the global attribute
resource symbol marqueeRepeatLimit.
Constant Value: 55 (0x00000037)
TextView_maxEms
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)
TextView_maxHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxHeight.
Constant Value: 14 (0x0000000e)
TextView_maxLength
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)
TextView_maxLines
int TextView_maxLines
Makes the TextView be at most this many lines tall.
When used on an editable text, the inputType attribute's value must be
combined with the textMultiLine flag for the maxLines attribute to apply.
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)
TextView_maxWidth
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol maxWidth.
Constant Value: 13 (0x0000000d)
TextView_minEms
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)
TextView_minHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minHeight.
Constant Value: 16 (0x00000010)
TextView_minLines
int TextView_minLines
Makes the TextView be at least this many lines tall.
When used on an editable text, the inputType attribute's value must be
combined with the textMultiLine flag for the minLines attribute to apply.
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)
TextView_minWidth
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minWidth.
Constant Value: 15 (0x0000000f)
TextView_numeric
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.
| Constant | Value | Description |
|---|---|---|
integer | 0x01 | Input is numeric. |
signed | 0x03 | Input is numeric, with sign allowed. |
decimal | 0x05 | Input is numeric, with decimals allowed. |
This corresponds to the global attribute
resource symbol numeric.
Constant Value: 40 (0x00000028)
TextView_password
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)
TextView_phoneNumber
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)
TextView_privateImeOptions
int TextView_privateImeOptions
An addition content type description to supply to the input
method attached to the text view, which is private to the
implementation of the input method. This simply fills in
the EditorInfo.privateImeOptions field when the input
method is connected.
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 privateImeOptions.
Constant Value: 57 (0x00000039)
TextView_scrollHorizontally
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)
TextView_selectAllOnFocus
int TextView_selectAllOnFocus
If the text is selectable, select it all when the view takes 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 selectAllOnFocus.
Constant Value: 33 (0x00000021)
TextView_shadowColor
int TextView_shadowColor
Place a blurred shadow of text underneath the text, drawn with the
specified color. The text shadow produced does not interact with
properties on View that are responsible for real time shadows,
elevation and
translationZ.
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)
TextView_shadowDx
int TextView_shadowDx
Horizontal offset of the text 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)
TextView_shadowDy
int TextView_shadowDy
Vertical offset of the text 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)
TextView_shadowRadius
int TextView_shadowRadius
Blur radius of the text 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)
TextView_singleLine
int TextView_singleLine
Constrains the text to a single horizontally scrolling line instead of letting it wrap onto multiple lines, and advances focus instead of inserting a newline when you press the enter key. The default value is false (multi-line wrapped text mode) for non-editable text, but if you specify any value for inputType, the default is true (single-line input field mode).
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)
TextView_text
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)
TextView_textAllCaps
int TextView_textAllCaps
Present the text in ALL CAPS. This may use a small-caps form when available.
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 textAllCaps.
Constant Value: 72 (0x00000048)
TextView_textAppearance
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)
TextView_textColor
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)
TextView_textColorHighlight
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)
TextView_textColorHint
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)
TextView_textColorLink
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)
TextView_textCursorDrawable
int TextView_textCursorDrawable
Reference to a drawable that will be drawn under the insertion cursor.
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 textCursorDrawable.
Constant Value: 70 (0x00000046)
TextView_textEditNoPasteWindowLayout
int TextView_textEditNoPasteWindowLayout
Variation of textEditPasteWindowLayout displayed when the clipboard is empty.
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 textEditNoPasteWindowLayout.
Constant Value: 66 (0x00000042)
TextView_textEditPasteWindowLayout
int TextView_textEditPasteWindowLayout
The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field.
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 textEditPasteWindowLayout.
Constant Value: 65 (0x00000041)
TextView_textEditSideNoPasteWindowLayout
int TextView_textEditSideNoPasteWindowLayout
Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty.
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 textEditSideNoPasteWindowLayout.
Constant Value: 69 (0x00000045)
TextView_textEditSidePasteWindowLayout
int TextView_textEditSidePasteWindowLayout
Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top.
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 textEditSidePasteWindowLayout.
Constant Value: 68 (0x00000044)
TextView_textEditSuggestionItemLayout
int TextView_textEditSuggestionItemLayout
Layout of the TextView item that will populate the suggestion popup 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 textEditSuggestionItemLayout.
Constant Value: 71 (0x00000047)
TextView_textIsSelectable
int TextView_textIsSelectable
Indicates that the content of a non-editable text can be selected.
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 textIsSelectable.
Constant Value: 67 (0x00000043)
TextView_textScaleX
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)
TextView_textSelectHandle
int TextView_textSelectHandle
Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within 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 textSelectHandle.
Constant Value: 64 (0x00000040)
TextView_textSelectHandleLeft
int TextView_textSelectHandleLeft
Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region.
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 textSelectHandleLeft.
Constant Value: 62 (0x0000003e)
TextView_textSelectHandleRight
int TextView_textSelectHandleRight
Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region.
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 textSelectHandleRight.
Constant Value: 63 (0x0000003f)
TextView_textSize
int TextView_textSize
Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol textSize.
Constant Value: 2 (0x00000002)
TextView_textStyle
int TextView_textStyle
Style (bold, italic, bolditalic) for the text.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | |
bold | 1 | |
italic | 2 |
This corresponds to the global attribute
resource symbol textStyle.
Constant Value: 4 (0x00000004)
TextView_typeface
int TextView_typeface
Typeface (normal, sans, serif, monospace) for the text.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
normal | 0 | |
sans | 1 | |
serif | 2 | |
monospace | 3 |
This corresponds to the global attribute
resource symbol typeface.
Constant Value: 3 (0x00000003)
TextView_width
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol width.
Constant Value: 28 (0x0000001c)
Theme_absListViewStyle
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)
Theme_actionBarDivider
int Theme_actionBarDivider
Custom divider drawable to use for elements in the action 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 actionBarDivider.
Constant Value: 203 (0x000000cb)
Theme_actionBarItemBackground
int Theme_actionBarItemBackground
Custom item state list drawable background for action bar 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 actionBarItemBackground.
Constant Value: 204 (0x000000cc)
Theme_actionBarPopupTheme
int Theme_actionBarPopupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action 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 actionBarPopupTheme.
Constant Value: 248 (0x000000f8)
Theme_actionBarSize
int Theme_actionBarSize
Size of the Action Bar, including the contextual bar used to present Action Modes.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
wrap_content | 0 |
This corresponds to the global attribute
resource symbol actionBarSize.
Constant Value: 139 (0x0000008b)
Theme_actionBarSplitStyle
int Theme_actionBarSplitStyle
Reference to a style for the split Action Bar. This style controls the split component that holds the menu/action buttons. actionBarStyle is still used for the primary bar.
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 actionBarSplitStyle.
Constant Value: 195 (0x000000c3)
Theme_actionBarStyle
int Theme_actionBarStyle
Reference to a style for the Action 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 actionBarStyle.
Constant Value: 131 (0x00000083)
Theme_actionBarTabBarStyle
int Theme_actionBarTabBarStyle
This symbol is the offset where the actionBarTabBarStyle
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: 142 (0x0000008e)
Theme_actionBarTabStyle
int Theme_actionBarTabStyle
Default style for tabs within an action 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 actionBarTabStyle.
Constant Value: 141 (0x0000008d)
Theme_actionBarTabTextStyle
int Theme_actionBarTabTextStyle
This symbol is the offset where the actionBarTabTextStyle
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: 143 (0x0000008f)
Theme_actionBarTheme
int Theme_actionBarTheme
Reference to a theme that should be used to inflate the action bar. This will be inherited by any widget inflated into the action bar.
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 actionBarTheme.
Constant Value: 225 (0x000000e1)
Theme_actionBarWidgetTheme
int Theme_actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. Most of the time this will be a reference to the current theme, but when the action bar has a significantly different contrast profile than the rest of the activity the difference can become important. If this is set to @null the current theme will be used.
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 actionBarWidgetTheme.
Constant Value: 202 (0x000000ca)
Theme_actionButtonStyle
int Theme_actionButtonStyle
Default action 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 actionButtonStyle.
Constant Value: 134 (0x00000086)
Theme_actionDropDownStyle
int Theme_actionDropDownStyle
Default ActionBar dropdown 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 actionDropDownStyle.
Constant Value: 133 (0x00000085)
Theme_actionMenuTextAppearance
int Theme_actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action 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 actionMenuTextAppearance.
Constant Value: 187 (0x000000bb)
Theme_actionMenuTextColor
int Theme_actionMenuTextColor
Color for text that appears within action menu items.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 actionMenuTextColor.
Constant Value: 188 (0x000000bc)
Theme_actionModeBackground
int Theme_actionModeBackground
Background drawable to use for action mode UI
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 actionModeBackground.
Constant Value: 135 (0x00000087)
Theme_actionModeCloseButtonStyle
int Theme_actionModeCloseButtonStyle
This symbol is the offset where the actionModeCloseButtonStyle
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: 145 (0x00000091)
Theme_actionModeCloseDrawable
int Theme_actionModeCloseDrawable
Drawable to use for the close action mode 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 actionModeCloseDrawable.
Constant Value: 136 (0x00000088)
Theme_actionModeCopyDrawable
int Theme_actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action 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 actionModeCopyDrawable.
Constant Value: 159 (0x0000009f)
Theme_actionModeCutDrawable
int Theme_actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action 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 actionModeCutDrawable.
Constant Value: 158 (0x0000009e)
Theme_actionModeFindDrawable
int Theme_actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes
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 actionModeFindDrawable.
Constant Value: 242 (0x000000f2)
Theme_actionModePasteDrawable
int Theme_actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action 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 actionModePasteDrawable.
Constant Value: 160 (0x000000a0)
Theme_actionModeSelectAllDrawable
int Theme_actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action 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 actionModeSelectAllDrawable.
Constant Value: 192 (0x000000c0)
Theme_actionModeShareDrawable
int Theme_actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes
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 actionModeShareDrawable.
Constant Value: 241 (0x000000f1)
Theme_actionModeSplitBackground
int Theme_actionModeSplitBackground
Background drawable to use for action mode UI in the lower split 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 actionModeSplitBackground.
Constant Value: 205 (0x000000cd)
Theme_actionModeStyle
int Theme_actionModeStyle
This symbol is the offset where the actionModeStyle
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: 201 (0x000000c9)
Theme_actionModeWebSearchDrawable
int Theme_actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes
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 actionModeWebSearchDrawable.
Constant Value: 243 (0x000000f3)
Theme_actionOverflowButtonStyle
int Theme_actionOverflowButtonStyle
This symbol is the offset where the actionOverflowButtonStyle
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: 144 (0x00000090)
Theme_actionOverflowMenuStyle
int Theme_actionOverflowMenuStyle
This symbol is the offset where the actionOverflowMenuStyle
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: 238 (0x000000ee)
Theme_activatedBackgroundIndicator
int Theme_activatedBackgroundIndicator
Drawable used as a background for activated 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 activatedBackgroundIndicator.
Constant Value: 146 (0x00000092)
Theme_alertDialogIcon
int Theme_alertDialogIcon
Icon drawable to use for alerts
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 alertDialogIcon.
Constant Value: 180 (0x000000b4)
Theme_alertDialogStyle
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)
Theme_alertDialogTheme
int Theme_alertDialogTheme
Theme to use for alert dialogs spawned from this theme.
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 alertDialogTheme.
Constant Value: 154 (0x0000009a)
Theme_ambientShadowAlpha
int Theme_ambientShadowAlpha
Alpha value of the ambient shadow projected by elevated views, between 0 and 1.
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 ambientShadowAlpha.
Constant Value: 258 (0x00000102)
Theme_autoCompleteTextViewStyle
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)
Theme_backgroundDimAmount
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)
Theme_backgroundDimEnabled
int Theme_backgroundDimEnabled
Control whether dimming behind the window is enabled. The default theme does not set this value, meaning it is based on whether the window is floating.
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 backgroundDimEnabled.
Constant Value: 106 (0x0000006a)
Theme_borderlessButtonStyle
int Theme_borderlessButtonStyle
Style for buttons without an explicit border, often used in groups.
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 borderlessButtonStyle.
Constant Value: 164 (0x000000a4)
Theme_buttonBarButtonStyle
int Theme_buttonBarButtonStyle
Style for buttons within button 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 buttonBarButtonStyle.
Constant Value: 167 (0x000000a7)
Theme_buttonBarNegativeButtonStyle
int Theme_buttonBarNegativeButtonStyle
Style for the "negative" buttons within button 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 buttonBarNegativeButtonStyle.
Constant Value: 247 (0x000000f7)
Theme_buttonBarNeutralButtonStyle
int Theme_buttonBarNeutralButtonStyle
Style for the "neutral" buttons within button 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 buttonBarNeutralButtonStyle.
Constant Value: 246 (0x000000f6)
Theme_buttonBarPositiveButtonStyle
int Theme_buttonBarPositiveButtonStyle
Style for the "positive" buttons within button 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 buttonBarPositiveButtonStyle.
Constant Value: 245 (0x000000f5)
Theme_buttonBarStyle
int Theme_buttonBarStyle
Style for button 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 buttonBarStyle.
Constant Value: 166 (0x000000a6)
Theme_buttonStyle
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)
Theme_buttonStyleInset
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)
Theme_buttonStyleSmall
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)
Theme_buttonStyleToggle
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)
Theme_calendarViewStyle
int Theme_calendarViewStyle
The CalendarView 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 calendarViewStyle.
Constant Value: 184 (0x000000b8)
Theme_candidatesTextStyleSpans
int Theme_candidatesTextStyleSpans
A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. The text itself will be ignored, but the style spans will be applied to the candidate text as it is edited.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 candidatesTextStyleSpans.
Constant Value: 109 (0x0000006d)
Theme_checkBoxPreferenceStyle
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)
Theme_checkboxStyle
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)
Theme_checkedTextViewStyle
int Theme_checkedTextViewStyle
Default CheckedTextView 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 checkedTextViewStyle.
Constant Value: 214 (0x000000d6)
Theme_colorAccent
int Theme_colorAccent
Bright complement to the primary branding color. By default, this is the color applied to framework controls (via colorControlActivated).
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 colorAccent.
Constant Value: 229 (0x000000e5)
Theme_colorActivatedHighlight
int Theme_colorActivatedHighlight
Default highlight color for items that are activated. (Activated meaning persistent selection.)
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 colorActivatedHighlight.
Constant Value: 199 (0x000000c7)
Theme_colorBackground
int Theme_colorBackground
Default color of background imagery, ex. full-screen windows.
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)
Theme_colorBackgroundCacheHint
int Theme_colorBackgroundCacheHint
This is a hint for a solid color that can be used for caching rendered views. This should be the color of the background when there is a solid background color; it should be null when the background is a texture or translucent. When a device is able to use accelerated drawing (thus setting state_accelerated), the cache hint is ignored and always assumed to be transparent.
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 colorBackgroundCacheHint.
Constant Value: 117 (0x00000075)
Theme_colorBackgroundFloating
int Theme_colorBackgroundFloating
Default color of background imagery for floating components, ex. dialogs, popups, and cards.
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 colorBackgroundFloating.
Constant Value: 263 (0x00000107)
Theme_colorButtonNormal
int Theme_colorButtonNormal
The color applied to framework buttons in their normal state.
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 colorButtonNormal.
Constant Value: 223 (0x000000df)
Theme_colorControlActivated
int Theme_colorControlActivated
The color applied to framework controls in their activated (ex. checked) state.
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 colorControlActivated.
Constant Value: 222 (0x000000de)
Theme_colorControlHighlight
int Theme_colorControlHighlight
The color applied to framework control highlights (ex. ripples, list selectors).
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 colorControlHighlight.
Constant Value: 224 (0x000000e0)
Theme_colorControlNormal
int Theme_colorControlNormal
The color applied to framework controls in their normal state.
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 colorControlNormal.
Constant Value: 221 (0x000000dd)
Theme_colorEdgeEffect
int Theme_colorEdgeEffect
The color applied to the edge effect on scrolling containers.
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 colorEdgeEffect.
Constant Value: 261 (0x00000105)
Theme_colorFocusedHighlight
int Theme_colorFocusedHighlight
Default highlight color for items that are focused. (Focused meaning cursor-based selection.)
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 colorFocusedHighlight.
Constant Value: 198 (0x000000c6)
Theme_colorForeground
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)
Theme_colorForegroundInverse
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)
Theme_colorLongPressedHighlight
int Theme_colorLongPressedHighlight
Default highlight color for items that are long-pressed.
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 colorLongPressedHighlight.
Constant Value: 197 (0x000000c5)
Theme_colorMultiSelectHighlight
int Theme_colorMultiSelectHighlight
Default highlight color for items in multiple selection mode.
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 colorMultiSelectHighlight.
Constant Value: 200 (0x000000c8)
Theme_colorPressedHighlight
int Theme_colorPressedHighlight
Default highlight color for items that are pressed.
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 colorPressedHighlight.
Constant Value: 196 (0x000000c4)
Theme_colorPrimary
int Theme_colorPrimary
The primary branding color for the app. By default, this is the color applied to the action bar 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 colorPrimary.
Constant Value: 227 (0x000000e3)
Theme_colorPrimaryDark
int Theme_colorPrimaryDark
Dark variant of the primary branding color. By default, this is the color applied to the status bar (via statusBarColor) and navigation bar (via navigationBarColor).
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 colorPrimaryDark.
Constant Value: 228 (0x000000e4)
Theme_colorSecondary
int Theme_colorSecondary
The secondary branding color for the app.
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 colorSecondary.
Constant Value: 271 (0x0000010f)
Theme_contextPopupMenuStyle
int Theme_contextPopupMenuStyle
Default context menu PopupMenu 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 contextPopupMenuStyle.
Constant Value: 266 (0x0000010a)
Theme_datePickerDialogTheme
int Theme_datePickerDialogTheme
The DatePicker dialog theme.
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 datePickerDialogTheme.
Constant Value: 252 (0x000000fc)
Theme_datePickerStyle
int Theme_datePickerStyle
The DatePicker 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 datePickerStyle.
Constant Value: 183 (0x000000b7)
Theme_detailsElementBackground
int Theme_detailsElementBackground
Background that can be used behind parts of a UI that provide details on data the user is selecting. For example, this is the background element of PreferenceActivity's embedded preference fragment.
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 detailsElementBackground.
Constant Value: 174 (0x000000ae)
Theme_dialogPreferenceStyle
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)
Theme_dialogPreferredPadding
int Theme_dialogPreferredPadding
Preferred padding for dialog content.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol dialogPreferredPadding.
Constant Value: 262 (0x00000106)
Theme_dialogTheme
int Theme_dialogTheme
Theme to use for dialogs spawned from this theme.
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 dialogTheme.
Constant Value: 153 (0x00000099)
Theme_disabledAlpha
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)
Theme_dividerHorizontal
int Theme_dividerHorizontal
Drawable to use for generic horizontal dividers.
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 dividerHorizontal.
Constant Value: 165 (0x000000a5)
Theme_dividerVertical
int Theme_dividerVertical
Drawable to use for generic vertical dividers.
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 dividerVertical.
Constant Value: 155 (0x0000009b)
Theme_dropDownHintAppearance
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)
Theme_dropDownItemStyle
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)
Theme_dropDownListViewStyle
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)
Theme_dropDownSpinnerStyle
int Theme_dropDownSpinnerStyle
Default dropdown 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 dropDownSpinnerStyle.
Constant Value: 132 (0x00000084)
Theme_editTextBackground
int Theme_editTextBackground
EditText background 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 editTextBackground.
Constant Value: 178 (0x000000b2)
Theme_editTextColor
int Theme_editTextColor
EditText text foreground 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 editTextColor.
Constant Value: 177 (0x000000b1)
Theme_editTextPreferenceStyle
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)
Theme_editTextStyle
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)
Theme_expandableListPreferredChildIndicatorLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol expandableListPreferredChildIndicatorLeft.
Constant Value: 34 (0x00000022)
Theme_expandableListPreferredChildIndicatorRight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol expandableListPreferredChildIndicatorRight.
Constant Value: 35 (0x00000023)
Theme_expandableListPreferredChildPaddingLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol expandableListPreferredChildPaddingLeft.
Constant Value: 31 (0x0000001f)
Theme_expandableListPreferredItemIndicatorLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol expandableListPreferredItemIndicatorLeft.
Constant Value: 32 (0x00000020)
Theme_expandableListPreferredItemIndicatorRight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol expandableListPreferredItemIndicatorRight.
Constant Value: 33 (0x00000021)
Theme_expandableListPreferredItemPaddingLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol expandableListPreferredItemPaddingLeft.
Constant Value: 30 (0x0000001e)
Theme_expandableListViewStyle
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)
Theme_expandableListViewWhiteStyle
int Theme_expandableListViewWhiteStyle
ExpandableListView 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 expandableListViewWhiteStyle.
Constant Value: 124 (0x0000007c)
Theme_fastScrollOverlayPosition
int Theme_fastScrollOverlayPosition
Position of the fast scroll index overlay window.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
floating | 0 | |
atThumb | 1 | |
aboveThumb | 2 |
This corresponds to the global attribute
resource symbol fastScrollOverlayPosition.
Constant Value: 173 (0x000000ad)
Theme_fastScrollPreviewBackgroundLeft
int Theme_fastScrollPreviewBackgroundLeft
Drawable to use as the fast scroll index preview window background when shown on the left.
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 fastScrollPreviewBackgroundLeft.
Constant Value: 170 (0x000000aa)
Theme_fastScrollPreviewBackgroundRight
int Theme_fastScrollPreviewBackgroundRight
Drawable to use as the fast scroll index preview window background when shown on the right.
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 fastScrollPreviewBackgroundRight.
Constant Value: 171 (0x000000ab)
Theme_fastScrollTextColor
int Theme_fastScrollTextColor
Text color for the fast scroll index overlay. Make sure it plays nicely with fastScrollPreviewBackground[Left|Right].
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 fastScrollTextColor.
Constant Value: 181 (0x000000b5)
Theme_fastScrollThumbDrawable
int Theme_fastScrollThumbDrawable
Drawable to use as the fast scroll thumb.
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 fastScrollThumbDrawable.
Constant Value: 169 (0x000000a9)
Theme_fastScrollTrackDrawable
int Theme_fastScrollTrackDrawable
Drawable to use as the track for the fast scroll thumb. This may be null.
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 fastScrollTrackDrawable.
Constant Value: 172 (0x000000ac)
Theme_fingerprintAuthDrawable
int Theme_fingerprintAuthDrawable
Icon that should be used to indicate that an app is waiting for a fingerprint scan. This should be used whenever an app is requesting the user to place a finger on the fingerprint sensor. It can be combined with other drawables such as colored circles, so the appearance matches the branding of the app requesting the fingerprint scan.
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 fingerprintAuthDrawable.
Constant Value: 264 (0x00000108)
Theme_galleryItemBackground
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)
Theme_galleryStyle
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)
Theme_gridViewStyle
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)
Theme_homeAsUpIndicator
int Theme_homeAsUpIndicator
Specifies a drawable to use for the 'home as up' indicator.
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 homeAsUpIndicator.
Constant Value: 156 (0x0000009c)
Theme_horizontalScrollViewStyle
int Theme_horizontalScrollViewStyle
Default HorizontalScrollView 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 horizontalScrollViewStyle.
Constant Value: 179 (0x000000b3)
Theme_imageButtonStyle
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)
Theme_imageWellStyle
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)
Theme_listChoiceBackgroundIndicator
int Theme_listChoiceBackgroundIndicator
Drawable used as a background for selected list 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 listChoiceBackgroundIndicator.
Constant Value: 140 (0x0000008c)
Theme_listChoiceIndicatorMultiple
int Theme_listChoiceIndicatorMultiple
Drawable to use for multiple choice indicators.
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 listChoiceIndicatorMultiple.
Constant Value: 104 (0x00000068)
Theme_listChoiceIndicatorSingle
int Theme_listChoiceIndicatorSingle
Drawable to use for single choice indicators.
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 listChoiceIndicatorSingle.
Constant Value: 103 (0x00000067)
Theme_listDivider
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)
Theme_listDividerAlertDialog
int Theme_listDividerAlertDialog
The list divider used in alert dialogs.
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 listDividerAlertDialog.
Constant Value: 151 (0x00000097)
Theme_listMenuViewStyle
int Theme_listMenuViewStyle
Default menu-style 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 listMenuViewStyle.
Constant Value: 265 (0x00000109)
Theme_listPopupWindowStyle
int Theme_listPopupWindowStyle
Default ListPopupWindow 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 listPopupWindowStyle.
Constant Value: 147 (0x00000093)
Theme_listPreferredItemHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol listPreferredItemHeight.
Constant Value: 29 (0x0000001d)
Theme_listPreferredItemHeightLarge
int Theme_listPreferredItemHeightLarge
A larger, more robust 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol listPreferredItemHeightLarge.
Constant Value: 193 (0x000000c1)
Theme_listPreferredItemHeightSmall
int Theme_listPreferredItemHeightSmall
A smaller, sleeker 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol listPreferredItemHeightSmall.
Constant Value: 194 (0x000000c2)
Theme_listPreferredItemPaddingEnd
int Theme_listPreferredItemPaddingEnd
The preferred padding along the end edge of list items.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol listPreferredItemPaddingEnd.
Constant Value: 212 (0x000000d4)
Theme_listPreferredItemPaddingLeft
int Theme_listPreferredItemPaddingLeft
The preferred padding along the left edge of list items.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol listPreferredItemPaddingLeft.
Constant Value: 208 (0x000000d0)
Theme_listPreferredItemPaddingRight
int Theme_listPreferredItemPaddingRight
The preferred padding along the right edge of list items.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol listPreferredItemPaddingRight.
Constant Value: 209 (0x000000d1)
Theme_listPreferredItemPaddingStart
int Theme_listPreferredItemPaddingStart
The preferred padding along the start edge of list items.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol listPreferredItemPaddingStart.
Constant Value: 211 (0x000000d3)
Theme_listSeparatorTextViewStyle
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)
Theme_listViewStyle
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)
Theme_listViewWhiteStyle
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)
Theme_mapViewStyle
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)
Theme_mediaRouteButtonStyle
int Theme_mediaRouteButtonStyle
Default style for the MediaRouteButton widget.
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 mediaRouteButtonStyle.
Constant Value: 210 (0x000000d2)
Theme_numberPickerStyle
int Theme_numberPickerStyle
NumberPicker 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 numberPickerStyle.
Constant Value: 270 (0x0000010e)
Theme_panelBackground
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)
Theme_panelColorBackground
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)
Theme_panelColorForeground
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)
Theme_panelFullBackground
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)
Theme_panelTextAppearance
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)
Theme_popupMenuStyle
int Theme_popupMenuStyle
Default PopupMenu 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 popupMenuStyle.
Constant Value: 148 (0x00000094)
Theme_popupWindowStyle
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)
Theme_preferenceCategoryStyle
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)
Theme_preferenceFragmentStyle
int Theme_preferenceFragmentStyle
Default style for Headers pane in PreferenceActivity.
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 preferenceFragmentStyle.
Constant Value: 269 (0x0000010d)
Theme_preferenceInformationStyle
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)
Theme_preferenceLayoutChild
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)
Theme_preferenceScreenStyle
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)
Theme_preferenceStyle
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)
Theme_presentationTheme
int Theme_presentationTheme
Theme to use for presentations spawned from this theme.
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 presentationTheme.
Constant Value: 213 (0x000000d5)
Theme_progressBarStyle
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)
Theme_progressBarStyleHorizontal
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)
Theme_progressBarStyleInverse
int Theme_progressBarStyleInverse
Inverse 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 progressBarStyleInverse.
Constant Value: 110 (0x0000006e)
Theme_progressBarStyleLarge
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)
Theme_progressBarStyleLargeInverse
int Theme_progressBarStyleLargeInverse
Large inverse 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 progressBarStyleLargeInverse.
Constant Value: 112 (0x00000070)
Theme_progressBarStyleSmall
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)
Theme_progressBarStyleSmallInverse
int Theme_progressBarStyleSmallInverse
Small inverse 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 progressBarStyleSmallInverse.
Constant Value: 111 (0x0000006f)
Theme_progressBarStyleSmallTitle
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)
Theme_quickContactBadgeStyleSmallWindowLarge
int Theme_quickContactBadgeStyleSmallWindowLarge
Default quickcontact badge style with large quickcontact 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 quickContactBadgeStyleSmallWindowLarge.
Constant Value: 123 (0x0000007b)
Theme_quickContactBadgeStyleSmallWindowMedium
int Theme_quickContactBadgeStyleSmallWindowMedium
Default quickcontact badge style with medium quickcontact 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 quickContactBadgeStyleSmallWindowMedium.
Constant Value: 122 (0x0000007a)
Theme_quickContactBadgeStyleSmallWindowSmall
int Theme_quickContactBadgeStyleSmallWindowSmall
Default quickcontact badge style with small quickcontact 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 quickContactBadgeStyleSmallWindowSmall.
Constant Value: 121 (0x00000079)
Theme_quickContactBadgeStyleWindowLarge
int Theme_quickContactBadgeStyleWindowLarge
Default quickcontact badge style with large quickcontact 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 quickContactBadgeStyleWindowLarge.
Constant Value: 120 (0x00000078)
Theme_quickContactBadgeStyleWindowMedium
int Theme_quickContactBadgeStyleWindowMedium
Default quickcontact badge style with medium quickcontact 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 quickContactBadgeStyleWindowMedium.
Constant Value: 119 (0x00000077)
Theme_quickContactBadgeStyleWindowSmall
int Theme_quickContactBadgeStyleWindowSmall
Default quickcontact badge style with small quickcontact 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 quickContactBadgeStyleWindowSmall.
Constant Value: 118 (0x00000076)
Theme_radioButtonStyle
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)
Theme_ratingBarStyle
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)
Theme_ratingBarStyleIndicator
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)
Theme_ratingBarStyleSmall
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)
Theme_ringtonePreferenceStyle
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)
Theme_scrollViewStyle
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)
Theme_searchViewStyle
int Theme_searchViewStyle
Style for the search query widget.
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 searchViewStyle.
Constant Value: 244 (0x000000f4)
Theme_seekBarStyle
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)
Theme_segmentedButtonStyle
int Theme_segmentedButtonStyle
Style for segmented buttons - a container that houses several buttons with the appearance of a singel button broken into segments.
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 segmentedButtonStyle.
Constant Value: 168 (0x000000a8)
Theme_selectableItemBackground
int Theme_selectableItemBackground
Background drawable for bordered standalone items that need focus/pressed states.
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 selectableItemBackground.
Constant Value: 157 (0x0000009d)
Theme_selectableItemBackgroundBorderless
int Theme_selectableItemBackgroundBorderless
Background drawable for borderless standalone items that need focus/pressed states.
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 selectableItemBackgroundBorderless.
Constant Value: 239 (0x000000ef)
Theme_spinnerDropDownItemStyle
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)
Theme_spinnerItemStyle
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)
Theme_spinnerStyle
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)
Theme_spotShadowAlpha
int Theme_spotShadowAlpha
Alpha value of the spot shadow projected by elevated views, between 0 and 1.
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 spotShadowAlpha.
Constant Value: 259 (0x00000103)
Theme_stackViewStyle
int Theme_stackViewStyle
Default StackView 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 stackViewStyle.
Constant Value: 236 (0x000000ec)
Theme_starStyle
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)
Theme_switchPreferenceStyle
int Theme_switchPreferenceStyle
Default style for switch preferences.
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 switchPreferenceStyle.
Constant Value: 189 (0x000000bd)
Theme_switchStyle
int Theme_switchStyle
Default style for the Switch widget.
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 switchStyle.
Constant Value: 237 (0x000000ed)
Theme_tabWidgetStyle
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)
Theme_textAppearance
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)
Theme_textAppearanceButton
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)
Theme_textAppearanceInverse
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)
Theme_textAppearanceLarge
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)
Theme_textAppearanceLargeInverse
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)
Theme_textAppearanceLargePopupMenu
int Theme_textAppearanceLargePopupMenu
Text color, typeface, size, and style for the text inside of a popup 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 textAppearanceLargePopupMenu.
Constant Value: 149 (0x00000095)
Theme_textAppearanceListItem
int Theme_textAppearanceListItem
The preferred TextAppearance for the primary text of list 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 textAppearanceListItem.
Constant Value: 206 (0x000000ce)
Theme_textAppearanceListItemSecondary
int Theme_textAppearanceListItemSecondary
The preferred TextAppearance for the secondary text of list 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 textAppearanceListItemSecondary.
Constant Value: 226 (0x000000e2)
Theme_textAppearanceListItemSmall
int Theme_textAppearanceListItemSmall
The preferred TextAppearance for the primary text of small list 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 textAppearanceListItemSmall.
Constant Value: 207 (0x000000cf)
Theme_textAppearanceMedium
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)
Theme_textAppearanceMediumInverse
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)
Theme_textAppearancePopupMenuHeader
int Theme_textAppearancePopupMenuHeader
Text color, typeface, size, and style for header text inside of a popup 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 textAppearancePopupMenuHeader.
Constant Value: 267 (0x0000010b)
Theme_textAppearanceSearchResultSubtitle
int Theme_textAppearanceSearchResultSubtitle
Text color, typeface, size, and style for system search result subtitle. 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 textAppearanceSearchResultSubtitle.
Constant Value: 115 (0x00000073)
Theme_textAppearanceSearchResultTitle
int Theme_textAppearanceSearchResultTitle
Text color, typeface, size, and style for system search result title. 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 textAppearanceSearchResultTitle.
Constant Value: 116 (0x00000074)
Theme_textAppearanceSmall
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)
Theme_textAppearanceSmallInverse
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)
Theme_textAppearanceSmallPopupMenu
int Theme_textAppearanceSmallPopupMenu
Text color, typeface, size, and style for small text inside of a popup 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 textAppearanceSmallPopupMenu.
Constant Value: 150 (0x00000096)
Theme_textCheckMark
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)
Theme_textCheckMarkInverse
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)
Theme_textColorAlertDialogListItem
int Theme_textColorAlertDialogListItem
Color of list item text in alert dialogs.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 textColorAlertDialogListItem.
Constant Value: 152 (0x00000098)
Theme_textColorHighlightInverse
int Theme_textColorHighlightInverse
Color of highlighted text, when used in a light theme.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 textColorHighlightInverse.
Constant Value: 175 (0x000000af)
Theme_textColorHintInverse
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)
Theme_textColorLinkInverse
int Theme_textColorLinkInverse
Color of link text (URLs), when used in a light theme.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 textColorLinkInverse.
Constant Value: 176 (0x000000b0)
Theme_textColorPrimary
int Theme_textColorPrimary
The most prominent 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 textColorPrimary.
Constant Value: 6 (0x00000006)
Theme_textColorPrimaryDisableOnly
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)
Theme_textColorPrimaryInverse
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)
Theme_textColorPrimaryInverseDisableOnly
int Theme_textColorPrimaryInverseDisableOnly
Bright inverse text color. Only differentiates based on the disabled state.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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 textColorPrimaryInverseDisableOnly.
Constant Value: 113 (0x00000071)
Theme_textColorPrimaryInverseNoDisable
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)
Theme_textColorPrimaryNoDisable
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)
Theme_textColorSecondary
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)
Theme_textColorSecondaryInverse
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)
Theme_textColorSecondaryInverseNoDisable
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)
Theme_textColorSecondaryNoDisable
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)
Theme_textColorTertiary
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)
Theme_textColorTertiaryInverse
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)
Theme_textEditNoPasteWindowLayout
int Theme_textEditNoPasteWindowLayout
Variation of textEditPasteWindowLayout displayed when the clipboard is empty.
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 textEditNoPasteWindowLayout.
Constant Value: 162 (0x000000a2)
Theme_textEditPasteWindowLayout
int Theme_textEditPasteWindowLayout
The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field.
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 textEditPasteWindowLayout.
Constant Value: 161 (0x000000a1)
Theme_textEditSideNoPasteWindowLayout
int Theme_textEditSideNoPasteWindowLayout
Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty.
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 textEditSideNoPasteWindowLayout.
Constant Value: 186 (0x000000ba)
Theme_textEditSidePasteWindowLayout
int Theme_textEditSidePasteWindowLayout
Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top.
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 textEditSidePasteWindowLayout.
Constant Value: 185 (0x000000b9)
Theme_textEditSuggestionItemLayout
int Theme_textEditSuggestionItemLayout
Layout of the TextView item that will populate the suggestion popup 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 textEditSuggestionItemLayout.
Constant Value: 191 (0x000000bf)
Theme_textSelectHandle
int Theme_textSelectHandle
Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within 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 textSelectHandle.
Constant Value: 128 (0x00000080)
Theme_textSelectHandleLeft
int Theme_textSelectHandleLeft
Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region.
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 textSelectHandleLeft.
Constant Value: 126 (0x0000007e)
Theme_textSelectHandleRight
int Theme_textSelectHandleRight
Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region.
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 textSelectHandleRight.
Constant Value: 127 (0x0000007f)
Theme_textSelectHandleWindowStyle
int Theme_textSelectHandleWindowStyle
Reference to a style that will be used for the window containing a text selection anchor.
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 textSelectHandleWindowStyle.
Constant Value: 129 (0x00000081)
Theme_textSuggestionsWindowStyle
int Theme_textSuggestionsWindowStyle
Reference to a style that will be used for the window containing a list of possible text suggestions in 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 textSuggestionsWindowStyle.
Constant Value: 190 (0x000000be)
Theme_textViewStyle
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)
Theme_timePickerDialogTheme
int Theme_timePickerDialogTheme
The TimePicker dialog theme.
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 timePickerDialogTheme.
Constant Value: 250 (0x000000fa)
Theme_timePickerStyle
int Theme_timePickerStyle
The TimePicker 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 timePickerStyle.
Constant Value: 249 (0x000000f9)
Theme_toolbarStyle
int Theme_toolbarStyle
Default Toolbar 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 toolbarStyle.
Constant Value: 251 (0x000000fb)
Theme_webTextViewStyle
int Theme_webTextViewStyle
Default WebTextView 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 webTextViewStyle.
Constant Value: 125 (0x0000007d)
Theme_webViewStyle
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)
Theme_windowActionBar
int Theme_windowActionBar
Flag indicating whether this window should have an Action Bar in place of the usual title bar.
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 windowActionBar.
Constant Value: 130 (0x00000082)
Theme_windowActionBarOverlay
int Theme_windowActionBarOverlay
Flag indicating whether this window's Action Bar should overlay application content. Does nothing if the window would not have an Action Bar.
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 windowActionBarOverlay.
Constant Value: 138 (0x0000008a)
Theme_windowActionModeOverlay
int Theme_windowActionModeOverlay
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
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 windowActionModeOverlay.
Constant Value: 137 (0x00000089)
Theme_windowActivityTransitions
int Theme_windowActivityTransitions
Flag indicating whether this window allows Activity Transitions.
Corresponds to FEATURE_ACTIVITY_TRANSITIONS.
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 windowActivityTransitions.
Constant Value: 260 (0x00000104)
Theme_windowAllowEnterTransitionOverlap
int Theme_windowAllowEnterTransitionOverlap
Flag indicating whether this Window's transition should overlap with
the exiting transition of the calling Activity. Corresponds to
setAllowEnterTransitionOverlap(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 windowAllowEnterTransitionOverlap.
Constant Value: 235 (0x000000eb)
Theme_windowAllowReturnTransitionOverlap
int Theme_windowAllowReturnTransitionOverlap
Flag indicating whether this Window's transition should overlap with
the exiting transition of the called Activity when the called Activity
finishes. Corresponds to
setAllowReturnTransitionOverlap(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 windowAllowReturnTransitionOverlap.
Constant Value: 234 (0x000000ea)
Theme_windowAnimationStyle
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)
Theme_windowBackground
int Theme_windowBackground
Drawable to use as the overall window background. As of
HONEYCOMB, this may
be a selector that uses state_accelerated to pick a non-solid
color when running on devices that can draw such a bitmap
with complex compositing on top at 60fps.
There are a few special considerations to use when setting this drawable:
- This information will be used to infer the pixel format for your window's surface. If the drawable has any non-opaque pixels, your window will be translucent (32 bpp).
- If you want to draw the entire background yourself, you should set this drawable to some solid color that closely matches that background (so the system's preview of your window will match), and then in code manually set your window's background to null so it will not be drawn.
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)
Theme_windowBackgroundFallback
int Theme_windowBackgroundFallback
Drawable to draw selectively within the inset areas when the windowBackground
has been set to null. This protects against seeing visual garbage in the
surface when the app has not drawn any content into this area. One example is
when the user is resizing a window of an activity that has
resizeableActivity set for multi-window 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 windowBackgroundFallback.
Constant Value: 268 (0x0000010c)
Theme_windowCloseOnTouchOutside
int Theme_windowCloseOnTouchOutside
Control whether a container should automatically close itself if the user touches outside of it. This only applies to activities and dialogs.
Note: this attribute will only be respected for applications
that are targeting HONEYCOMB
or later.
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 windowCloseOnTouchOutside.
Constant Value: 182 (0x000000b6)
Theme_windowContentOverlay
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)
Theme_windowContentTransitionManager
int Theme_windowContentTransitionManager
Reference to a TransitionManager XML resource defining the desired transitions between different window 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 corresponds to the global attribute
resource symbol windowContentTransitionManager.
Constant Value: 220 (0x000000dc)
Theme_windowContentTransitions
int Theme_windowContentTransitions
Flag indicating whether this window requests that content changes be performed
as scene changes with transitions. Corresponds to
FEATURE_CONTENT_TRANSITIONS.
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 windowContentTransitions.
Constant Value: 219 (0x000000db)
Theme_windowDisablePreview
int Theme_windowDisablePreview
Flag allowing you to disable the preview animation for a window. The default value is false; if set to true, the system can never use the window's theme to show a preview of it before your actual instance is shown to 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 windowDisablePreview.
Constant Value: 107 (0x0000006b)
Theme_windowEnableSplitTouch
int Theme_windowEnableSplitTouch
Flag indicating that this window should allow touches to be split across other windows that also support split touch. The default value is true for applications with a targetSdkVersion of Honeycomb or newer; false otherwise. When this flag is false, the first pointer that goes down determines the window to which all subsequent touches go until all pointers go up. When this flag is true, each pointer (not necessarily the first) that goes down determines the window to which all subsequent touches of that pointer will go until that pointers go up thereby enabling touches with multiple pointers to be split across multiple windows.
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 windowEnableSplitTouch.
Constant Value: 163 (0x000000a3)
Theme_windowEnterTransition
int Theme_windowEnterTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views into the initial Window's content Scene. Corresponds to
setEnterTransition(android.transition.Transition).
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 windowEnterTransition.
Constant Value: 230 (0x000000e6)
Theme_windowExitTransition
int Theme_windowExitTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views out of the Window's content Scene when launching a new Activity.
Corresponds to
setExitTransition(android.transition.Transition).
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 windowExitTransition.
Constant Value: 231 (0x000000e7)
Theme_windowFrame
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)
Theme_windowFullscreen
int Theme_windowFullscreen
Flag indicating whether this window should fill the entire screen. Corresponds
to FLAG_FULLSCREEN.
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)
Theme_windowIsFloating
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)
Theme_windowIsTranslucent
int Theme_windowIsTranslucent
Flag indicating whether this is a translucent window. If this attribute is unset (but not if set to false), the window might still be considered translucent, if windowSwipeToDismiss is set to true.
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)
Theme_windowNoDisplay
int Theme_windowNoDisplay
Flag indicating that this window should not be displayed at all. The default value is false; if set to true, and this window is the main window of an Activity, then it will never actually be added to the window manager. This means that your activity must immediately quit without waiting for user interaction, because there will be no such interaction coming.
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 windowNoDisplay.
Constant Value: 105 (0x00000069)
Theme_windowNoTitle
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)
Theme_windowOverscan
int Theme_windowOverscan
Flag indicating whether this window should extend into overscan region. Corresponds
to FLAG_LAYOUT_IN_OVERSCAN.
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 windowOverscan.
Constant Value: 215 (0x000000d7)
Theme_windowReenterTransition
int Theme_windowReenterTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views in to the scene when returning from a previously-started Activity.
Corresponds to
setReenterTransition(android.transition.Transition).
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 windowReenterTransition.
Constant Value: 254 (0x000000fe)
Theme_windowReturnTransition
int Theme_windowReturnTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views out of the scene when the Window is
preparing to close. Corresponds to
setReturnTransition(android.transition.Transition).
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 windowReturnTransition.
Constant Value: 253 (0x000000fd)
Theme_windowSharedElementEnterTransition
int Theme_windowSharedElementEnterTransition
Reference to a Transition XML resource defining the desired Transition
used to move shared elements transferred into the Window's initial content Scene.
Corresponds to setSharedElementEnterTransition(android.transition.Transition).
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 windowSharedElementEnterTransition.
Constant Value: 232 (0x000000e8)
Theme_windowSharedElementExitTransition
int Theme_windowSharedElementExitTransition
Reference to a Transition XML resource defining the desired Transition
used when starting a new Activity to move shared elements prior to transferring
to the called Activity.
Corresponds to setSharedElementExitTransition(android.transition.Transition).
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 windowSharedElementExitTransition.
Constant Value: 233 (0x000000e9)
Theme_windowSharedElementReenterTransition
int Theme_windowSharedElementReenterTransition
Reference to a Transition XML resource defining the desired Transition
used for shared elements transferred back to a calling Activity.
Corresponds to setSharedElementReenterTransition(android.transition.Transition).
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 windowSharedElementReenterTransition.
Constant Value: 256 (0x00000100)
Theme_windowSharedElementReturnTransition
int Theme_windowSharedElementReturnTransition
Reference to a Transition XML resource defining the desired Transition
used to move shared elements transferred back to a calling Activity.
Corresponds to setSharedElementReturnTransition(android.transition.Transition).
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 windowSharedElementReturnTransition.
Constant Value: 255 (0x000000ff)
Theme_windowSharedElementsUseOverlay
int Theme_windowSharedElementsUseOverlay
Indicates whether or not shared elements should use an overlay during transitions. 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 windowSharedElementsUseOverlay.
Constant Value: 257 (0x00000101)
Theme_windowShowWallpaper
int Theme_windowShowWallpaper
Flag indicating that this window's background should be the
user's current wallpaper. Corresponds
to FLAG_SHOW_WALLPAPER.
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 windowShowWallpaper.
Constant Value: 114 (0x00000072)
Theme_windowSoftInputMode
int Theme_windowSoftInputMode
Defines the default soft input state that this window would
like when it is displayed. Corresponds
to softInputMode.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
stateUnspecified | 0 | Not specified, use what the system thinks is best. This is the default. |
stateUnchanged | 1 | Leave the soft input window as-is, in whatever state it last was. |
stateHidden | 2 | Make the soft input area hidden when normally appropriate (when the user is navigating forward to your window). |
stateAlwaysHidden | 3 | Always make the soft input area hidden when this window has input focus. |
stateVisible | 4 | Make the soft input area visible when normally appropriate (when the user is navigating forward to your window). |
stateAlwaysVisible | 5 | Always make the soft input area visible when this window has input focus. |
adjustUnspecified | 0x00 | The window resize/pan adjustment has not been specified, the system will automatically select between resize and pan modes, depending on whether the content of the window has any layout views that can scroll their contents. If there is such a view, then the window will be resized, with the assumption being that the resizeable area can be reduced to make room for the input UI. |
adjustResize | 0x10 | Always resize the window: the content area of the window is reduced to make room for the soft input area. |
adjustPan | 0x20 | Don't resize the window to make room for the soft input area; instead pan the contents of the window as focus moves inside of it so that the user can see what they are typing. This is generally less desireable than panning because the user may need to close the input area to get at and interact with parts of the window. |
adjustNothing | 0x30 | Don't resize or pan the window to make room for the soft input area; the window is never adjusted for it. |
This corresponds to the global attribute
resource symbol windowSoftInputMode.
Constant Value: 108 (0x0000006c)
Theme_windowSwipeToDismiss
int Theme_windowSwipeToDismiss
Flag to indicate that a window can be swiped away to be dismissed.
Corresponds to FEATURE_SWIPE_TO_DISMISS. It will also
dynamically change translucency of the window, if the windowIsTranslucent is not set.
If windowIsTranslucent is set (to either true or false) it will obey that setting.
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 windowSwipeToDismiss.
Constant Value: 218 (0x000000da)
Theme_windowTitleBackgroundStyle
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)
Theme_windowTitleSize
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol windowTitleSize.
Constant Value: 42 (0x0000002a)
Theme_windowTitleStyle
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)
Theme_windowTransitionBackgroundFadeDuration
int Theme_windowTransitionBackgroundFadeDuration
The duration, in milliseconds, of the window background fade duration
when transitioning into or away from an Activity when called with an
Activity Transition. Corresponds to
setTransitionBackgroundFadeDuration(long).
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 windowTransitionBackgroundFadeDuration.
Constant Value: 240 (0x000000f0)
Theme_windowTranslucentNavigation
int Theme_windowTranslucentNavigation
Flag indicating whether this window requests a translucent navigation bar. Corresponds
to FLAG_TRANSLUCENT_NAVIGATION.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol windowTranslucentNavigation.
Constant Value: 217 (0x000000d9)
Theme_windowTranslucentStatus
int Theme_windowTranslucentStatus
Flag indicating whether this window requests a translucent status bar. Corresponds
to FLAG_TRANSLUCENT_STATUS.
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 windowTranslucentStatus.
Constant Value: 216 (0x000000d8)
Theme_yesNoPreferenceStyle
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)
TimePicker_amPmBackgroundColor
int TimePicker_amPmBackgroundColor
The background color state list for the AM/PM selectors.
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 amPmBackgroundColor.
Constant Value: 7 (0x00000007)
TimePicker_amPmTextColor
int TimePicker_amPmTextColor
The color for the AM/PM selectors.
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 amPmTextColor.
Constant Value: 6 (0x00000006)
TimePicker_headerAmPmTextAppearance
int TimePicker_headerAmPmTextAppearance
This constant is deprecated.
Use headerTextColor 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 headerAmPmTextAppearance.
The text appearance for the AM/PM header.
Constant Value: 2 (0x00000002)
TimePicker_headerBackground
int TimePicker_headerBackground
The background for the header containing the currently selected time.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 0 (0x00000000)
TimePicker_headerTimeTextAppearance
int TimePicker_headerTimeTextAppearance
This constant is deprecated.
Use headerTextColor 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 headerTimeTextAppearance.
The text appearance for the time header.
Constant Value: 1 (0x00000001)
TimePicker_numbersBackgroundColor
int TimePicker_numbersBackgroundColor
The background color for the hours/minutes numbers.
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 numbersBackgroundColor.
Constant Value: 4 (0x00000004)
TimePicker_numbersInnerTextColor
int TimePicker_numbersInnerTextColor
The color for the inner hours numbers used in 24-hour mode. This should be a color state list where the activated state will be used when the number is active.
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 numbersInnerTextColor.
Constant Value: 9 (0x00000009)
TimePicker_numbersSelectorColor
int TimePicker_numbersSelectorColor
The color for the hours/minutes selector.
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 numbersSelectorColor.
Constant Value: 5 (0x00000005)
TimePicker_numbersTextColor
int TimePicker_numbersTextColor
The color for the hours/minutes numbers. This should be a color state list where the activated state will be used when the number is active.
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 numbersTextColor.
Constant Value: 3 (0x00000003)
TimePicker_timePickerMode
int TimePicker_timePickerMode
Defines the look of the widget. Prior to the L release, the only choice was spinner. As of L, with the Material theme selected, the default layout is clock, but this attribute can be used to force spinner to be used instead.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
spinner | 1 | Time picker with spinner controls to select the time. |
clock | 2 | Time picker with clock face to select the time. |
This corresponds to the global attribute
resource symbol timePickerMode.
Constant Value: 8 (0x00000008)
ToggleButton_disabledAlpha
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)
ToggleButton_textOff
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)
ToggleButton_textOn
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)
Toolbar_LayoutParams_layout_gravity
int Toolbar_LayoutParams_layout_gravity
Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol layout_gravity.
Constant Value: 0 (0x00000000)
Toolbar_buttonGravity
int Toolbar_buttonGravity
This symbol is the offset where the buttonGravity
attribute's value can be found in the Toolbar array.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
Constant Value: 23 (0x00000017)
Toolbar_collapseContentDescription
int Toolbar_collapseContentDescription
Text to set as the content description for the collapse 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 collapseContentDescription.
Constant Value: 13 (0x0000000d)
Toolbar_collapseIcon
int Toolbar_collapseIcon
Icon drawable to use for the collapse 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 collapseIcon.
Constant Value: 24 (0x00000018)
Toolbar_contentInsetEnd
int Toolbar_contentInsetEnd
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetEnd.
Constant Value: 7 (0x00000007)
Toolbar_contentInsetEndWithActions
int Toolbar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetEndWithActions.
Constant Value: 26 (0x0000001a)
Toolbar_contentInsetLeft
int Toolbar_contentInsetLeft
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetLeft.
Constant Value: 8 (0x00000008)
Toolbar_contentInsetRight
int Toolbar_contentInsetRight
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetRight.
Constant Value: 9 (0x00000009)
Toolbar_contentInsetStart
int Toolbar_contentInsetStart
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetStart.
Constant Value: 6 (0x00000006)
Toolbar_contentInsetStartWithNavigation
int Toolbar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol contentInsetStartWithNavigation.
Constant Value: 25 (0x00000019)
Toolbar_gravity
int Toolbar_gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
This corresponds to the global attribute
resource symbol gravity.
Constant Value: 0 (0x00000000)
Toolbar_logo
int Toolbar_logo
Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation 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 logo.
Constant Value: 2 (0x00000002)
Toolbar_logoDescription
int Toolbar_logoDescription
A content description string to describe the appearance of the associated logo image.
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 logoDescription.
Constant Value: 16 (0x00000010)
Toolbar_maxButtonHeight
int Toolbar_maxButtonHeight
This symbol is the offset where the maxButtonHeight
attribute's value can be found in the Toolbar array.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
Constant Value: 22 (0x00000016)
Toolbar_navigationContentDescription
int Toolbar_navigationContentDescription
Text to set as the content description for the navigation button located at the start of the toolbar.
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 navigationContentDescription.
Constant Value: 12 (0x0000000c)
Toolbar_navigationIcon
int Toolbar_navigationIcon
Icon drawable to use for the navigation button located at the start of the toolbar.
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 navigationIcon.
Constant Value: 11 (0x0000000b)
Toolbar_popupTheme
int Toolbar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the toolbar.
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 popupTheme.
Constant Value: 10 (0x0000000a)
Toolbar_subtitle
int Toolbar_subtitle
Specifies subtitle text used for navigationMode="normal"
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 subtitle.
Constant Value: 3 (0x00000003)
Toolbar_subtitleTextAppearance
int Toolbar_subtitleTextAppearance
This symbol is the offset where the subtitleTextAppearance
attribute's value can be found in the Toolbar 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)
Toolbar_subtitleTextColor
int Toolbar_subtitleTextColor
A color to apply to the subtitle string.
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 subtitleTextColor.
Constant Value: 15 (0x0000000f)
Toolbar_title
int Toolbar_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: 1 (0x00000001)
Toolbar_titleMargin
int Toolbar_titleMargin
Specifies extra space on the left, start, right and end sides of the toolbar's title. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol titleMargin.
Constant Value: 17 (0x00000011)
Toolbar_titleMarginBottom
int Toolbar_titleMarginBottom
Specifies extra space on the bottom side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol titleMarginBottom.
Constant Value: 21 (0x00000015)
Toolbar_titleMarginEnd
int Toolbar_titleMarginEnd
Specifies extra space on the end side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol titleMarginEnd.
Constant Value: 19 (0x00000013)
Toolbar_titleMarginStart
int Toolbar_titleMarginStart
Specifies extra space on the start side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol titleMarginStart.
Constant Value: 18 (0x00000012)
Toolbar_titleMarginTop
int Toolbar_titleMarginTop
Specifies extra space on the top side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol titleMarginTop.
Constant Value: 20 (0x00000014)
Toolbar_titleTextAppearance
int Toolbar_titleTextAppearance
This symbol is the offset where the titleTextAppearance
attribute's value can be found in the Toolbar 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)
Toolbar_titleTextColor
int Toolbar_titleTextColor
A color to apply to the title string.
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 titleTextColor.
Constant Value: 14 (0x0000000e)
TransitionManager_fromScene
int TransitionManager_fromScene
The originating scene in this scene change.
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 fromScene.
Constant Value: 0 (0x00000000)
TransitionManager_toScene
int TransitionManager_toScene
The destination scene in this scene change.
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 toScene.
Constant Value: 1 (0x00000001)
TransitionManager_transition
int TransitionManager_transition
The id of a transition to be used in a particular scene change.
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 transition.
Constant Value: 2 (0x00000002)
TransitionSet_transitionOrdering
int TransitionSet_transitionOrdering
This symbol is the offset where the transitionOrdering
attribute's value can be found in the TransitionSet array.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
together | 0 | child transitions should be played together. |
sequential | 1 | child transitions should be played sequentially, in the same order as the xml. |
Constant Value: 0 (0x00000000)
TransitionTarget_excludeClass
int TransitionTarget_excludeClass
The fully-qualified name of the Class to exclude from this transition.
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 excludeClass.
Constant Value: 3 (0x00000003)
TransitionTarget_excludeId
int TransitionTarget_excludeId
The id of a target to exclude from this transition.
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 excludeId.
Constant Value: 2 (0x00000002)
TransitionTarget_excludeName
int TransitionTarget_excludeName
The transitionName of the target to exclude from this transition.
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 excludeName.
Constant Value: 5 (0x00000005)
TransitionTarget_targetClass
int TransitionTarget_targetClass
The fully-qualified name of the Class to include in this transition.
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: 0 (0x00000000)
TransitionTarget_targetId
int TransitionTarget_targetId
The id of a target on which this transition will animate changes.
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 targetId.
Constant Value: 1 (0x00000001)
TransitionTarget_targetName
int TransitionTarget_targetName
The transitionName of the target on which this transition will animation changes.
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 targetName.
Constant Value: 4 (0x00000004)
Transition_duration
int Transition_duration
Amount of time (in milliseconds) that the transition should 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)
Transition_interpolator
int Transition_interpolator
Interpolator to be used in the animations spawned by this transition.
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)
Transition_matchOrder
int Transition_matchOrder
The match order to use for the transition. This is a comma-separated
list of values, containing one or more of the following:
id, itemId, name, instance. These correspond to
MATCH_ID,
MATCH_ITEM_ID,
MATCH_NAME, and
MATCH_INSTANCE, respectively.
This corresponds to setMatchOrder(int).
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 matchOrder.
Constant Value: 3 (0x00000003)
Transition_startDelay
int Transition_startDelay
Delay in milliseconds before the transition starts.
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 startDelay.
Constant Value: 2 (0x00000002)
TranslateAnimation_fromXDelta
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)
TranslateAnimation_fromYDelta
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)
TranslateAnimation_toXDelta
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)
TranslateAnimation_toYDelta
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)
TvInputService_canRecord
int TvInputService_canRecord
Attribute whether the TV input service can record programs. This value can be changed
at runtime by calling
updateTvInputInfo(android.media.tv.TvInputInfo).
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 canRecord.
Constant Value: 2 (0x00000002)
TvInputService_settingsActivity
int TvInputService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 0 (0x00000000)
TvInputService_setupActivity
int TvInputService_setupActivity
Component name of an activity that allows the user to set up this service.
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 setupActivity.
Constant Value: 1 (0x00000001)
TvInputService_tunerCount
int TvInputService_tunerCount
The number of tuners that the TV input service is associated with. This value can be
changed at runtime by calling
updateTvInputInfo(android.media.tv.TvInputInfo).
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 tunerCount.
Constant Value: 3 (0x00000003)
TwoLineListItem_mode
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.
| Constant | Value | Description |
|---|---|---|
oneLine | 1 | Always show only the first line. |
collapsing | 2 | When selected show both lines, otherwise show only the first line. This is the default mode. |
twoLine | 3 | Always show both lines. |
Constant Value: 0 (0x00000000)
VectorDrawableClipPath_name
int VectorDrawableClipPath_name
The Name of this path
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)
VectorDrawableClipPath_pathData
int VectorDrawableClipPath_pathData
The specification of the operations that define the path
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 pathData.
Constant Value: 1 (0x00000001)
VectorDrawableGroup_name
int VectorDrawableGroup_name
The name of this group
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)
VectorDrawableGroup_pivotX
int VectorDrawableGroup_pivotX
The X coordinate of the center of rotation of a group
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol pivotX.
Constant Value: 1 (0x00000001)
VectorDrawableGroup_pivotY
int VectorDrawableGroup_pivotY
The Y coordinate of the center of rotation of a group
May be a floating point value, such as "1.2".
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol pivotY.
Constant Value: 2 (0x00000002)
VectorDrawableGroup_rotation
int VectorDrawableGroup_rotation
The amount to rotate the group
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 rotation.
Constant Value: 5 (0x00000005)
VectorDrawableGroup_scaleX
int VectorDrawableGroup_scaleX
The amount to scale the group on X coordinate
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 scaleX.
Constant Value: 3 (0x00000003)
VectorDrawableGroup_scaleY
int VectorDrawableGroup_scaleY
The amount to scale the group on X coordinate
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 scaleY.
Constant Value: 4 (0x00000004)
VectorDrawableGroup_translateX
int VectorDrawableGroup_translateX
The amount to translate the group on X coordinate
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 translateX.
Constant Value: 6 (0x00000006)
VectorDrawableGroup_translateY
int VectorDrawableGroup_translateY
The amount to translate the group on Y coordinate
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 translateY.
Constant Value: 7 (0x00000007)
VectorDrawablePath_fillAlpha
int VectorDrawablePath_fillAlpha
The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque)
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 fillAlpha.
Constant Value: 12 (0x0000000c)
VectorDrawablePath_fillColor
int VectorDrawablePath_fillColor
The color to fill the path if not defined implies no fill
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 fillColor.
Constant Value: 1 (0x00000001)
VectorDrawablePath_fillType
int VectorDrawablePath_fillType
sets the fillType for a path. It is the same as SVG's "fill-rule" properties. For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
nonZero | 0 | |
evenOdd | 1 |
This corresponds to the global attribute
resource symbol fillType.
Constant Value: 13 (0x0000000d)
VectorDrawablePath_name
int VectorDrawablePath_name
The name of this path
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)
VectorDrawablePath_pathData
int VectorDrawablePath_pathData
The specification of the operations that define the path
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 pathData.
Constant Value: 2 (0x00000002)
VectorDrawablePath_strokeAlpha
int VectorDrawablePath_strokeAlpha
The opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque)
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 strokeAlpha.
Constant Value: 11 (0x0000000b)
VectorDrawablePath_strokeColor
int VectorDrawablePath_strokeColor
The color to stroke the path if not defined implies no stroke
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 strokeColor.
Constant Value: 3 (0x00000003)
VectorDrawablePath_strokeLineCap
int VectorDrawablePath_strokeLineCap
sets the linecap for a stroked path
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
butt | 0 | |
round | 1 | |
square | 2 |
This corresponds to the global attribute
resource symbol strokeLineCap.
Constant Value: 8 (0x00000008)
VectorDrawablePath_strokeLineJoin
int VectorDrawablePath_strokeLineJoin
sets the lineJoin for a stroked path
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
miter | 0 | |
round | 1 | |
bevel | 2 |
This corresponds to the global attribute
resource symbol strokeLineJoin.
Constant Value: 9 (0x00000009)
VectorDrawablePath_strokeMiterLimit
int VectorDrawablePath_strokeMiterLimit
sets the Miter limit for a stroked path
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 strokeMiterLimit.
Constant Value: 10 (0x0000000a)
VectorDrawablePath_strokeWidth
int VectorDrawablePath_strokeWidth
The width a path stroke
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 strokeWidth.
Constant Value: 4 (0x00000004)
VectorDrawablePath_trimPathEnd
int VectorDrawablePath_trimPathEnd
The fraction of the path to trim from the end from 0 to 1
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 trimPathEnd.
Constant Value: 6 (0x00000006)
VectorDrawablePath_trimPathOffset
int VectorDrawablePath_trimPathOffset
Shift trim region (allows visible region to include the start and end) from 0 to 1
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 trimPathOffset.
Constant Value: 7 (0x00000007)
VectorDrawablePath_trimPathStart
int VectorDrawablePath_trimPathStart
The fraction of the path to trim from the start from 0 to 1
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 trimPathStart.
Constant Value: 5 (0x00000005)
VectorDrawable_alpha
int VectorDrawable_alpha
The opacity of the whole vector drawable, as a value between 0 (completely transparent) and 1 (completely opaque).
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 alpha.
Constant Value: 4 (0x00000004)
VectorDrawable_autoMirrored
int VectorDrawable_autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
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 autoMirrored.
Constant Value: 5 (0x00000005)
VectorDrawable_height
int VectorDrawable_height
The intrinsic height of the Vector Drawable.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol height.
Constant Value: 2 (0x00000002)
VectorDrawable_name
int VectorDrawable_name
The name of this vector drawable
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)
VectorDrawable_tint
int VectorDrawable_tint
If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.
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: 1 (0x00000001)
VectorDrawable_tintMode
int VectorDrawable_tintMode
When a tint color is set, specifies its Porter-Duff blending mode. The default value is src_in, which treats the drawable as an alpha mask.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol tintMode.
Constant Value: 6 (0x00000006)
VectorDrawable_viewportHeight
int VectorDrawable_viewportHeight
The height of the canvas the drawing is on.
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 viewportHeight.
Constant Value: 8 (0x00000008)
VectorDrawable_viewportWidth
int VectorDrawable_viewportWidth
The width of the canvas the drawing is on.
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 viewportWidth.
Constant Value: 7 (0x00000007)
VectorDrawable_width
int VectorDrawable_width
The intrinsic width of the Vector Drawable.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol width.
Constant Value: 3 (0x00000003)
VerticalSlider_Layout_layout_scale
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)
ViewAnimator_animateFirstView
int ViewAnimator_animateFirstView
Defines whether to animate the current View when the ViewAnimation is first displayed.
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 animateFirstView.
Constant Value: 2 (0x00000002)
ViewAnimator_inAnimation
int ViewAnimator_inAnimation
Identifier for the animation to use when a view 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 inAnimation.
Constant Value: 0 (0x00000000)
ViewAnimator_outAnimation
int ViewAnimator_outAnimation
Identifier for the animation to use when a view is hidden.
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 outAnimation.
Constant Value: 1 (0x00000001)
ViewDrawableStates_state_accelerated
int ViewDrawableStates_state_accelerated
State value for StateListDrawable,
indicating that the Drawable is in a view that is hardware accelerated.
This means that the device can at least render a full-screen scaled
bitmap with one layer of text and bitmaps composited on top of it
at 60fps. When this is set, the colorBackgroundCacheHint will be
ignored even if it specifies a solid color, since that optimization
is not needed.
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_accelerated.
Constant Value: 6 (0x00000006)
ViewDrawableStates_state_activated
int ViewDrawableStates_state_activated
State value for StateListDrawable,
set when a view or its parent has been "activated" meaning the user has currently
marked it as being of interest. This is an alternative representation of
state_checked for when the state should be propagated down the view hierarchy.
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_activated.
Constant Value: 5 (0x00000005)
ViewDrawableStates_state_drag_can_accept
int ViewDrawableStates_state_drag_can_accept
State for StateListDrawable
indicating that the Drawable is in a view that is capable of accepting a drop of
the content currently being manipulated in a drag-and-drop operation.
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_drag_can_accept.
Constant Value: 8 (0x00000008)
ViewDrawableStates_state_drag_hovered
int ViewDrawableStates_state_drag_hovered
State for StateListDrawable
indicating that a drag operation (for which the Drawable's view is a valid recipient)
is currently positioned over the Drawable.
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_drag_hovered.
Constant Value: 9 (0x00000009)
ViewDrawableStates_state_enabled
int ViewDrawableStates_state_enabled
State value for StateListDrawable,
set when a view 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 state_enabled.
Constant Value: 2 (0x00000002)
ViewDrawableStates_state_focused
int ViewDrawableStates_state_focused
State value for StateListDrawable,
set when a view has input 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 state_focused.
Constant Value: 0 (0x00000000)
ViewDrawableStates_state_hovered
int ViewDrawableStates_state_hovered
State value for StateListDrawable,
set when a pointer is hovering over the view.
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_hovered.
Constant Value: 7 (0x00000007)
ViewDrawableStates_state_pressed
int ViewDrawableStates_state_pressed
State value for StateListDrawable,
set when the user is pressing down in a view.
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)
ViewDrawableStates_state_selected
int ViewDrawableStates_state_selected
State value for StateListDrawable,
set when a view (or one of its parents) is currently selected.
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)
ViewDrawableStates_state_window_focused
int ViewDrawableStates_state_window_focused
State value for StateListDrawable,
set when a view's window has input 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 state_window_focused.
Constant Value: 1 (0x00000001)
ViewFlipper_autoStart
int ViewFlipper_autoStart
When true, automatically start animating
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 autoStart.
Constant Value: 1 (0x00000001)
ViewFlipper_flipInterval
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)
ViewGroup_Layout_layout_height
int ViewGroup_Layout_layout_height
Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding).
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
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)
ViewGroup_Layout_layout_width
int ViewGroup_Layout_layout_width
Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding).
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
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)
ViewGroup_MarginLayout_layout_height
int ViewGroup_MarginLayout_layout_height
Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding).
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
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)
ViewGroup_MarginLayout_layout_margin
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. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol layout_margin.
Constant Value: 2 (0x00000002)
ViewGroup_MarginLayout_layout_marginBottom
int ViewGroup_MarginLayout_layout_marginBottom
Specifies extra space on the bottom side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol layout_marginBottom.
Constant Value: 6 (0x00000006)
ViewGroup_MarginLayout_layout_marginEnd
int ViewGroup_MarginLayout_layout_marginEnd
Specifies extra space on the end side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol layout_marginEnd.
Constant Value: 8 (0x00000008)
ViewGroup_MarginLayout_layout_marginLeft
int ViewGroup_MarginLayout_layout_marginLeft
Specifies extra space on the left side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol layout_marginLeft.
Constant Value: 3 (0x00000003)
ViewGroup_MarginLayout_layout_marginRight
int ViewGroup_MarginLayout_layout_marginRight
Specifies extra space on the right side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol layout_marginRight.
Constant Value: 5 (0x00000005)
ViewGroup_MarginLayout_layout_marginStart
int ViewGroup_MarginLayout_layout_marginStart
Specifies extra space on the start side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol layout_marginStart.
Constant Value: 7 (0x00000007)
ViewGroup_MarginLayout_layout_marginTop
int ViewGroup_MarginLayout_layout_marginTop
Specifies extra space on the top side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol layout_marginTop.
Constant Value: 4 (0x00000004)
ViewGroup_MarginLayout_layout_width
int ViewGroup_MarginLayout_layout_width
Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
| Constant | Value | Description |
|---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding).
This constant is deprecated starting from API Level 8 and
is replaced by match_parent. |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
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)
ViewGroup_addStatesFromChildren
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)
ViewGroup_alwaysDrawnWithCache
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)
ViewGroup_animateLayoutChanges
int ViewGroup_animateLayoutChanges
Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run. When this flag is set to true, a default LayoutTransition object will be set on the ViewGroup container and default animations will run when these layout changes occur.
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 animateLayoutChanges.
Constant Value: 9 (0x00000009)
ViewGroup_animationCache
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)
ViewGroup_clipChildren
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)
ViewGroup_clipToPadding
int ViewGroup_clipToPadding
Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero. This property is set to true by default.
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)
ViewGroup_descendantFocusability
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.
| Constant | Value | Description |
|---|---|---|
beforeDescendants | 0 | The ViewGroup will get focus before any of its descendants. |
afterDescendants | 1 | The ViewGroup will get focus only if none of its descendants want it. |
blocksDescendants | 2 | The ViewGroup will block its descendants from receiving focus. |
This corresponds to the global attribute
resource symbol descendantFocusability.
Constant Value: 7 (0x00000007)
ViewGroup_layoutAnimation
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)
ViewGroup_layoutMode
int ViewGroup_layoutMode
Defines the layout mode of this ViewGroup.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
clipBounds | 0 | Use the children's clip bounds when laying out this container. |
opticalBounds | 1 | Use the children's optical bounds when laying out this container. |
This corresponds to the global attribute
resource symbol layoutMode.
Constant Value: 10 (0x0000000a)
ViewGroup_persistentDrawingCache
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.
| Constant | Value | Description |
|---|---|---|
none | 0x0 | The drawing cache is not persisted after use. |
animation | 0x1 | The drawing cache is persisted after a layout animation. |
scrolling | 0x2 | The drawing cache is persisted after a scroll. |
all | 0x3 | The drawing cache is always persisted. |
This corresponds to the global attribute
resource symbol persistentDrawingCache.
Constant Value: 4 (0x00000004)
ViewGroup_splitMotionEvents
int ViewGroup_splitMotionEvents
Sets whether this ViewGroup should split MotionEvents
to separate child views during touch event dispatch.
If false (default), touch events will be dispatched to
the child view where the first pointer went down until
the last pointer goes up.
If true, touch events may be dispatched to multiple children.
MotionEvents for each pointer will be dispatched to the child
view where the initial ACTION_DOWN event happened.
See setMotionEventSplittingEnabled(boolean)
for more information.
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 splitMotionEvents.
Constant Value: 8 (0x00000008)
ViewGroup_touchscreenBlocksFocus
int ViewGroup_touchscreenBlocksFocus
Set to true if this ViewGroup blocks focus in the presence of a touchscreen.
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 touchscreenBlocksFocus.
Constant Value: 12 (0x0000000c)
ViewGroup_transitionGroup
int ViewGroup_transitionGroup
Sets whether or not this ViewGroup should be treated as a single entity
when doing an Activity transition. Typically, the elements inside a
ViewGroup are each transitioned from the scene individually. The default
for a ViewGroup is false unless it has a background. See
makeSceneTransitionAnimation(android.app.Activity, android.view.View, String) for more information. Corresponds to
setTransitionGroup(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 transitionGroup.
Constant Value: 11 (0x0000000b)
ViewStub_id
int ViewStub_id
Supply an identifier name for this 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 id.
Constant Value: 0 (0x00000000)
ViewStub_inflatedId
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: 2 (0x00000002)
ViewStub_layout
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: 1 (0x00000001)
ViewTag_id
int ViewTag_id
Specifies the key identifying a tag. This must be a resource reference.
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)
ViewTag_value
int ViewTag_value
Specifies the value with which to tag the view.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
May be an integer value, such as "100".
May be a boolean value, 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: 0 (0x00000000)
View_accessibilityLiveRegion
int View_accessibilityLiveRegion
Indicates to accessibility services whether the user should be notified when this view changes.
May be an integer value, such as "100".
This may also be a reference 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.
| Constant | Value | Description |
|---|---|---|
none | 0 | Accessibility services should not announce changes to this view. |
polite | 1 | Accessibility services should announce changes to this view. |
assertive | 2 | Accessibility services should interrupt ongoing speech to immediately announce changes to this view. |
This corresponds to the global attribute
resource symbol accessibilityLiveRegion.
Constant Value: 71 (0x00000047)
View_accessibilityTraversalAfter
int View_accessibilityTraversalAfter
Sets the id of a view after which this one is visited in accessibility traversal. A screen-reader must visit the content of the other view before the content of this one.
Constant Value: 83 (0x00000053)
View_accessibilityTraversalBefore
int View_accessibilityTraversalBefore
Sets the id of a view before which this one is visited in accessibility traversal. A screen-reader must visit the content of this view before the content of the one it precedes.
Constant Value: 82 (0x00000052)
View_alpha
int View_alpha
alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
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 alpha.
Constant Value: 50 (0x00000032)
View_background
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: 13 (0x0000000d)
View_backgroundTint
int View_backgroundTint
Tint to apply to the 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 backgroundTint.
Constant Value: 77 (0x0000004d)
View_backgroundTintMode
int View_backgroundTintMode
Blending mode used to apply the background tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol backgroundTintMode.
Constant Value: 78 (0x0000004e)
View_clickable
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: 30 (0x0000001e)
View_contentDescription
int View_contentDescription
Defines text that briefly describes content of the view. This property is used primarily for accessibility. Since some views do not have textual representation this attribute can be used for providing such.
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 contentDescription.
Constant Value: 44 (0x0000002c)
View_contextClickable
int View_contextClickable
Defines whether this view reacts to context 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 contextClickable.
Constant Value: 85 (0x00000055)
View_drawingCacheQuality
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.
| Constant | Value | Description |
|---|---|---|
auto | 0 | Lets the framework decide what quality level should be used for the drawing cache. |
low | 1 | Low quality. When set to low quality, the drawing cache uses a lower color depth, thus losing precision in rendering gradients, but uses less memory. |
high | 2 | 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: 33 (0x00000021)
View_duplicateParentState
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: 34 (0x00000022)
View_elevation
int View_elevation
base z depth of the view
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol elevation.
Constant Value: 75 (0x0000004b)
View_fadeScrollbars
int View_fadeScrollbars
Defines whether to fade out scrollbars when they are not in use.
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 fadeScrollbars.
Constant Value: 47 (0x0000002f)
View_fadingEdge
int View_fadingEdge
This attribute is deprecated and will be ignored as of
API level 14 (ICE_CREAM_SANDWICH).
Using fading edges may introduce noticeable performance
degradations and should be used only when required by the application's
visual design. To request fading edges with API level 14 and above,
use the android:requiresFadingEdge attribute instead.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x00000000 | No edge is faded. |
horizontal | 0x00001000 | Fades horizontal edges only. |
vertical | 0x00002000 | Fades vertical edges only. |
This corresponds to the global attribute
resource symbol fadingEdge.
Constant Value: 24 (0x00000018)
View_fadingEdgeLength
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol fadingEdgeLength.
Constant Value: 25 (0x00000019)
View_filterTouchesWhenObscured
int View_filterTouchesWhenObscured
Specifies whether to filter touches when the view's window is obscured by
another visible window. When set to true, the view will not receive touches
whenever a toast, dialog or other window appears above the view's window.
Refer to the View security documentation for more details.
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 filterTouchesWhenObscured.
Constant Value: 49 (0x00000031)
View_fitsSystemWindows
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: 22 (0x00000016)
View_focusable
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: 19 (0x00000013)
View_focusableInTouchMode
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: 20 (0x00000014)
View_forceHasOverlappingRendering
int View_forceHasOverlappingRendering
Whether this view has elements that may overlap when drawn. See
forceHasOverlappingRendering(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 forceHasOverlappingRendering.
Constant Value: 87 (0x00000057)
View_foreground
int View_foreground
Defines the drawable to draw over the content. This can be used as an overlay. The foreground drawable participates in the padding of the content if the gravity is set to fill.
May be a reference to another resource, in the form "@[+][package:]type:name"
or 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: 35 (0x00000023)
View_foregroundGravity
int View_foregroundGravity
Defines the gravity to apply to the foreground drawable. The gravity defaults to fill.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
This corresponds to the global attribute
resource symbol foregroundGravity.
Constant Value: 38 (0x00000026)
View_foregroundTint
int View_foregroundTint
Tint to apply to the foreground.
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 foregroundTint.
Constant Value: 79 (0x0000004f)
View_foregroundTintMode
int View_foregroundTintMode
Blending mode used to apply the foreground tint.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
This corresponds to the global attribute
resource symbol foregroundTintMode.
Constant Value: 80 (0x00000050)
View_hapticFeedbackEnabled
int View_hapticFeedbackEnabled
Boolean that controls whether a view should have haptic feedback enabled for events such as long presses.
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 hapticFeedbackEnabled.
Constant Value: 42 (0x0000002a)
View_id
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: 9 (0x00000009)
View_importantForAccessibility
int View_importantForAccessibility
Describes whether or not this view is important for accessibility. If it is important, the view fires accessibility events and is reported to accessibility services that query the screen. Note: While not recommended, an accessibility service may decide to ignore this attribute and operate on all views in the view tree.
May be an integer value, such as "100".
This may also be a reference 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.
| Constant | Value | Description |
|---|---|---|
auto | 0 | The system determines whether the view is important for accessibility - default (recommended). |
yes | 1 | The view is important for accessibility. |
no | 2 | The view is not important for accessibility. |
noHideDescendants | 4 | The view is not important for accessibility, nor are any of its descendant views. |
This corresponds to the global attribute
resource symbol importantForAccessibility.
Constant Value: 64 (0x00000040)
View_isScrollContainer
int View_isScrollContainer
Set this if the view will serve as a scrolling container, meaning that it can be resized to shrink its overall window so that there will be space for an input method. If not set, the default value will be true if "scrollbars" has the vertical scrollbar set, else it will be false.
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 isScrollContainer.
Constant Value: 41 (0x00000029)
View_keepScreenOn
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 corresponds to the global attribute
resource symbol keepScreenOn.
Constant Value: 40 (0x00000028)
View_labelFor
int View_labelFor
Specifies the id of a view for which this view serves as a label for accessibility purposes. For example, a TextView before an EditText in the UI usually specifies what infomation is contained in the EditText. Hence, the TextView is a label for the 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 labelFor.
Constant Value: 70 (0x00000046)
View_layerType
int View_layerType
Specifies the type of layer backing this view. The default value is none.
Refer to setLayerType(int, android.graphics.Paint)
for more information.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | Don't use a layer. |
software | 1 | Use a software layer. Refer to
setLayerType(int, android.graphics.Paint) for
more information. |
hardware | 2 | Use a hardware layer. Refer to
setLayerType(int, android.graphics.Paint) for
more information. |
This corresponds to the global attribute
resource symbol layerType.
Constant Value: 62 (0x0000003e)
View_layoutDirection
int View_layoutDirection
Defines the direction of layout drawing. This typically is associated with writing direction of the language script used. The possible values are "ltr" for Left-to-Right, "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction used in "en-US". The default for this attribute is "inherit".
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
ltr | 0 | Left-to-Right |
rtl | 1 | Right-to-Left |
inherit | 2 | Inherit from parent |
locale | 3 | Locale |
This corresponds to the global attribute
resource symbol layoutDirection.
Constant Value: 67 (0x00000043)
View_longClickable
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: 31 (0x0000001f)
View_minHeight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minHeight.
Constant Value: 37 (0x00000025)
View_minWidth
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol minWidth.
Constant Value: 36 (0x00000024)
View_nestedScrollingEnabled
int View_nestedScrollingEnabled
Specifies that this view should permit nested scrolling within a compatible ancestor view.
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 nestedScrollingEnabled.
Constant Value: 74 (0x0000004a)
View_nextFocusDown
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: 29 (0x0000001d)
View_nextFocusForward
int View_nextFocusForward
Defines the next view to give focus to when the next focus is
FOCUS_FORWARD
If the reference refers to a view that does not exist or is part
of a hierarchy that is invisible, a RuntimeException
will result when the reference is accessed.
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 nextFocusForward.
Constant Value: 61 (0x0000003d)
View_nextFocusLeft
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: 26 (0x0000001a)
View_nextFocusRight
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: 27 (0x0000001b)
View_nextFocusUp
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: 28 (0x0000001c)
View_onClick
int View_onClick
Name of the method in this View's context to invoke when the view is
clicked. This name must correspond to a public method that takes
exactly one parameter of type View. For instance, if you specify
android:onClick="sayHello", you must declare a
public void sayHello(View v) method of your context
(typically, your Activity).
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 onClick.
Constant Value: 43 (0x0000002b)
View_outlineProvider
int View_outlineProvider
ViewOutlineProvider used to determine the View's Outline.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
background | 0 | Default, background drawable-driven outline. |
none | 1 | No outline provider. |
bounds | 2 | Generates an opaque outline for the bounds of the view. |
paddedBounds | 3 | Generates an opaque outline for the padded bounds of the view. |
This corresponds to the global attribute
resource symbol outlineProvider.
Constant Value: 81 (0x00000051)
View_overScrollMode
int View_overScrollMode
Defines over-scrolling behavior. This property is used only if the View is scrollable. Over-scrolling is the ability for the user to receive feedback when attempting to scroll beyond meaningful content.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
always | 0 | Always show over-scroll effects, even if the content fits entirely within the available space. |
ifContentScrolls | 1 | Only show over-scroll effects if the content is large enough to meaningfully scroll. |
never | 2 | Never show over-scroll effects. |
This corresponds to the global attribute
resource symbol overScrollMode.
Constant Value: 48 (0x00000030)
View_padding
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol padding.
Constant Value: 14 (0x0000000e)
View_paddingBottom
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingBottom.
Constant Value: 18 (0x00000012)
View_paddingEnd
int View_paddingEnd
Sets the padding, in pixels, of the end 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingEnd.
Constant Value: 69 (0x00000045)
View_paddingLeft
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingLeft.
Constant Value: 15 (0x0000000f)
View_paddingRight
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingRight.
Constant Value: 17 (0x00000011)
View_paddingStart
int View_paddingStart
Sets the padding, in pixels, of the start 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingStart.
Constant Value: 68 (0x00000044)
View_paddingTop
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol paddingTop.
Constant Value: 16 (0x00000010)
View_pointerIcon
int View_pointerIcon
This symbol is the offset where the pointerIcon
attribute's value can be found in the View array.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | Null icon, pointer becomes invisible. |
arrow | 1000 | The default icon of arrow pointer. |
context_menu | 1001 | Pointer icon indicating context-menu will appear. |
hand | 1002 | Pointer icon of a hand with the index finger. |
help | 1003 | Pointer icon indicating help. |
wait | 1004 | Pointer icon indicating something is going on and waiting. |
cell | 1006 | Pointer icon for cell and grid. |
crosshair | 1007 | Pointer icon of crosshair, indicating to spot a location. |
text | 1008 | Pointer icon of I-beam, usually for text. |
vertical_text | 1009 | Pointer icon of I-beam with 90-degree rotated, for vertical text. |
alias | 1010 | Pointer icon of 'alias', indicating an alias of/shortcut to something is to be created. |
copy | 1011 | Pointer icon of 'copy', used for drag/drop. |
no_drop | 1012 | Pointer icon of 'no-drop', indicating the drop will not be accepted at the current location. |
all_scroll | 1013 | Pointer icon of four-way arrows, indicating scrolling all direction. |
horizontal_double_arrow | 1014 | Pointer icon of horizontal double arrow, indicating horizontal resize. |
vertical_double_arrow | 1015 | Pointer icon of vertical double arrow, indicating vertical resize. |
top_right_diagonal_double_arrow | 1016 | Pointer icon of diagonal double arrow, starting from top-right to bottom-left. Indicating freeform resize. |
top_left_diagonal_double_arrow | 1017 | Pointer icon of diagonal double arrow, starting from top-left to bottom-right. Indicating freeform resize. |
zoom_in | 1018 | Pointer icon indicating zoom-in. |
zoom_out | 1019 | Pointer icon indicating zoom-out. |
grab | 1020 | Pointer icon of a hand sign to grab something. |
grabbing | 1021 | Pointer icon of a hand sign while grabbing something. |
Constant Value: 86 (0x00000056)
View_requiresFadingEdge
int View_requiresFadingEdge
Defines which edges should be faded on scrolling.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x00000000 | No edge is faded. |
horizontal | 0x00001000 | Fades horizontal edges only. |
vertical | 0x00002000 | Fades vertical edges only. |
This corresponds to the global attribute
resource symbol requiresFadingEdge.
Constant Value: 63 (0x0000003f)
View_rotation
int View_rotation
rotation of the view, in degrees.
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 rotation.
Constant Value: 57 (0x00000039)
View_rotationX
int View_rotationX
rotation of the view around the x axis, in degrees.
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 rotationX.
Constant Value: 58 (0x0000003a)
View_rotationY
int View_rotationY
rotation of the view around the y axis, in degrees.
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 rotationY.
Constant Value: 59 (0x0000003b)
View_saveEnabled
int View_saveEnabled
If false, no state will be saved for this view when it is being frozen. The default is true, allowing the view to be saved (however it also must have an ID assigned to it for its state to be saved). Setting this to false only disables the state for this view, not for its children which may still be saved.
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: 32 (0x00000020)
View_scaleX
int View_scaleX
scale of the view in the x direction.
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 scaleX.
Constant Value: 55 (0x00000037)
View_scaleY
int View_scaleY
scale of the view in the y direction.
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 scaleY.
Constant Value: 56 (0x00000038)
View_scrollIndicators
int View_scrollIndicators
Defines which scroll indicators should be displayed when the view can be scrolled. Multiple values may be combined using logical OR, for example "top|bottom".
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0x00 | No scroll indicators are displayed. |
top | 0x01 | Displays top scroll indicator when view can be scrolled up. |
bottom | 0x02 | Displays bottom scroll indicator when vew can be scrolled down. |
left | 0x04 | Displays left scroll indicator when vew can be scrolled left. |
right | 0x08 | Displays right scroll indicator when vew can be scrolled right. |
start | 0x10 | Displays right scroll indicator when vew can be scrolled in the start direction. |
end | 0x20 | Displays right scroll indicator when vew can be scrolled in the end direction. |
This corresponds to the global attribute
resource symbol scrollIndicators.
Constant Value: 84 (0x00000054)
View_scrollX
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol scrollX.
Constant Value: 11 (0x0000000b)
View_scrollY
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol scrollY.
Constant Value: 12 (0x0000000c)
View_scrollbarAlwaysDrawHorizontalTrack
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: 6 (0x00000006)
View_scrollbarAlwaysDrawVerticalTrack
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: 7 (0x00000007)
View_scrollbarDefaultDelayBeforeFade
int View_scrollbarDefaultDelayBeforeFade
Defines the delay in milliseconds that a scrollbar waits before fade out.
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 scrollbarDefaultDelayBeforeFade.
Constant Value: 46 (0x0000002e)
View_scrollbarFadeDuration
int View_scrollbarFadeDuration
Defines the delay in milliseconds that a scrollbar takes to fade out.
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 scrollbarFadeDuration.
Constant Value: 45 (0x0000002d)
View_scrollbarSize
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), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol scrollbarSize.
Constant Value: 1 (0x00000001)
View_scrollbarStyle
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.
| Constant | Value | Description |
|---|---|---|
insideOverlay | 0x0 | Inside the padding and overlaid |
insideInset | 0x01000000 | Inside the padding and inset |
outsideOverlay | 0x02000000 | Edge of the view and overlaid |
outsideInset | 0x03000000 | Edge of the view and inset |
This corresponds to the global attribute
resource symbol scrollbarStyle.
Constant Value: 8 (0x00000008)
View_scrollbarThumbHorizontal
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: 2 (0x00000002)
View_scrollbarThumbVertical
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: 3 (0x00000003)
View_scrollbarTrackHorizontal
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: 4 (0x00000004)
View_scrollbarTrackVertical
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: 5 (0x00000005)
View_scrollbars
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.
| Constant | Value | Description |
|---|---|---|
none | 0x00000000 | No scrollbar is displayed. |
horizontal | 0x00000100 | Displays horizontal scrollbar only. |
vertical | 0x00000200 | Displays vertical scrollbar only. |
This corresponds to the global attribute
resource symbol scrollbars.
Constant Value: 23 (0x00000017)
View_soundEffectsEnabled
int View_soundEffectsEnabled
Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching.
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 soundEffectsEnabled.
Constant Value: 39 (0x00000027)
View_stateListAnimator
int View_stateListAnimator
Sets the state-based animator for the 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 stateListAnimator.
Constant Value: 76 (0x0000004c)
View_tag
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: 10 (0x0000000a)
View_textAlignment
int View_textAlignment
Defines the alignment of the text. A heuristic is used to determine the resolved text alignment.
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.
| Constant | Value | Description |
|---|---|---|
inherit | 0 | Default |
gravity | 1 | Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s text direction |
textStart | 2 | Align to the start of the paragraph, e.g. ALIGN_NORMAL. |
textEnd | 3 | Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. |
center | 4 | Center the paragraph, e.g. ALIGN_CENTER. |
viewStart | 5 | Align to the start of the view, which is ALIGN_LEFT if the view’s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise. |
viewEnd | 6 | Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise |
This corresponds to the global attribute
resource symbol textAlignment.
Constant Value: 66 (0x00000042)
View_textDirection
int View_textDirection
Defines the direction of the text. A heuristic is used to determine the resolved text direction of paragraphs.
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.
| Constant | Value | Description |
|---|---|---|
inherit | 0 | Default |
firstStrong | 1 | Default for the root view. The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is the view’s resolved layout direction. |
anyRtl | 2 | The paragraph direction is RTL if it contains any strong RTL character, otherwise it is LTR if it contains any strong LTR characters. If there are neither, the paragraph direction is the view’s resolved layout direction. |
ltr | 3 | The paragraph direction is left to right. |
rtl | 4 | The paragraph direction is right to left. |
locale | 5 | The paragraph direction is coming from the system Locale. |
firstStrongLtr | 6 | The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is LTR. |
firstStrongRtl | 7 | The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is RTL. |
This corresponds to the global attribute
resource symbol textDirection.
Constant Value: 65 (0x00000041)
View_theme
int View_theme
Specifies a theme override for a view. When a theme override is set, the
view will be inflated using a Context themed with
the specified resource. During XML inflation, any child views under the
view with a theme override will inherit the themed context.
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)
View_transformPivotX
int View_transformPivotX
x location of the pivot point around which the view will rotate and scale. This xml attribute sets the pivotX property of the View.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol transformPivotX.
Constant Value: 51 (0x00000033)
View_transformPivotY
int View_transformPivotY
y location of the pivot point around which the view will rotate and scale. This xml attribute sets the pivotY property of the View.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol transformPivotY.
Constant Value: 52 (0x00000034)
View_transitionName
int View_transitionName
Names a View such that it can be identified for Transitions. Names should be unique in the View hierarchy.
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 transitionName.
Constant Value: 73 (0x00000049)
View_translationX
int View_translationX
translation in x of the view. This value is added post-layout to the left property of the view, which is set by its layout.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol translationX.
Constant Value: 53 (0x00000035)
View_translationY
int View_translationY
translation in y of the view. This value is added post-layout to the top property of the view, which is set by its layout.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol translationY.
Constant Value: 54 (0x00000036)
View_translationZ
int View_translationZ
translation in z of the view. This value is added to its elevation.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol translationZ.
Constant Value: 72 (0x00000048)
View_verticalScrollbarPosition
int View_verticalScrollbarPosition
Determines which side the vertical scroll bar should be placed on.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
defaultPosition | 0 | Place the scroll bar wherever the system default determines. |
left | 1 | Place the scroll bar on the left. |
right | 2 | Place the scroll bar on the right. |
This corresponds to the global attribute
resource symbol verticalScrollbarPosition.
Constant Value: 60 (0x0000003c)
View_visibility
int View_visibility
Controls the initial visibility of the view.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
visible | 0 | Visible on screen; the default value. |
invisible | 1 | Not displayed, but taken into account during layout (space is left for it). |
gone | 2 | Completely hidden, as if the view had not been added. |
This corresponds to the global attribute
resource symbol visibility.
Constant Value: 21 (0x00000015)
VisibilityTransition_transitionVisibilityMode
int VisibilityTransition_transitionVisibilityMode
Changes whether the transition supports appearing and/or disappearing Views.
Corresponds to setMode(int).
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
mode_in | 1 | Only appearing Views will be supported. |
mode_out | 2 | Only disappearing Views will be supported. |
This corresponds to the global attribute
resource symbol transitionVisibilityMode.
Constant Value: 0 (0x00000000)
VoiceInteractionService_recognitionService
int VoiceInteractionService_recognitionService
The service that provides voice recognition. This is required. When the user selects this voice interaction service, they will also be implicitly selecting the component here for their recognition service.
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 recognitionService.
Constant Value: 2 (0x00000002)
VoiceInteractionService_sessionService
int VoiceInteractionService_sessionService
The service that hosts active voice interaction sessions. This is required.
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 sessionService.
Constant Value: 1 (0x00000001)
VoiceInteractionService_settingsActivity
int VoiceInteractionService_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 0 (0x00000000)
VoiceInteractionService_supportsAssist
int VoiceInteractionService_supportsAssist
Flag indicating whether this voice interaction service is capable of handling the assist action.
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 supportsAssist.
Constant Value: 3 (0x00000003)
VoiceInteractionService_supportsLaunchVoiceAssistFromKeyguard
int VoiceInteractionService_supportsLaunchVoiceAssistFromKeyguard
Flag indicating whether this voice interaction service is capable of being launched from the keyguard.
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 supportsLaunchVoiceAssistFromKeyguard.
Constant Value: 4 (0x00000004)
VoiceInteractionService_supportsLocalInteraction
int VoiceInteractionService_supportsLocalInteraction
Flag indicating whether this voice interaction service can handle local voice
interaction requests from an Activity. This flag is new in
N and not used in previous versions.
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 supportsLocalInteraction.
Constant Value: 5 (0x00000005)
VolumePreference_streamType
int VolumePreference_streamType
Different audio stream types.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
voice | 0 | |
system | 1 | |
ring | 2 | |
music | 3 | |
alarm | 4 |
This corresponds to the global attribute
resource symbol streamType.
Constant Value: 0 (0x00000000)
WallpaperPreviewInfo_staticWallpaperPreview
int WallpaperPreviewInfo_staticWallpaperPreview
A resource id of a static 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 staticWallpaperPreview.
Constant Value: 0 (0x00000000)
Wallpaper_author
int Wallpaper_author
Name of the author and/or source/collection of this component, e.g. Art Collection, Picasso.
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 author.
Constant Value: 3 (0x00000003)
Wallpaper_contextDescription
int Wallpaper_contextDescription
Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection.
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 contextDescription.
Constant Value: 5 (0x00000005)
Wallpaper_contextUri
int Wallpaper_contextUri
Uri that specifies a link for further context of this wallpaper, e.g. http://www.picasso.org.
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 contextUri.
Constant Value: 4 (0x00000004)
Wallpaper_description
int Wallpaper_description
Short description of the component's purpose or behavior.
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: 0 (0x00000000)
Wallpaper_settingsActivity
int Wallpaper_settingsActivity
Component name of an activity that allows the user to modify the settings for this service.
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 settingsActivity.
Constant Value: 1 (0x00000001)
Wallpaper_showMetadataInPreview
int Wallpaper_showMetadataInPreview
Whether to show any metadata when previewing the wallpaper. If this value is set to true, any component that shows a preview of this live wallpaper should also show accompanying information like the title, the description, the author and the context description of this wallpaper so the user gets to know further information about this wallpaper.
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 showMetadataInPreview.
Constant Value: 6 (0x00000006)
Wallpaper_thumbnail
int Wallpaper_thumbnail
Reference to the wallpaper's thumbnail bitmap.
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 thumbnail.
Constant Value: 2 (0x00000002)
WindowAnimation_activityCloseEnterAnimation
int WindowAnimation_activityCloseEnterAnimation
When closing the current activity, this is the animation that is run on the next activity (which is entering the screen).
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 activityCloseEnterAnimation.
Constant Value: 6 (0x00000006)
WindowAnimation_activityCloseExitAnimation
int WindowAnimation_activityCloseExitAnimation
When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen).
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 activityCloseExitAnimation.
Constant Value: 7 (0x00000007)
WindowAnimation_activityOpenEnterAnimation
int WindowAnimation_activityOpenEnterAnimation
When opening a new activity, this is the animation that is run on the next activity (which is entering the screen).
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 activityOpenEnterAnimation.
Constant Value: 4 (0x00000004)
WindowAnimation_activityOpenExitAnimation
int WindowAnimation_activityOpenExitAnimation
When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen).
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 activityOpenExitAnimation.
Constant Value: 5 (0x00000005)
WindowAnimation_launchTaskBehindSourceAnimation
int WindowAnimation_launchTaskBehindSourceAnimation
When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the old task (which is already on the screen and then stays on).
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 launchTaskBehindSourceAnimation.
Constant Value: 25 (0x00000019)
WindowAnimation_launchTaskBehindTargetAnimation
int WindowAnimation_launchTaskBehindTargetAnimation
When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the new task (which is entering the screen and then leaving).
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 launchTaskBehindTargetAnimation.
Constant Value: 24 (0x00000018)
WindowAnimation_taskCloseEnterAnimation
int WindowAnimation_taskCloseEnterAnimation
When closing the last activity of a task, this is the animation that is run on the activity of the next task (which is entering the screen).
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 taskCloseEnterAnimation.
Constant Value: 10 (0x0000000a)
WindowAnimation_taskCloseExitAnimation
int WindowAnimation_taskCloseExitAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).
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 taskCloseExitAnimation.
Constant Value: 11 (0x0000000b)
WindowAnimation_taskOpenEnterAnimation
int WindowAnimation_taskOpenEnterAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the new task (which is entering the screen).
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 taskOpenEnterAnimation.
Constant Value: 8 (0x00000008)
WindowAnimation_taskOpenExitAnimation
int WindowAnimation_taskOpenExitAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).
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 taskOpenExitAnimation.
Constant Value: 9 (0x00000009)
WindowAnimation_taskToBackEnterAnimation
int WindowAnimation_taskToBackEnterAnimation
When sending the current task to the background, this is the animation that is run on the top activity of the task behind it (which is entering the screen).
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 taskToBackEnterAnimation.
Constant Value: 14 (0x0000000e)
WindowAnimation_taskToBackExitAnimation
int WindowAnimation_taskToBackExitAnimation
When sending the current task to the background, this is the animation that is run on the top activity of the current task (which is exiting the screen).
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 taskToBackExitAnimation.
Constant Value: 15 (0x0000000f)
WindowAnimation_taskToFrontEnterAnimation
int WindowAnimation_taskToFrontEnterAnimation
When bringing an existing task to the foreground, this is the animation that is run on the top activity of the task being brought to the foreground (which is entering the screen).
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 taskToFrontEnterAnimation.
Constant Value: 12 (0x0000000c)
WindowAnimation_taskToFrontExitAnimation
int WindowAnimation_taskToFrontExitAnimation
When bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen).
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 taskToFrontExitAnimation.
Constant Value: 13 (0x0000000d)
WindowAnimation_wallpaperCloseEnterAnimation
int WindowAnimation_wallpaperCloseEnterAnimation
When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the new activity (which is entering the screen).
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 wallpaperCloseEnterAnimation.
Constant Value: 18 (0x00000012)
WindowAnimation_wallpaperCloseExitAnimation
int WindowAnimation_wallpaperCloseExitAnimation
When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the old wallpaper activity (which is exiting the screen).
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 wallpaperCloseExitAnimation.
Constant Value: 19 (0x00000013)
WindowAnimation_wallpaperIntraCloseEnterAnimation
int WindowAnimation_wallpaperIntraCloseEnterAnimation
When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the previous activity (which is entering the screen). The wallpaper remains static behind the animation.
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 wallpaperIntraCloseEnterAnimation.
Constant Value: 22 (0x00000016)
WindowAnimation_wallpaperIntraCloseExitAnimation
int WindowAnimation_wallpaperIntraCloseExitAnimation
When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). The wallpaper remains static behind the animation.
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 wallpaperIntraCloseExitAnimation.
Constant Value: 23 (0x00000017)
WindowAnimation_wallpaperIntraOpenEnterAnimation
int WindowAnimation_wallpaperIntraOpenEnterAnimation
When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the new activity (which is entering the screen). The wallpaper remains static behind the animation.
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 wallpaperIntraOpenEnterAnimation.
Constant Value: 20 (0x00000014)
WindowAnimation_wallpaperIntraOpenExitAnimation
int WindowAnimation_wallpaperIntraOpenExitAnimation
When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). The wallpaper remains static behind the animation.
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 wallpaperIntraOpenExitAnimation.
Constant Value: 21 (0x00000015)
WindowAnimation_wallpaperOpenEnterAnimation
int WindowAnimation_wallpaperOpenEnterAnimation
When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the new wallpaper activity (which is entering the screen).
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 wallpaperOpenEnterAnimation.
Constant Value: 16 (0x00000010)
WindowAnimation_wallpaperOpenExitAnimation
int WindowAnimation_wallpaperOpenExitAnimation
When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).
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 wallpaperOpenExitAnimation.
Constant Value: 17 (0x00000011)
WindowAnimation_windowEnterAnimation
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)
WindowAnimation_windowExitAnimation
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)
WindowAnimation_windowHideAnimation
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)
WindowAnimation_windowShowAnimation
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)
Window_backgroundDimAmount
int Window_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: 0 (0x00000000)
Window_backgroundDimEnabled
int Window_backgroundDimEnabled
Control whether dimming behind the window is enabled. The default theme does not set this value, meaning it is based on whether the window is floating.
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 backgroundDimEnabled.
Constant Value: 11 (0x0000000b)
Window_navigationBarColor
int Window_navigationBarColor
The color for the navigation bar. If the color is not opaque, consider setting
SYSTEM_UI_FLAG_LAYOUT_STABLE and
SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION.
For this to take effect, the window must be drawing the system bar backgrounds with
windowDrawsSystemBarBackgrounds and the navigation bar must not
have been requested to be translucent with
windowTranslucentNavigation.
Corresponds to setNavigationBarColor(int).
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 navigationBarColor.
Constant Value: 36 (0x00000024)
Window_statusBarColor
int Window_statusBarColor
The color for the status bar. If the color is not opaque, consider setting
SYSTEM_UI_FLAG_LAYOUT_STABLE and
SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN.
For this to take effect, the window must be drawing the system bar backgrounds with
windowDrawsSystemBarBackgrounds and the status bar must not
have been requested to be translucent with
windowTranslucentStatus.
Corresponds to setStatusBarColor(int).
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 statusBarColor.
Constant Value: 35 (0x00000023)
Window_textColor
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: 7 (0x00000007)
Window_windowActionBar
int Window_windowActionBar
Flag indicating whether this window should have an Action Bar in place of the usual title bar.
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 windowActionBar.
Constant Value: 15 (0x0000000f)
Window_windowActionBarOverlay
int Window_windowActionBarOverlay
Flag indicating whether this window's Action Bar should overlay application content. Does nothing if the window would not have an Action Bar.
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 windowActionBarOverlay.
Constant Value: 17 (0x00000011)
Window_windowActionModeOverlay
int Window_windowActionModeOverlay
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
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 windowActionModeOverlay.
Constant Value: 16 (0x00000010)
Window_windowActivityTransitions
int Window_windowActivityTransitions
Flag indicating whether this window allows Activity Transitions.
Corresponds to FEATURE_ACTIVITY_TRANSITIONS.
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 windowActivityTransitions.
Constant Value: 45 (0x0000002d)
Window_windowAllowEnterTransitionOverlap
int Window_windowAllowEnterTransitionOverlap
Flag indicating whether this Window's transition should overlap with
the exiting transition of the calling Activity. Corresponds to
setAllowEnterTransitionOverlap(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 windowAllowEnterTransitionOverlap.
Constant Value: 33 (0x00000021)
Window_windowAllowReturnTransitionOverlap
int Window_windowAllowReturnTransitionOverlap
Flag indicating whether this Window's transition should overlap with
the exiting transition of the called Activity when the called Activity
finishes. Corresponds to
setAllowReturnTransitionOverlap(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 windowAllowReturnTransitionOverlap.
Constant Value: 32 (0x00000020)
Window_windowAnimationStyle
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: 8 (0x00000008)
Window_windowBackground
int Window_windowBackground
Drawable to use as the overall window background. As of
HONEYCOMB, this may
be a selector that uses state_accelerated to pick a non-solid
color when running on devices that can draw such a bitmap
with complex compositing on top at 60fps.
There are a few special considerations to use when setting this drawable:
- This information will be used to infer the pixel format for your window's surface. If the drawable has any non-opaque pixels, your window will be translucent (32 bpp).
- If you want to draw the entire background yourself, you should set this drawable to some solid color that closely matches that background (so the system's preview of your window will match), and then in code manually set your window's background to null so it will not be drawn.
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: 1 (0x00000001)
Window_windowBackgroundFallback
int Window_windowBackgroundFallback
Drawable to draw selectively within the inset areas when the windowBackground
has been set to null. This protects against seeing visual garbage in the
surface when the app has not drawn any content into this area. One example is
when the user is resizing a window of an activity that has
resizeableActivity set for multi-window 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 windowBackgroundFallback.
Constant Value: 47 (0x0000002f)
Window_windowClipToOutline
int Window_windowClipToOutline
Whether to clip window content to the outline of the window background.
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 windowClipToOutline.
Constant Value: 39 (0x00000027)
Window_windowCloseOnTouchOutside
int Window_windowCloseOnTouchOutside
Control whether a container should automatically close itself if the user touches outside of it. This only applies to activities and dialogs.
Note: this attribute will only be respected for applications
that are targeting HONEYCOMB
or later.
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 windowCloseOnTouchOutside.
Constant Value: 21 (0x00000015)
Window_windowContentOverlay
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: 6 (0x00000006)
Window_windowContentTransitionManager
int Window_windowContentTransitionManager
Reference to a TransitionManager XML resource defining the desired transitions between different window 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 corresponds to the global attribute
resource symbol windowContentTransitionManager.
Constant Value: 27 (0x0000001b)
Window_windowContentTransitions
int Window_windowContentTransitions
Flag indicating whether this window requests that content changes be performed
as scene changes with transitions. Corresponds to
FEATURE_CONTENT_TRANSITIONS.
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 windowContentTransitions.
Constant Value: 26 (0x0000001a)
Window_windowDisablePreview
int Window_windowDisablePreview
Flag allowing you to disable the preview animation for a window. The default value is false; if set to true, the system can never use the window's theme to show a preview of it before your actual instance is shown to 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 windowDisablePreview.
Constant Value: 12 (0x0000000c)
Window_windowDrawsSystemBarBackgrounds
int Window_windowDrawsSystemBarBackgrounds
Flag indicating whether this Window is responsible for drawing the background for the
system bars. If true and the window is not floating, the system bars are drawn with a
transparent background and the corresponding areas in this window are filled with the
colors specified in statusBarColor and
navigationBarColor. Corresponds to
FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS.
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 windowDrawsSystemBarBackgrounds.
Constant Value: 34 (0x00000022)
Window_windowElevation
int Window_windowElevation
Elevation to use for the window.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol windowElevation.
Constant Value: 38 (0x00000026)
Window_windowEnableSplitTouch
int Window_windowEnableSplitTouch
Flag indicating that this window should allow touches to be split across other windows that also support split touch. The default value is true for applications with a targetSdkVersion of Honeycomb or newer; false otherwise. When this flag is false, the first pointer that goes down determines the window to which all subsequent touches go until all pointers go up. When this flag is true, each pointer (not necessarily the first) that goes down determines the window to which all subsequent touches of that pointer will go until that pointers go up thereby enabling touches with multiple pointers to be split across multiple windows.
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 windowEnableSplitTouch.
Constant Value: 18 (0x00000012)
Window_windowEnterTransition
int Window_windowEnterTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views into the initial Window's content Scene. Corresponds to
setEnterTransition(android.transition.Transition).
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 windowEnterTransition.
Constant Value: 28 (0x0000001c)
Window_windowExitTransition
int Window_windowExitTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views out of the Window's content Scene when launching a new Activity.
Corresponds to
setExitTransition(android.transition.Transition).
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 windowExitTransition.
Constant Value: 29 (0x0000001d)
Window_windowFrame
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: 2 (0x00000002)
Window_windowFullscreen
int Window_windowFullscreen
Flag indicating whether this window should fill the entire screen. Corresponds
to FLAG_FULLSCREEN.
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: 9 (0x00000009)
Window_windowIsFloating
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: 4 (0x00000004)
Window_windowIsTranslucent
int Window_windowIsTranslucent
Flag indicating whether this is a translucent window. If this attribute is unset (but not if set to false), the window might still be considered translucent, if windowSwipeToDismiss is set to true.
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: 5 (0x00000005)
Window_windowLightStatusBar
int Window_windowLightStatusBar
If set, the status bar will be drawn such that it is compatible with a light status bar background.
For this to take effect, the window must be drawing the system bar backgrounds with
windowDrawsSystemBarBackgrounds and the status bar must not
have been requested to be translucent with
windowTranslucentStatus.
Corresponds to setting SYSTEM_UI_FLAG_LIGHT_STATUS_BAR on
the decor view.
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 windowLightStatusBar.
Constant Value: 46 (0x0000002e)
Window_windowMinWidthMajor
int Window_windowMinWidthMajor
The minimum width the window is allowed to be, along the major axis of the screen. That is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol windowMinWidthMajor.
Constant Value: 19 (0x00000013)
Window_windowMinWidthMinor
int Window_windowMinWidthMinor
The minimum width the window is allowed to be, along the minor axis of the screen. That is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol windowMinWidthMinor.
Constant Value: 20 (0x00000014)
Window_windowNoDisplay
int Window_windowNoDisplay
Flag indicating that this window should not be displayed at all. The default value is false; if set to true, and this window is the main window of an Activity, then it will never actually be added to the window manager. This means that your activity must immediately quit without waiting for user interaction, because there will be no such interaction coming.
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 windowNoDisplay.
Constant Value: 10 (0x0000000a)
Window_windowNoTitle
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: 3 (0x00000003)
Window_windowOverscan
int Window_windowOverscan
Flag indicating whether this window should extend into overscan region. Corresponds
to FLAG_LAYOUT_IN_OVERSCAN.
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 windowOverscan.
Constant Value: 22 (0x00000016)
Window_windowReenterTransition
int Window_windowReenterTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views in to the scene when returning from a previously-started Activity.
Corresponds to
setReenterTransition(android.transition.Transition).
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 windowReenterTransition.
Constant Value: 41 (0x00000029)
Window_windowReturnTransition
int Window_windowReturnTransition
Reference to a Transition XML resource defining the desired Transition
used to move Views out of the scene when the Window is
preparing to close. Corresponds to
setReturnTransition(android.transition.Transition).
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 windowReturnTransition.
Constant Value: 40 (0x00000028)
Window_windowSharedElementEnterTransition
int Window_windowSharedElementEnterTransition
Reference to a Transition XML resource defining the desired Transition
used to move shared elements transferred into the Window's initial content Scene.
Corresponds to setSharedElementEnterTransition(android.transition.Transition).
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 windowSharedElementEnterTransition.
Constant Value: 30 (0x0000001e)
Window_windowSharedElementExitTransition
int Window_windowSharedElementExitTransition
Reference to a Transition XML resource defining the desired Transition
used when starting a new Activity to move shared elements prior to transferring
to the called Activity.
Corresponds to setSharedElementExitTransition(android.transition.Transition).
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 windowSharedElementExitTransition.
Constant Value: 31 (0x0000001f)
Window_windowSharedElementReenterTransition
int Window_windowSharedElementReenterTransition
Reference to a Transition XML resource defining the desired Transition
used for shared elements transferred back to a calling Activity.
Corresponds to setSharedElementReenterTransition(android.transition.Transition).
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 windowSharedElementReenterTransition.
Constant Value: 43 (0x0000002b)
Window_windowSharedElementReturnTransition
int Window_windowSharedElementReturnTransition
Reference to a Transition XML resource defining the desired Transition
used to move shared elements transferred back to a calling Activity.
Corresponds to setSharedElementReturnTransition(android.transition.Transition).
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 windowSharedElementReturnTransition.
Constant Value: 42 (0x0000002a)
Window_windowSharedElementsUseOverlay
int Window_windowSharedElementsUseOverlay
Indicates whether or not shared elements should use an overlay during transitions. 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 windowSharedElementsUseOverlay.
Constant Value: 44 (0x0000002c)
Window_windowShowWallpaper
int Window_windowShowWallpaper
Flag indicating that this window's background should be the
user's current wallpaper. Corresponds
to FLAG_SHOW_WALLPAPER.
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 windowShowWallpaper.
Constant Value: 14 (0x0000000e)
Window_windowSoftInputMode
int Window_windowSoftInputMode
Defines the default soft input state that this window would
like when it is displayed. Corresponds
to softInputMode.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description |
|---|---|---|
stateUnspecified | 0 | Not specified, use what the system thinks is best. This is the default. |
stateUnchanged | 1 | Leave the soft input window as-is, in whatever state it last was. |
stateHidden | 2 | Make the soft input area hidden when normally appropriate (when the user is navigating forward to your window). |
stateAlwaysHidden | 3 | Always make the soft input area hidden when this window has input focus. |
stateVisible | 4 | Make the soft input area visible when normally appropriate (when the user is navigating forward to your window). |
stateAlwaysVisible | 5 | Always make the soft input area visible when this window has input focus. |
adjustUnspecified | 0x00 | The window resize/pan adjustment has not been specified, the system will automatically select between resize and pan modes, depending on whether the content of the window has any layout views that can scroll their contents. If there is such a view, then the window will be resized, with the assumption being that the resizeable area can be reduced to make room for the input UI. |
adjustResize | 0x10 | Always resize the window: the content area of the window is reduced to make room for the soft input area. |
adjustPan | 0x20 | Don't resize the window to make room for the soft input area; instead pan the contents of the window as focus moves inside of it so that the user can see what they are typing. This is generally less desireable than panning because the user may need to close the input area to get at and interact with parts of the window. |
adjustNothing | 0x30 | Don't resize or pan the window to make room for the soft input area; the window is never adjusted for it. |
This corresponds to the global attribute
resource symbol windowSoftInputMode.
Constant Value: 13 (0x0000000d)
Window_windowSwipeToDismiss
int Window_windowSwipeToDismiss
Flag to indicate that a window can be swiped away to be dismissed.
Corresponds to FEATURE_SWIPE_TO_DISMISS. It will also
dynamically change translucency of the window, if the windowIsTranslucent is not set.
If windowIsTranslucent is set (to either true or false) it will obey that setting.
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 windowSwipeToDismiss.
Constant Value: 25 (0x00000019)
Window_windowTransitionBackgroundFadeDuration
int Window_windowTransitionBackgroundFadeDuration
The duration, in milliseconds, of the window background fade duration
when transitioning into or away from an Activity when called with an
Activity Transition. Corresponds to
setTransitionBackgroundFadeDuration(long).
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 windowTransitionBackgroundFadeDuration.
Constant Value: 37 (0x00000025)
Window_windowTranslucentNavigation
int Window_windowTranslucentNavigation
Flag indicating whether this window requests a translucent navigation bar. Corresponds
to FLAG_TRANSLUCENT_NAVIGATION.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This corresponds to the global attribute
resource symbol windowTranslucentNavigation.
Constant Value: 24 (0x00000018)
Window_windowTranslucentStatus
int Window_windowTranslucentStatus
Flag indicating whether this window requests a translucent status bar. Corresponds
to FLAG_TRANSLUCENT_STATUS.
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 windowTranslucentStatus.
Constant Value: 23 (0x00000017)
Fields
AbsListView
int[] AbsListView
Attributes that can be used with a AbsListView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Indicates that this list will always be drawn on top of solid, single-color opaque background. |
| Defines the choice behavior for the view. |
| When set to true, the selector will be drawn over the selected item. |
| When set to true, the list will always show the fast scroll interface. |
| Enables the fast scroll thumb that can be dragged to quickly scroll through the list. |
| Specifies the style of the fast scroll decorations. |
| Drawable used to indicate the currently selected item in the list. |
| When set to true, the list uses a drawing cache during scrolling. |
| When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen. |
| Used by ListView and GridView to stack their content from the bottom. |
| When set to true, the list will filter results as the user types. |
| Sets the transcript mode for the list. |
See also:
AbsListView_cacheColorHintAbsListView_choiceModeAbsListView_drawSelectorOnTopAbsListView_fastScrollAlwaysVisibleAbsListView_fastScrollEnabledAbsListView_fastScrollStyleAbsListView_listSelectorAbsListView_scrollingCacheAbsListView_smoothScrollbarAbsListView_stackFromBottomAbsListView_textFilterEnabledAbsListView_transcriptMode
AbsSpinner
int[] AbsSpinner
Attributes that can be used with a AbsSpinner.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to an array resource that will populate the Spinner. |
See also:
AbsoluteLayout_Layout
int[] AbsoluteLayout_Layout
Attributes that can be used with a AbsoluteLayout_Layout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
|
AccelerateInterpolator
int[] AccelerateInterpolator
Attributes that can be used with a AccelerateInterpolator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| This is the amount of deceleration to add when easing in. |
See also:
AccessibilityService
int[] AccessibilityService
Use accessibility-service as the root tag of the XML resource that
describes an AccessibilityService service,
which is referenced from its
SERVICE_META_DATA
meta-data entry.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The event types this serivce would like to receive as specified in
AccessibilityEvent. |
| The feedback types this serivce provides as specified in
AccessibilityServiceInfo. |
| Additional flags as specified in
AccessibilityServiceInfo. |
| Attribute whether the accessibility service wants to be able to control display magnification. |
| Attribute whether the accessibility service wants to be able to perform gestures. |
| Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements. |
| Attribute whether the accessibility service wants to be able to request to filter key events. |
| Attribute whether the accessibility service wants to be able to request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures. |
| Attribute whether the accessibility service wants to be able to retrieve the active window content. |
| Short description of the accessibility service purpose or behavior. |
| The minimal period in milliseconds between two accessibility events of the same type are sent to this serivce. |
| Comma separated package names from which this serivce would like to receive events (leave out for all packages). |
| Component name of an activity that allows the user to modify the settings for this service. |
See also:
AccessibilityService_accessibilityEventTypesAccessibilityService_accessibilityFeedbackTypeAccessibilityService_accessibilityFlagsAccessibilityService_canControlMagnificationAccessibilityService_canPerformGesturesAccessibilityService_canRequestEnhancedWebAccessibilityAccessibilityService_canRequestFilterKeyEventsAccessibilityService_canRequestTouchExplorationModeAccessibilityService_canRetrieveWindowContentAccessibilityService_descriptionAccessibilityService_notificationTimeoutAccessibilityService_packageNamesAccessibilityService_settingsActivity
AccountAuthenticator
int[] AccountAuthenticator
Use account-authenticator as the root tag of the XML resource that
describes an account authenticator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A preferences. |
| The account type this authenticator handles. |
| Account handles its own token storage and permissions. |
| The icon of the authenticator. |
| The user-visible name of the authenticator. |
| Smaller icon of the authenticator. |
ActionBar
int[] ActionBar
Attributes used to style the Action Bar.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies a background drawable for the action bar. |
| Specifies a background drawable for the bottom component of a split action bar. |
| Specifies a background drawable for a second stacked row of the action bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when actions from a menu are present. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
| Specifies a layout for custom navigation. |
| Options affecting how the action bar is displayed. |
| Specifies the drawable used for item dividers. |
| Elevation for the action bar itself |
| Specifies a fixed height. |
| Set true to hide the action bar on a vertical nested scroll of content. |
| Up navigation glyph |
| Specifies a layout to use for the "home" section of the action bar. |
| Specifies the drawable used for the application icon. |
| Specifies a style resource to use for an indeterminate progress spinner. |
| Specifies padding that should be applied to the left and right sides of system-provided items in the bar. |
| Specifies the drawable used for the application logo. |
| The type of navigation to use. |
| Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
| Specifies the horizontal padding on either end for an embedded progress bar. |
| Specifies a style resource to use for an embedded progress bar. |
| Specifies subtitle text used for navigationMode="normal" |
| Specifies a style to use for subtitle text. |
| Specifies title text used for navigationMode="normal" |
| Specifies a style to use for title text. |
See also:
ActionBar_backgroundActionBar_backgroundSplitActionBar_backgroundStackedActionBar_contentInsetEndActionBar_contentInsetEndWithActionsActionBar_contentInsetLeftActionBar_contentInsetRightActionBar_contentInsetStartActionBar_contentInsetStartWithNavigationActionBar_customNavigationLayoutActionBar_displayOptionsActionBar_dividerActionBar_elevationActionBar_heightActionBar_hideOnContentScrollActionBar_homeAsUpIndicatorActionBar_homeLayoutActionBar_iconActionBar_indeterminateProgressStyleActionBar_itemPaddingActionBar_logoActionBar_navigationModeActionBar_popupThemeActionBar_progressBarPaddingActionBar_progressBarStyleActionBar_subtitleActionBar_subtitleTextStyleActionBar_titleActionBar_titleTextStyle
ActionBar_LayoutParams
int[] ActionBar_LayoutParams
Attributes that can be used with a ActionBar_LayoutParams.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Standard gravity constant that a child supplies to its parent. |
See also:
ActionMenuItemView
int[] ActionMenuItemView
Attributes that can be used with a ActionMenuItemView.
Includes the following attributes:
| Attribute | Description |
|---|---|
|
See also:
ActionMode
int[] ActionMode
Attributes that can be used with a ActionMode.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies a background for the action mode bar. |
| Specifies a background for the split action mode bar. |
| Specifies a fixed height for the action mode bar. |
| Specifies a style to use for subtitle text. |
| Specifies a style to use for title text. |
ActivityChooserView
int[] ActivityChooserView
Attrbitutes for a ActvityChooserView.
Includes the following attributes:
| Attribute | Description |
|---|
AdapterViewAnimator
int[] AdapterViewAnimator
Attributes that can be used with a AdapterViewAnimator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines whether to animate the current View when the ViewAnimation is first displayed. |
| Identifier for the animation to use when a view is shown. |
| Defines whether the animator loops to the first view once it has reached the end of the list. |
| Identifier for the animation to use when a view is hidden. |
AdapterViewFlipper
int[] AdapterViewFlipper
Attributes that can be used with a AdapterViewFlipper.
Includes the following attributes:
| Attribute | Description |
|---|---|
| When true, automatically start animating |
|
AidFilter
int[] AidFilter
Specify one or more aid-filter elements inside a
aid-group element to specify an ISO7816 Application ID (AID)
your service can handle.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The ISO7816 Application ID. |
See also:
AidGroup
int[] AidGroup
Specify one or more aid-group elements inside a
host-apdu-service or offhost-apdu-service
element to define a group of ISO7816 Application ID (AIDs) that
your service can handle.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly. |
| Short description of what the AID group implements. |
See also:
AidPrefixFilter
int[] AidPrefixFilter
Specify one or more aid-prefix-filter elements inside a
aid-group element to specify an ISO7816 Application ID (AID)
prefix your service can handle.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The ISO7816 Application ID. |
See also:
AlertDialog
int[] AlertDialog
The set of attributes that describe a AlertDialog's theme.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
| |
|
AlphaAnimation
int[] AlphaAnimation
Attributes that can be used with a AlphaAnimation.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
|
AnalogClock
int[] AnalogClock
Attributes that can be used with a AnalogClock.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
| |
|
AndroidManifest
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,
uses-configuration,
application,
instrumentation,
uses-feature.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The default install location defined by an application. |
| Internal revision code. |
| Specify the name of a user ID that will be shared between multiple packages. |
| Specify a label for the shared user UID of this package. |
| Internal version code. |
| The text shown to the user to indicate the version they have. |
AndroidManifestAction
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:
| Attribute | Description |
|---|---|
| The name of an action that is handled, using the Java-style naming convention. |
See also:
AndroidManifestActivity
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:
| Attribute | Description |
|---|---|
| Indicate that the activity can be launched as the embedded child of another activity. |
| Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. |
| 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. |
| Tasks launched by activities with this attribute will remain in the recent tasks list until the last activity in the task is completed. |
| A Drawable resource providing an extended graphical banner for its associated item. |
| Specify whether an activity's task should be cleared when it is re-launched from the home screen. |
| Specify one or more configuration changes that the activity will handle itself. |
| Descriptive text for the associated data. |
| Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
| This attribute specifies that an activity shall become the root activity of a new task each time it is launched. |
| Flag declaring that this activity will be run in VR mode, and specifying
the component of the VrListenerService that should be
bound while this Activity is visible if it is installed and enabled on this device. |
| Specify whether the activity is enabled or not (that is, can be instantiated by the system). |
| Indicates that an Activity should be excluded from the list of recently launched activities. |
| Flag indicating whether the given application component is available to other applications. |
| Specify whether an activity should be finished when a "close system windows" request has been made. |
| Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen. |
| Flag indicating whether the application's rendering should be hardware accelerated if possible. |
| A Drawable resource providing a graphical representation of its associated item. |
| Flag declaring this activity to be 'immersive'; immersive activities should not be interrupted with other activities or notifications. |
| A user-legible name for the given item. |
| Specify how an activity should be launched. |
| This value indicates how tasks rooted at this activity will behave in lockTask mode. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| The maximum number of entries of tasks rooted at this activity in the recent task list. |
| Specify whether a component is allowed to have multiple instances of itself running in different processes. |
| Required name of the class implementing the activity, deriving from
Activity. |
| Specify whether an activity should be kept in its history stack. |
| The name of the logical parent of the activity as it appears in the manifest. |
| Specify a permission that a client is required to have in order to use the associated object. |
| Define how an activity persist across reboots. |
| Specify a specific process that the associated code is to run in. |
| Tasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task. |
| Indicates that it is okay for this activity to be resized to any dimension. |
| Indicate that it is okay for this activity be resumed while the previous activity is in the process of pausing, without waiting for the previous pause to complete. |
| A Drawable resource providing a graphical representation of its associated item. |
| Specify the orientation an activity should be run in. |
| Specify that an Activity should be shown even if the current/foreground user is different from the user of the Activity. |
| @deprecated use showForAllUsers instead. |
| If set to true, a single instance of this component will run for all users. |
| Indicates that an Activity does not need to have its freeze state
(as returned by onSaveInstanceState(Bundle)
retained in order to be restarted. |
| Indicates that the activity supports the picture-in-picture (PiP) form of multi-window. |
| Specify a task name that activities have an "affinity" to. |
| The overall theme to use for an activity. |
| Extra options for an activity's UI. |
| Specify the default soft-input mode for the main window of this activity. |
See also:
AndroidManifestActivity_allowEmbeddedAndroidManifestActivity_allowTaskReparentingAndroidManifestActivity_alwaysRetainTaskStateAndroidManifestActivity_autoRemoveFromRecentsAndroidManifestActivity_bannerAndroidManifestActivity_clearTaskOnLaunchAndroidManifestActivity_configChangesAndroidManifestActivity_descriptionAndroidManifestActivity_directBootAwareAndroidManifestActivity_documentLaunchModeAndroidManifestActivity_enableVrModeAndroidManifestActivity_enabledAndroidManifestActivity_excludeFromRecentsAndroidManifestActivity_exportedAndroidManifestActivity_finishOnCloseSystemDialogsAndroidManifestActivity_finishOnTaskLaunchAndroidManifestActivity_hardwareAcceleratedAndroidManifestActivity_iconAndroidManifestActivity_immersiveAndroidManifestActivity_labelAndroidManifestActivity_launchModeAndroidManifestActivity_lockTaskModeAndroidManifestActivity_logoAndroidManifestActivity_maxRecentsAndroidManifestActivity_multiprocessAndroidManifestActivity_nameAndroidManifestActivity_noHistoryAndroidManifestActivity_parentActivityNameAndroidManifestActivity_permissionAndroidManifestActivity_persistableModeAndroidManifestActivity_processAndroidManifestActivity_relinquishTaskIdentityAndroidManifestActivity_resizeableActivityAndroidManifestActivity_resumeWhilePausingAndroidManifestActivity_roundIconAndroidManifestActivity_screenOrientationAndroidManifestActivity_showForAllUsersAndroidManifestActivity_showOnLockScreenAndroidManifestActivity_singleUserAndroidManifestActivity_stateNotNeededAndroidManifestActivity_supportsPictureInPictureAndroidManifestActivity_taskAffinityAndroidManifestActivity_themeAndroidManifestActivity_uiOptionsAndroidManifestActivity_windowSoftInputMode
AndroidManifestActivityAlias
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:
| Attribute | Description |
|---|---|
| A Drawable resource providing an extended graphical banner for its associated item. |
| Descriptive text for the associated data. |
| Specify whether the activity-alias is enabled or not (that is, can be instantiated by the system). |
| Flag indicating whether the given application component is available to other applications. |
| A Drawable resource providing a graphical representation of its associated item. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Required name of the class implementing the activity, deriving from
Activity. |
| The name of the logical parent of the activity as it appears in the manifest. |
| Specify a permission that a client is required to have in order to use the associated object. |
| A Drawable resource providing a graphical representation of its associated item. |
| The name of the activity this alias should launch. |
See also:
AndroidManifestActivityAlias_bannerAndroidManifestActivityAlias_descriptionAndroidManifestActivityAlias_enabledAndroidManifestActivityAlias_exportedAndroidManifestActivityAlias_iconAndroidManifestActivityAlias_labelAndroidManifestActivityAlias_logoAndroidManifestActivityAlias_nameAndroidManifestActivityAlias_parentActivityNameAndroidManifestActivityAlias_permissionAndroidManifestActivityAlias_roundIconAndroidManifestActivityAlias_targetActivity
AndroidManifestApplication
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 in
an application's manifest file.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether to allow the application to participate in the backup and restore infrastructure. |
| Option to let applications specify that user data can/cannot be cleared. |
| Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. |
| The name of the class subclassing BackupAgent to manage
backup and restore of the application's data on external storage. |
| Indicates that full-data backup operations for this application may be performed even if the application is in a foreground-equivalent state. |
| A Drawable resource providing an extended graphical banner for its associated item. |
| Flag indicating whether the application can be debugged, even when running on a device that is running in user mode. |
| |
| Descriptive text for the associated data. |
| Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
| Specify whether the components in this application are enabled or not (that is, can be instantiated by the system). |
| When set installer will extract native libraries. |
| Applications will set this in their manifest to opt-in to or out of full app data back-up and restore. |
| Indicates that even though the application provides a BackupAgent,
only full-data streaming backup operations are to be performed to save the app's
data. |
| Flag indicating whether the application's rendering should be hardware accelerated if possible. |
| Indicate whether this application contains code. |
| A Drawable resource providing a graphical representation of its associated item. |
| A boolean flag used to indicate if an application is a Game or not. |
| Whether the application in question should be terminated after its settings have been restored during a full-system restore operation. |
| A user-legible name for the given item. |
| Request that your application's processes be created with a large Dalvik heap. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Name of activity to be launched for managing the application's space on the device. |
| Declare that code from this application will need to be loaded into other applications' processes. |
| The (optional) fully-qualified name for a subclass of
Application that the system instantiates before
any other class when an app's process starts. |
| An XML resource with the application's Network Security Config. |
| Specify a permission that a client is required to have in order to use the associated object. |
| Flag to control special persistent mode of an application. |
| Specify a specific process that the associated code is to run in. |
| Declare that this application requires an account of a certain type. |
| Flag to specify if this application needs to be present for all users. |
| Indicates that it is okay for this activity to be resized to any dimension. |
| Indicate that the application is prepared to attempt a restore of any backed-up dataset, even if the backup is apparently from a newer version of the application than is currently installed on the device. |
| @deprecated This attribute is not used by the Android operating system. |
| Declare that this application requires access to restricted accounts of a certain type. |
| A Drawable resource providing a graphical representation of its associated item. |
| Declare that your application will be able to deal with RTL (right to left) layouts. |
| Specify a task name that activities have an "affinity" to. |
| Option to indicate this application is only for testing purposes. |
| The overall theme to use for an activity. |
| Extra options for an activity's UI. |
| Declare that this application may use cleartext traffic, such as HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, STMP without STARTTLS or TLS). |
| Flag indicating whether the application requests the VM to operate in the safe mode. |
See also:
AndroidManifestApplication_allowBackupAndroidManifestApplication_allowClearUserDataAndroidManifestApplication_allowTaskReparentingAndroidManifestApplication_backupAgentAndroidManifestApplication_backupInForegroundAndroidManifestApplication_bannerAndroidManifestApplication_debuggableAndroidManifestApplication_defaultToDeviceProtectedStorageAndroidManifestApplication_descriptionAndroidManifestApplication_directBootAwareAndroidManifestApplication_enabledAndroidManifestApplication_extractNativeLibsAndroidManifestApplication_fullBackupContentAndroidManifestApplication_fullBackupOnlyAndroidManifestApplication_hardwareAcceleratedAndroidManifestApplication_hasCodeAndroidManifestApplication_iconAndroidManifestApplication_isGameAndroidManifestApplication_killAfterRestoreAndroidManifestApplication_labelAndroidManifestApplication_largeHeapAndroidManifestApplication_logoAndroidManifestApplication_manageSpaceActivityAndroidManifestApplication_multiArchAndroidManifestApplication_nameAndroidManifestApplication_networkSecurityConfigAndroidManifestApplication_permissionAndroidManifestApplication_persistentAndroidManifestApplication_processAndroidManifestApplication_requiredAccountTypeAndroidManifestApplication_requiredForAllUsersAndroidManifestApplication_resizeableActivityAndroidManifestApplication_restoreAnyVersionAndroidManifestApplication_restoreNeedsApplicationAndroidManifestApplication_restrictedAccountTypeAndroidManifestApplication_roundIconAndroidManifestApplication_supportsRtlAndroidManifestApplication_taskAffinityAndroidManifestApplication_testOnlyAndroidManifestApplication_themeAndroidManifestApplication_uiOptionsAndroidManifestApplication_usesCleartextTrafficAndroidManifestApplication_vmSafeMode
AndroidManifestCategory
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:
| Attribute | Description |
|---|---|
| The name of category that is handled, using the Java-style naming convention. |
See also:
AndroidManifestCompatibleScreensScreen
int[] AndroidManifestCompatibleScreensScreen
Attributes that can be supplied in an AndroidManifest.xml
screen tag, a child of compatible-screens,
which is itself a child of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies a compatible screen density, as per the device configuration screen density bins. |
| Specifies a compatible screen size, as per the device configuration screen size bins. |
AndroidManifestData
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:
| Attribute | Description |
|---|---|
| Specify a URI authority host that is handled, as per
IntentFilter.addDataAuthority(). |
| Specify a MIME type that is handled, as per
IntentFilter.addDataType(). |
| Specify a URI path that must exactly match, as per
IntentFilter.addDataPath() with
PATTERN_LITERAL. |
| Specify a URI path that matches a simple pattern, as per
IntentFilter.addDataPath() with
PATTERN_SIMPLE_GLOB. |
| Specify a URI path that must be a prefix to match, as per
IntentFilter.addDataPath() with
PATTERN_PREFIX. |
| Specify a URI authority port that is handled, as per
IntentFilter.addDataAuthority(). |
| Specify a URI scheme that is handled, as per
IntentFilter.addDataScheme(). |
| Specify a URI scheme specific part that must exactly match, as per
IntentFilter.addDataSchemeSpecificPart() with
PATTERN_LITERAL. |
| Specify a URI scheme specific part that matches a simple pattern, as per
IntentFilter.addDataSchemeSpecificPart() with
PATTERN_SIMPLE_GLOB. |
| Specify a URI scheme specific part that must be a prefix to match, as per
IntentFilter.addDataSchemeSpecificPart() with
PATTERN_PREFIX. |
AndroidManifestFeatureGroup
int[] AndroidManifestFeatureGroup
The feature-group tag specifies
a set of one or more uses-feature elements that
the application can utilize. An application uses multiple
feature-group sets to indicate that it can support
different combinations of features.
This appears as a child tag of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The human-readable name of the feature group. |
See also:
AndroidManifestGrantUriPermission
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:
| Attribute | Description |
|---|---|
| Specify a URI path that must exactly match, as per
PatternMatcher with
PATTERN_LITERAL. |
| Specify a URI path that matches a simple pattern, as per
PatternMatcher with
PATTERN_SIMPLE_GLOB. |
| Specify a URI path that must be a prefix to match, as per
PatternMatcher with
PATTERN_PREFIX. |
AndroidManifestInstrumentation
int[] AndroidManifestInstrumentation
Attributes that can be supplied in an AndroidManifest.xml
instrumentation tag, a child of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A Drawable resource providing an extended graphical banner for its associated item. |
| Flag indicating that an Instrumentation class should be run as a functional test. |
| 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. |
| A Drawable resource providing a graphical representation of its associated item. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Required name of the class implementing the instrumentation, deriving from
Instrumentation. |
| A Drawable resource providing a graphical representation of its associated item. |
| The name of the application package that an Instrumentation object will run against. |
See also:
AndroidManifestInstrumentation_bannerAndroidManifestInstrumentation_functionalTestAndroidManifestInstrumentation_handleProfilingAndroidManifestInstrumentation_iconAndroidManifestInstrumentation_labelAndroidManifestInstrumentation_logoAndroidManifestInstrumentation_nameAndroidManifestInstrumentation_roundIconAndroidManifestInstrumentation_targetPackage
AndroidManifestIntentFilter
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:
| Attribute | Description |
|---|---|
| Specify whether an activity intent filter will need to be verified thru its set of data URIs. |
| A Drawable resource providing an extended graphical banner for its associated item. |
| A Drawable resource providing a graphical representation of its associated item. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Specify the relative importance or ability in handling a particular Intent. |
| A Drawable resource providing a graphical representation of its associated item. |
AndroidManifestKeySet
int[] AndroidManifestKeySet
Attributes that can be used with a AndroidManifestKeySet.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A unique name for the given item. |
See also:
AndroidManifestLayout
int[] AndroidManifestLayout
layout tag allows configuring the layout for the activity within multi-window
environment.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Default height of the activity. |
| Default width of the activity. |
| Where to initially position the activity inside the available space. |
| Minimal height of the activity. |
| Minimal width of the activity. |
AndroidManifestLibrary
int[] AndroidManifestLibrary
The library tag declares that this apk is providing itself
as a shared library for other applications to use. It can only be used
with apks that are built in to the system image. Other apks can link to
it with the uses-library tag.
This appears as a child tag of the
application tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Required public name of the library, which other components and packages will use when referring to this library. |
See also:
AndroidManifestMetaData
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:
| Attribute | Description |
|---|---|
| A unique name for the given item. |
| Resource identifier to assign to this piece of named meta-data. |
| Concrete value to assign to this piece of named meta-data. |
AndroidManifestOriginalPackage
int[] AndroidManifestOriginalPackage
Private tag to declare the original package name that this package is based on. Only used for packages installed in the system image. If given, and different than the actual package name, and the given original package was previously installed on the device but the new one was not, then the data for the old one will be renamed to be for the new package.
This appears as a child tag of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A unique name for the given item. |
See also:
AndroidManifestPackageVerifier
int[] AndroidManifestPackageVerifier
Attributes relating to a package verifier.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies the Java-style package name that defines this package verifier. |
| The Base64 encoded public key of the package verifier's signature. |
AndroidManifestPathPermission
int[] AndroidManifestPathPermission
Attributes that can be supplied in an AndroidManifest.xml
path-permission tag, a child of the
provider tag, describing a permission
that allows access to a specific path in the provider. This tag can be
specified multiple time to supply multiple paths.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specify a URI path that must exactly match, as per
PatternMatcher with
PATTERN_LITERAL. |
| Specify a URI path that matches a simple pattern, as per
PatternMatcher with
PATTERN_SIMPLE_GLOB. |
| Specify a URI path that must be a prefix to match, as per
PatternMatcher with
PATTERN_PREFIX. |
| Specify a permission that a client is required to have in order to use the associated object. |
| A specific permission name for read-only
access to a ContentProvider. |
| A specific permission name for write
access to a ContentProvider. |
AndroidManifestPermission
int[] AndroidManifestPermission
The permission tag declares a security permission that can be
used to control access from other packages to specific components or
features in your package (or other packages). See the
Security and Permissions
document for more information on permissions.
This appears as a child tag of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A Drawable resource providing an extended graphical banner for its associated item. |
| Descriptive text for the associated data. |
| A Drawable resource providing a graphical representation of its associated item. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Required public name of the permission, which other components and packages will use when referring to this permission. |
| Flags indicating more context for a permission. |
| Specified the name of a group that this permission is associated with. |
| Characterizes the potential risk implied in a permission and indicates the procedure the system should follow when determining whether to grant the permission to an application requesting it. |
| A Drawable resource providing a graphical representation of its associated item. |
See also:
AndroidManifestPermission_bannerAndroidManifestPermission_descriptionAndroidManifestPermission_iconAndroidManifestPermission_labelAndroidManifestPermission_logoAndroidManifestPermission_nameAndroidManifestPermission_permissionFlagsAndroidManifestPermission_permissionGroupAndroidManifestPermission_protectionLevelAndroidManifestPermission_roundIcon
AndroidManifestPermissionGroup
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:
| Attribute | Description |
|---|---|
| A Drawable resource providing an extended graphical banner for its associated item. |
| Descriptive text for the associated data. |
| A Drawable resource providing a graphical representation of its associated item. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Required public name of the permission group, permissions will use to specify the group they are in. |
| Flags indicating more context for a permission group. |
| Specify the relative importance or ability in handling a particular Intent. |
| A Drawable resource providing a graphical representation of its associated item. |
See also:
AndroidManifestPermissionGroup_bannerAndroidManifestPermissionGroup_descriptionAndroidManifestPermissionGroup_iconAndroidManifestPermissionGroup_labelAndroidManifestPermissionGroup_logoAndroidManifestPermissionGroup_nameAndroidManifestPermissionGroup_permissionGroupFlagsAndroidManifestPermissionGroup_priorityAndroidManifestPermissionGroup_roundIcon
AndroidManifestPermissionTree
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:
| Attribute | Description |
|---|---|
| A Drawable resource providing an extended graphical banner for its associated item. |
| A Drawable resource providing a graphical representation of its associated item. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Required public name of the permission tree, which is the base name of all permissions under it. |
| A Drawable resource providing a graphical representation of its associated item. |
AndroidManifestProtectedBroadcast
int[] AndroidManifestProtectedBroadcast
Private tag to declare system protected broadcast actions.
This appears as a child tag of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A unique name for the given item. |
See also:
AndroidManifestProvider
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:
| Attribute | Description |
|---|---|
| Specify the authorities under which this content provider can be found. |
| A Drawable resource providing an extended graphical banner for its associated item. |
| Descriptive text for the associated data. |
| Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
| Specify whether this provider is enabled or not (that is, can be instantiated by the system). |
| Flag indicating whether the given application component is available to other applications. |
| 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. |
| A Drawable resource providing a graphical representation of its associated item. |
| Specify the order in which content providers hosted by a process are instantiated when that process is created. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Specify whether a component is allowed to have multiple instances of itself running in different processes. |
| Required name of the class implementing the provider, deriving from
ContentProvider. |
| Specify a permission that a client is required to have in order to use the associated object. |
| Specify a specific process that the associated code is to run in. |
| A specific permission name for read-only
access to a ContentProvider. |
| A Drawable resource providing a graphical representation of its associated item. |
| If set to true, a single instance of this component will run for all users. |
| Flag indicating whether this content provider would like to participate in data synchronization. |
| A specific permission name for write
access to a ContentProvider. |
See also:
AndroidManifestProvider_authoritiesAndroidManifestProvider_bannerAndroidManifestProvider_descriptionAndroidManifestProvider_directBootAwareAndroidManifestProvider_enabledAndroidManifestProvider_exportedAndroidManifestProvider_grantUriPermissionsAndroidManifestProvider_iconAndroidManifestProvider_initOrderAndroidManifestProvider_labelAndroidManifestProvider_logoAndroidManifestProvider_multiprocessAndroidManifestProvider_nameAndroidManifestProvider_permissionAndroidManifestProvider_processAndroidManifestProvider_readPermissionAndroidManifestProvider_roundIconAndroidManifestProvider_singleUserAndroidManifestProvider_syncableAndroidManifestProvider_writePermission
AndroidManifestPublicKey
int[] AndroidManifestPublicKey
Attributes that can be used with a AndroidManifestPublicKey.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A unique name for the given item. |
| Concrete value to assign to this piece of named meta-data. |
AndroidManifestReceiver
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:
| Attribute | Description |
|---|---|
| A Drawable resource providing an extended graphical banner for its associated item. |
| Descriptive text for the associated data. |
| Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
| Specify whether the receiver is enabled or not (that is, can be instantiated by the system). |
| Flag indicating whether the given application component is available to other applications. |
| A Drawable resource providing a graphical representation of its associated item. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Required name of the class implementing the receiver, deriving from
BroadcastReceiver. |
| Specify a permission that a client is required to have in order to use the associated object. |
| Specify a specific process that the associated code is to run in. |
| A Drawable resource providing a graphical representation of its associated item. |
| If set to true, a single instance of this component will run for all users. |
See also:
AndroidManifestReceiver_bannerAndroidManifestReceiver_descriptionAndroidManifestReceiver_directBootAwareAndroidManifestReceiver_enabledAndroidManifestReceiver_exportedAndroidManifestReceiver_iconAndroidManifestReceiver_labelAndroidManifestReceiver_logoAndroidManifestReceiver_nameAndroidManifestReceiver_permissionAndroidManifestReceiver_processAndroidManifestReceiver_roundIconAndroidManifestReceiver_singleUser
AndroidManifestResourceOverlay
int[] AndroidManifestResourceOverlay
Attributes relating to resource overlay packages.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Load order of overlay package. |
| Package name of base package whose resources will be overlaid. |
AndroidManifestService
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:
| Attribute | Description |
|---|---|
| A Drawable resource providing an extended graphical banner for its associated item. |
| Descriptive text for the associated data. |
| Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
| Specify whether the service is enabled or not (that is, can be instantiated by the system). |
| Flag indicating whether the given application component is available to other applications. |
| If the service is an isolatedProcess service, this permits a
client to bind to the service as if it were running it its own package. |
| A Drawable resource providing a graphical representation of its associated item. |
| If set to true, this service will run under a special process that is isolated from the rest of the system. |
| A user-legible name for the given item. |
| A Drawable resource providing an extended graphical logo for its associated item. |
| Required name of the class implementing the service, deriving from
Service. |
| Specify a permission that a client is required to have in order to use the associated object. |
| Specify a specific process that the associated code is to run in. |
| A Drawable resource providing a graphical representation of its associated item. |
| If set to true, a single instance of this component will run for all users. |
| If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application. |
See also:
AndroidManifestService_bannerAndroidManifestService_descriptionAndroidManifestService_directBootAwareAndroidManifestService_enabledAndroidManifestService_exportedAndroidManifestService_externalServiceAndroidManifestService_iconAndroidManifestService_isolatedProcessAndroidManifestService_labelAndroidManifestService_logoAndroidManifestService_nameAndroidManifestService_permissionAndroidManifestService_processAndroidManifestService_roundIconAndroidManifestService_singleUserAndroidManifestService_stopWithTask
AndroidManifestSupportsInputInputType
int[] AndroidManifestSupportsInputInputType
The input-type tag is a child of the supports-input tag, which
is itself a child of the root manifest tag. Each
input-type tag specifices the name of a specific input device type. When
grouped with the other elements of the parent supports-input tag it defines
a collection of input devices, which when all used together, are considered a supported
input mechanism for the application. There may be multiple supports-input
tags defined, each containing a different combination of input device types.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifices the name of the input device type |
AndroidManifestSupportsScreens
int[] AndroidManifestSupportsScreens
The supports-screens specifies the screen dimensions an
application supports. By default a modern application supports all
screen sizes and must explicitly disable certain screen sizes here;
older applications are assumed to only support the traditional normal
(HVGA) screen size. Note that screen size is a separate axis from
density, and is determined as the available pixels to an application
after density scaling has been applied.
This appears as a child tag of the
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Indicates whether the application can accommodate any screen density. |
| Starting with HONEYCOMB_MR2,
this is the new way to specify the largest screens an application is
compatible with. |
| Indicates whether the application supports larger screen form-factors. |
| Starting with HONEYCOMB_MR2,
this is the new way to specify the screens an application is
compatible with. |
| Indicates whether an application supports the normal screen form-factors. |
| Starting with HONEYCOMB_MR2,
this is the new way to specify the minimum screen size an application is
compatible with. |
| Indicates whether the application can resize itself to newer screen sizes. |
| Indicates whether the application supports smaller screen form-factors. |
| Indicates whether the application supports extra large screen form-factors. |
See also:
AndroidManifestSupportsScreens_anyDensityAndroidManifestSupportsScreens_compatibleWidthLimitDpAndroidManifestSupportsScreens_largeScreensAndroidManifestSupportsScreens_largestWidthLimitDpAndroidManifestSupportsScreens_normalScreensAndroidManifestSupportsScreens_requiresSmallestWidthDpAndroidManifestSupportsScreens_resizeableAndroidManifestSupportsScreens_smallScreensAndroidManifestSupportsScreens_xlargeScreens
AndroidManifestUpgradeKeySet
int[] AndroidManifestUpgradeKeySet
Associate declared KeySets with upgrading capability.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A unique name for the given item. |
See also:
AndroidManifestUsesConfiguration
int[] AndroidManifestUsesConfiguration
This field is deprecated.
Use feature-group instead.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Application's requirement for five way navigation |
| Application's requirement for a hard keyboard |
| The input method preferred by an application. |
| The navigation device preferred by an application. |
| The type of touch screen used by an application. |
The uses-configuration tag specifies
a specific hardware configuration value used by the application.
For example an application might specify that it requires
a physical keyboard or a particular navigation method like
trackball. Multiple such attribute values can be specified by the
application.
This appears as a child tag of the root
manifest tag.
AndroidManifestUsesFeature
int[] AndroidManifestUsesFeature
The uses-feature tag specifies a specific device
hardware or software feature used by the application. For
example an application might specify that it requires
a camera. Multiple attribute values can be specified by the
application.
This appears as a child tag of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The GLES driver version number needed by an application. |
| The name of the feature that is being used. |
| Specify whether this feature is required for the application. |
| The version of the feature that is being used. |
AndroidManifestUsesLibrary
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:
| Attribute | Description |
|---|---|
| Required name of the library you use. |
| Specify whether this library is required for the application. |
AndroidManifestUsesPermission
int[] AndroidManifestUsesPermission
The uses-permission tag requests a
<permission> that the containing
package must be granted in order for it to operate correctly. For runtime
permissions, i.e. ones with dangerous protection level, on a
platform that supports runtime permissions, the permission will not be
granted until the app explicitly requests it at runtime and the user approves
the grant. You cannot request at runtime permissions that are not declared
as used in the manifest. See the
Security and Permissions
document for more information on permissions. Also available is a
list of permissions included
with the base platform.
This appears as a child tag of the root
manifest tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Optional: specify the maximum version of the Android OS for which the application wishes to request the permission. |
| 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. |
AndroidManifestUsesSdk
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:
| Attribute | Description |
|---|---|
| This is the maximum SDK version number that an application works on. |
| This is the minimum SDK version number that the application requires. |
| This is the SDK version number that the application is targeting. |
AnimatedRotateDrawable
int[] AnimatedRotateDrawable
Attributes that can be used with a AnimatedRotateDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to use for the frame. |
| |
| |
| Provides initial visibility state of the drawable; the default value is false. |
AnimatedStateListDrawable
int[] AnimatedStateListDrawable
Drawable used to render several states with animated transitions. Each state is represented by a child drawable with an optional keyframe ID.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
| 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. |
| 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). |
| Amount of time (in milliseconds) to fade in a new state drawable. |
| Amount of time (in milliseconds) to fade out an old state drawable. |
| If true, allows the drawable's padding to change based on the current state that is selected. |
| Indicates whether the drawable should be initially visible. |
AnimatedStateListDrawableItem
int[] AnimatedStateListDrawableItem
Transition used to animate between states with keyframe IDs.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to use for the frame. |
| Keyframe identifier for use in specifying transitions. |
AnimatedStateListDrawableTransition
int[] AnimatedStateListDrawableTransition
Transition used to animate between states with keyframe IDs.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a animation drawable resource to use for the frame. |
| Keyframe identifier for the starting state. |
| Whether this transition is reversible. |
| Keyframe identifier for the ending state. |
AnimatedVectorDrawable
int[] AnimatedVectorDrawable
Define the AnimatedVectorDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The static vector drawable. |
See also:
AnimatedVectorDrawableTarget
int[] AnimatedVectorDrawableTarget
Defines the target used in the AnimatedVectorDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The animation for the target path, group or vector drawable |
| The name of the target path, group or vector drawable |
Animation
int[] Animation
Attributes that can be used with a Animation.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Special background behind animation. |
| Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it. |
| Amount of time (in milliseconds) for the animation to run. |
| When set to true, the animation transformation is applied after the animation is over. |
| When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. |
| When set to true, the value of fillBefore is taken into account. |
| Defines the interpolator used to smooth the animation movement in time. |
| Defines how many times the animation should repeat. |
| Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. |
| Delay in milliseconds before the animation runs, once start time is reached. |
| Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation. |
AnimationDrawable
int[] AnimationDrawable
Drawable used to render several animated frames.
Includes the following attributes:
| Attribute | Description |
|---|---|
| If true, the animation will only run a single time and then stop. |
| If true, allows the drawable's padding to change based on the current state that is selected. |
| Provides initial visibility state of the drawable; the default value is false. |
AnimationDrawableItem
int[] AnimationDrawableItem
Represents a single frame inside an AnimationDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to use for the frame. |
| Amount of time (in milliseconds) to display this frame. |
AnimationSet
int[] AnimationSet
Attributes that can be used with a AnimationSet.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Amount of time (in milliseconds) to display this frame. |
| When set to true, the animation transformation is applied after the animation is over. |
| When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. |
| Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. |
| |
| Delay in milliseconds before the animation runs, once start time is reached. |
Animator
int[] Animator
Attributes that can be used with a Animator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Amount of time (in milliseconds) for the animation to run. |
| Defines the interpolator used to smooth the animation movement in time. |
| Defines how many times the animation should repeat. |
| Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. |
| Delay in milliseconds before the animation runs, once start time is reached. |
| Value the animation starts from. |
| Value the animation animates to. |
| The type of valueFrom and valueTo. |
AnimatorSet
int[] AnimatorSet
Attributes that can be used with a AnimatorSet.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Name of the property being animated. |
See also:
AnticipateInterpolator
int[] AnticipateInterpolator
Attributes that can be used with a AnticipateInterpolator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| This is the amount of tension. |
See also:
AnticipateOvershootInterpolator
int[] AnticipateOvershootInterpolator
Attributes that can be used with a AnticipateOvershootInterpolator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| This is the amount by which to multiply the tension. |
| This is the amount of tension. |
AppWidgetProviderInfo
int[] AppWidgetProviderInfo
Use appwidget-provider as the root tag of the XML resource that
describes an AppWidget provider. See android.appwidget
package for more info.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The view id of the AppWidget subview which should be auto-advanced. |
| A class name in the AppWidget's package to be launched to configure. |
| A resource id of a layout. |
| A resource id of a layout. |
| Minimum height of the AppWidget. |
| Minimum height that the AppWidget can be resized to. |
| Minimum width that the AppWidget can be resized to. |
| Minimum width of the AppWidget. |
| A preview of what the AppWidget will look like after it's configured. |
| Optional parameter which indicates if and how this widget can be resized. |
| Update period in milliseconds, or 0 if the AppWidget will update itself. |
| Optional parameter which indicates where this widget can be shown, ie. |
See also:
AppWidgetProviderInfo_autoAdvanceViewIdAppWidgetProviderInfo_configureAppWidgetProviderInfo_initialKeyguardLayoutAppWidgetProviderInfo_initialLayoutAppWidgetProviderInfo_minHeightAppWidgetProviderInfo_minResizeHeightAppWidgetProviderInfo_minResizeWidthAppWidgetProviderInfo_minWidthAppWidgetProviderInfo_previewImageAppWidgetProviderInfo_resizeModeAppWidgetProviderInfo_updatePeriodMillisAppWidgetProviderInfo_widgetCategory
ArcMotion
int[] ArcMotion
Use arcMotion as the root tag of the XML resource that
describes a ArcMotion. This must be used
within a transition with which the PathMotion should be associated.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The maximum arc angle in degrees between the start and end points. |
| The minimum arc angle in degrees between the start and end points when they are close to horizontal. |
| The minimum arc angle in degrees between the start and end points when they are close to vertical. |
AutoCompleteTextView
int[] AutoCompleteTextView
Attributes that can be used with a AutoCompleteTextView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines the hint displayed in the drop down menu. |
| Defines the hint view displayed in the drop down menu. |
| Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu. |
| View to anchor the auto-complete dropdown to. |
| Specifies the basic height of the dropdown. |
| Selector in a drop down list. |
| Specifies the basic width of the dropdown. |
| The type of data being placed in a text field, used to help an input method decide how to let the user enter text. |
| Theme to use for the completion popup window. |
See also:
AutoCompleteTextView_completionHintAutoCompleteTextView_completionHintViewAutoCompleteTextView_completionThresholdAutoCompleteTextView_dropDownAnchorAutoCompleteTextView_dropDownHeightAutoCompleteTextView_dropDownSelectorAutoCompleteTextView_dropDownWidthAutoCompleteTextView_inputTypeAutoCompleteTextView_popupTheme
BitmapDrawable
int[] BitmapDrawable
Drawable used to draw bitmaps.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies the alpha multiplier to apply to the base drawable. |
| Enables or disables antialiasing. |
| Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
| 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). |
| Enables or disables bitmap filtering. |
| Defines the gravity for the bitmap. |
| Enables or disables the mipmap hint. |
| Identifier of the bitmap file. |
| Defines the tile mode. |
| Defines the horizontal tile mode. |
| Defines the vertical tile mode. |
| If set, specifies the color to apply to the drawable as a tint. |
| When a tint color is set, specifies its Porter-Duff blending mode. |
Button
int[] Button
Attributes that can be used with a Button.
CalendarView
int[] CalendarView
Attributes that can be used with a CalendarView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The text appearance for the day numbers in the calendar grid. |
| The first day of week according to Calendar. |
| @deprecated The color for the dates of the focused month. |
| The maximal date shown by this calendar view in mm/dd/yyyy format. |
| The minimal date shown by this calendar view in mm/dd/yyyy format. |
| @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. |
| @deprecated The background color for the selected week. |
| @deprecated Whether do show week numbers. |
| @deprecated The number of weeks to be shown. |
| @deprecated The color for the dates of an unfocused month. |
| The text appearance for the week day abbreviation in the calendar header. |
| @deprecated The color for the week numbers. |
| @deprecated The color for the separator line between weeks. |
See also:
CalendarView_dateTextAppearanceCalendarView_firstDayOfWeekCalendarView_focusedMonthDateColorCalendarView_maxDateCalendarView_minDateCalendarView_selectedDateVerticalBarCalendarView_selectedWeekBackgroundColorCalendarView_showWeekNumberCalendarView_shownWeekCountCalendarView_unfocusedMonthDateColorCalendarView_weekDayTextAppearanceCalendarView_weekNumberColorCalendarView_weekSeparatorLineColor
ChangeBounds
int[] ChangeBounds
Use changeBoundsas the root tag of the XML resource that
describes a ChangeBounds transition.
The attributes of the Transition
resource are available in addition to the specific attributes of ChangeBounds
described here.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Resize the view by adjusting the clipBounds rather than changing the dimensions of the view itself. |
See also:
ChangeTransform
int[] ChangeTransform
Use changeTransform as the root tag of the XML resource that
describes a ChangeTransform transition.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Tells ChangeTransform to track parent changes. |
| A parent change should use an overlay or affect the transform of the transitionining View. |
CheckBoxPreference
int[] CheckBoxPreference
Base attributes available to CheckBoxPreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The state (true for on, or false for off) that causes dependents to be disabled. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. |
CheckedTextView
int[] CheckedTextView
Attributes that can be used with a CheckedTextView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable used for the check mark graphic. |
| Tint to apply to the check mark. |
| Blending mode used to apply the check mark tint. |
| Indicates the initial checked state of this text. |
Chronometer
int[] Chronometer
Attributes that can be used with a Chronometer.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies whether this Chronometer counts down or counts up from the base. |
| 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. |
See also:
ClipDrawable
int[] ClipDrawable
Attributes that can be used with a ClipDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The orientation for the clip. |
| Reference to a drawable resource to draw with the specified scale. |
| Specifies where to clip within the drawable. |
ColorDrawable
int[] ColorDrawable
Drawable used to draw a single color.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The color to use. |
See also:
ColorStateListItem
int[] ColorStateListItem
Attributes that can be assigned to a ColorStateList item.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Alpha multiplier applied to the base color. |
| Base color for this state. |
CompoundButton
int[] CompoundButton
Attributes that can be used with a CompoundButton.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable used for the button graphic (e. |
| Tint to apply to the button graphic. |
| Blending mode used to apply the button graphic tint. |
| Indicates the initial checked state of this button. |
ContactsDataKind
int[] ContactsDataKind
Maps a specific contact data MIME-type to styling information.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Resource representing the term "All Contacts" (e. |
| Column in data table that contains details for this data. |
| Flag indicating that detail should be built from SocialProvider. |
| Icon used to represent data of this kind. |
| Mime-type handled by this mapping. |
| Column in data table that summarizes this data. |
CycleInterpolator
int[] CycleInterpolator
Attributes that can be used with a CycleInterpolator.
Includes the following attributes:
| Attribute | Description |
|---|---|
|
See also:
DatePicker
int[] DatePicker
Attributes that can be used with a DatePicker.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The text color list of the calendar. |
| Whether the calendar view is shown. |
| Defines the look of the widget. |
| The background color for the header's day of week. |
| The text color for the header's day of week. |
| The last year (inclusive), for example "2010". |
| The first day of week according to Calendar. |
| The background for the selected date header. |
| The text appearance for the day of month (ex. |
| The text appearance for the month (ex. |
| The text appearance for the year (ex. |
| The maximal date shown by this calendar view in mm/dd/yyyy format. |
| The minimal date shown by this calendar view in mm/dd/yyyy format. |
| Whether the spinners are shown. |
| The first year (inclusive), for example "1940". |
| The list year's text appearance in the list. |
| The list year's selected circle color in the list. |
See also:
DatePicker_calendarTextColorDatePicker_calendarViewShownDatePicker_datePickerModeDatePicker_dayOfWeekBackgroundDatePicker_dayOfWeekTextAppearanceDatePicker_endYearDatePicker_firstDayOfWeekDatePicker_headerBackgroundDatePicker_headerDayOfMonthTextAppearanceDatePicker_headerMonthTextAppearanceDatePicker_headerYearTextAppearanceDatePicker_maxDateDatePicker_minDateDatePicker_spinnersShownDatePicker_startYearDatePicker_yearListItemTextAppearanceDatePicker_yearListSelectorColor
DateTimeView
int[] DateTimeView
Attributes that can be used with a DateTimeView.
Includes the following attributes:
| Attribute | Description |
|---|
DecelerateInterpolator
int[] DecelerateInterpolator
Attributes that can be used with a DecelerateInterpolator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| This is the amount of acceleration to add when easing out. |
See also:
DeviceAdmin
int[] DeviceAdmin
Use device-admin as the root tag of the XML resource that
describes a
DeviceAdminReceiver, which is
referenced from its
DEVICE_ADMIN_META_DATA
meta-data entry. Described here are the attributes that can be
included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Control whether the admin is visible to the user, even when it is not enabled. |
See also:
DialogPreference
int[] DialogPreference
Base attributes available to DialogPreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The icon for the dialog. |
| A layout to be used as the content View for the dialog. |
| The message in the dialog. |
| The title in the dialog. |
| The negative button text for the dialog. |
| The positive button text for the dialog. |
Drawable
int[] Drawable
Base attributes that are available to all Drawable objects.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
| Provides initial visibility state of the drawable; the default value is false. |
See also:
DrawableCorners
int[] DrawableCorners
Describes the corners for the rectangle shape of a GradientDrawable. This can be used to render rounded corners.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Radius of the bottom left corner. |
| Radius of the bottom right corner. |
| Defines the radius of the four corners. |
| Radius of the top left corner. |
| Radius of the top right corner. |
DrawableStates
int[] DrawableStates
Set of framework-provided states that may be specified on a Drawable. Actual usage of states may vary between view implementations, as documented on the individual state attributes.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State value for StateListDrawable,
indicating that the Drawable is in a view that is hardware accelerated. |
| State value for StateListDrawable,
set when a view or its parent has been "activated" meaning the user has currently
marked it as being of interest. |
| State value for StateListDrawable,
set when a view or drawable is considered "active" by its host. |
| State identifier indicating that the object may display a check mark. |
| State identifier indicating that the object is currently checked. |
| State for StateListDrawable
indicating that the Drawable is in a view that is capable of accepting a drop of
the content currently being manipulated in a drag-and-drop operation. |
| State for StateListDrawable
indicating that a drag operation (for which the Drawable's view is a valid recipient)
is currently positioned over the Drawable. |
| State value for StateListDrawable,
set when a view is enabled. |
| State value for StateListDrawable,
set when a view or drawable is in the first position in an ordered set. |
| State value for StateListDrawable,
set when a view has input focus. |
| State value for StateListDrawable,
set when a pointer is hovering over the view. |
| State value for StateListDrawable,
set when a view or drawable is in the last position in an ordered set. |
| State value for StateListDrawable,
set when a view or drawable is in the middle position in an ordered set. |
| State value for StateListDrawable,
set when the user is pressing down in a view. |
| State value for StateListDrawable,
set when a view (or one of its parents) is currently selected. |
| State value for StateListDrawable,
set when a view or drawable is considered "single" by its host. |
| State value for StateListDrawable,
set when a view's window has input focus. |
See also:
DrawableStates_state_acceleratedDrawableStates_state_activatedDrawableStates_state_activeDrawableStates_state_checkableDrawableStates_state_checkedDrawableStates_state_drag_can_acceptDrawableStates_state_drag_hoveredDrawableStates_state_enabledDrawableStates_state_firstDrawableStates_state_focusedDrawableStates_state_hoveredDrawableStates_state_lastDrawableStates_state_middleDrawableStates_state_pressedDrawableStates_state_selectedDrawableStates_state_singleDrawableStates_state_window_focused
DrawableWrapper
int[] DrawableWrapper
Drawable class used to wrap other drawables.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The wrapped drawable. |
See also:
Dream
int[] Dream
Use dream as the root tag of the XML resource that
describes an
DreamService, which is
referenced from its
DREAM_META_DATA
meta-data entry. Described here are the attributes that can be
included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Component name of an activity that allows the user to modify the settings for this dream. |
See also:
EdgeEffect
int[] EdgeEffect
Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The color applied to the edge effect on scrolling containers. |
See also:
EditText
int[] EditText
Attributes that can be used with a EditText.
ExpandableListChildIndicatorState
int[] ExpandableListChildIndicatorState
State array representing an expandable list child's indicator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating the child is the last child within its group. |
ExpandableListGroupIndicatorState
int[] ExpandableListGroupIndicatorState
State array representing an expandable list group's indicator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating the group is empty (has no children). |
| State identifier indicating the group is expanded. |
ExpandableListView
int[] ExpandableListView
Attributes that can be used with a ExpandableListView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable or color that is used as a divider for children. |
| Indicator shown beside the child View. |
| The end bound for a child's indicator. |
| The left bound for a child's indicator. |
| The right bound for a child's indicator. |
| The start bound for a child's indicator. |
| Indicator shown beside the group View. |
| The end bound for an item's indicator. |
| The left bound for an item's indicator. |
| The right bound for an item's indicator. |
| The start bound for an item's indicator. |
See also:
ExpandableListView_childDividerExpandableListView_childIndicatorExpandableListView_childIndicatorEndExpandableListView_childIndicatorLeftExpandableListView_childIndicatorRightExpandableListView_childIndicatorStartExpandableListView_groupIndicatorExpandableListView_indicatorEndExpandableListView_indicatorLeftExpandableListView_indicatorRightExpandableListView_indicatorStart
Extra
int[] Extra
An extra data value to place into a an extra/name value pair held
in a Bundle, as per Bundle.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Required name of the extra data. |
| Concrete value to put for this named extra data. |
See also:
Fade
int[] Fade
Use fadeas the root tag of the XML resource that
describes a Fade transition.
The attributes of the Transition
resource are available in addition to the specific attributes of Fade
described here.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Equivalent to transitionVisibilityMode, fadingMode works only
with the Fade transition. |
See also:
FastScroll
int[] FastScroll
Attributes that can be used with a FastScroll.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Minimum height of the section header preview. |
| Minimum width of the section header preview. |
| Padding for the section header preview. |
| Default appearance of text: color, typeface, size, and style. |
| Color of text (usually same as colorForeground). |
| Size of text. |
| Position of thumb in relation to the track. |
Fragment
int[] Fragment
Attributes that can be used with <fragment>
tags inside of the layout of an Activity. This instantiates
the given Fragment and inserts its content
view into the current location in the layout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Sets whether the enter and exit transitions should overlap when transitioning forward. |
| Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack. |
| The Transition that will be used to move Views into the initial scene. |
| The Transition that will be used to move Views out of the scene when the fragment is removed, hidden, or detached when not popping the back stack. |
| The Transition that will be used to move Views in to the scene when returning due to popping a back stack. |
| The Transition that will be used to move Views out of the scene when the Fragment is preparing to be removed, hidden, or detached because of popping the back stack. |
| The Transition that will be used for shared elements transferred into the content Scene. |
| The Transition that will be used for shared elements transferred back during a pop of the back stack. |
| Supply an identifier name for the top-level view, to later retrieve it
with View.findViewById() or
Activity.findViewById(). |
| Supply the name of the fragment class to instantiate. |
| Supply a tag for the top-level view containing a String, to be retrieved
later with View.getTag() or
searched for with View.findViewWithTag(). |
See also:
Fragment_fragmentAllowEnterTransitionOverlapFragment_fragmentAllowReturnTransitionOverlapFragment_fragmentEnterTransitionFragment_fragmentExitTransitionFragment_fragmentReenterTransitionFragment_fragmentReturnTransitionFragment_fragmentSharedElementEnterTransitionFragment_fragmentSharedElementReturnTransitionFragment_idFragment_nameFragment_tag
FragmentAnimation
int[] FragmentAnimation
Fragment animation class attributes.
Includes the following attributes:
FragmentBreadCrumbs
int[] FragmentBreadCrumbs
Attributes that can be used with <FragmentBreadCrumbs>
tags.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
See also:
FrameLayout
int[] FrameLayout
Attributes that can be used with a FrameLayout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring. |
See also:
FrameLayout_Layout
int[] FrameLayout_Layout
Attributes that can be used with a FrameLayout_Layout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Standard gravity constant that a child supplies to its parent. |
See also:
Gallery
int[] Gallery
Attributes that can be used with a Gallery.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Sets how long a transition animation should run (in milliseconds) when layout has changed. |
| Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
| |
| Sets the alpha on the items that are not selected. |
GestureOverlayView
int[] GestureOverlayView
GestureOverlayView specific attributes. These attributes are used to configure a GestureOverlayView from XML.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines whether the overlay should intercept the motion events when a gesture is recognized. |
| Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture. |
| Defines whether the gesture will automatically fade out after being recognized. |
| Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it. |
| Color used to draw a gesture. |
| Minimum curve angle a stroke must contain before it is recognized as a gesture. |
| Minimum length of a stroke before it is recognized as a gesture. |
| Squareness threshold of a stroke before it is recognized as a gesture. |
| Defines the type of strokes that define a gesture. |
| Width of the stroke used to draw the gesture. |
| Indicates whether horizontal (when the orientation is vertical) or vertical (when orientation is horizontal) strokes automatically define a gesture. |
| Color used to draw the user's strokes until we are sure it's a gesture. |
See also:
GestureOverlayView_eventsInterceptionEnabledGestureOverlayView_fadeDurationGestureOverlayView_fadeEnabledGestureOverlayView_fadeOffsetGestureOverlayView_gestureColorGestureOverlayView_gestureStrokeAngleThresholdGestureOverlayView_gestureStrokeLengthThresholdGestureOverlayView_gestureStrokeSquarenessThresholdGestureOverlayView_gestureStrokeTypeGestureOverlayView_gestureStrokeWidthGestureOverlayView_orientationGestureOverlayView_uncertainGestureColor
GlowPadView
int[] GlowPadView
Attributes that can be used with a GlowPadView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to an array resource that be used to announce the directions with targets around the circle. |
| Reference to an array resource that be used as description for the targets around the circle. |
GradientColor
int[] GradientColor
Used to describe the gradient for fill or stroke in a path of VectorDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Optional center color. |
| Only applied to SweepGradient / RadialGradient X coordinate of the center of the gradient within the path. |
| Y coordinate of the center of the gradient within the path. |
| End color of the gradient. |
| X coordinate of the end point origin of the gradient. |
| Y coordinate of the end point of the gradient within the shape. |
| Only applied to RadialGradient Radius of the gradient, used only with radial gradient. |
| Start color of the gradient. |
| LinearGradient specific X coordinate of the start point origin of the gradient. |
| Y coordinate of the start point of the gradient within the shape. |
| Defines the tile mode of the gradient. |
| Type of gradient. |
GradientColorItem
int[] GradientColorItem
Describes an item of a GradientColor. Minimally need 2 items to define the gradient
Colors defined in Includes the following attributes:
Attribute Description android:color The current color for the offset inside the gradient. android:offset The offset (or ratio) of this current color item inside the gradient.
GradientDrawable
int[] GradientDrawable
Drawable used to render a geometric shape, with a gradient or a solid color.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Enables or disables dithering. |
| Inner radius of the ring. |
| Inner radius of the ring expressed as a ratio of the ring's width. |
| Indicates what shape to fill with a gradient. |
| Thickness of the ring. |
| Thickness of the ring expressed as a ratio of the ring's width. |
| If set, specifies the color to apply to the drawable as a tint. |
| When a tint color is set, specifies its Porter-Duff blending mode. |
| Whether the drawable level value (see
getLevel()) is used to scale the shape. |
| Indicates whether the drawable should intially be visible. |
GradientDrawableGradient
int[] GradientDrawableGradient
Used to describe the gradient used to fill the shape of a GradientDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Angle of the gradient, used only with linear gradient. |
| Optional center color. |
| X-position of the center point of the gradient within the shape as a fraction of the width. |
| Y-position of the center point of the gradient within the shape as a fraction of the height. |
| End color of the gradient. |
| Radius of the gradient, used only with radial gradient. |
| Start color of the gradient. |
| Type of gradient. |
| Whether the drawable level value (see
getLevel()) is used to scale the gradient. |
See also:
GradientDrawablePadding
int[] GradientDrawablePadding
Used to specify the optional padding of a GradientDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Amount of bottom padding inside the gradient shape. |
| Amount of left padding inside the gradient shape. |
| Amount of right padding inside the gradient shape. |
| Amount of top padding inside the gradient shape. |
GradientDrawableSize
int[] GradientDrawableSize
Used to specify the size of the shape for GradientDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Height of the gradient shape. |
| Width of the gradient shape. |
GradientDrawableSolid
int[] GradientDrawableSolid
Used to fill the shape of GradientDrawable with a solid color.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Solid color for the gradient shape. |
See also:
GradientDrawableStroke
int[] GradientDrawableStroke
Used to describe the optional stroke of a GradientDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Color of the gradient shape's stroke. |
| Gap between dashes in the stroke. |
| Length of a dash in the stroke. |
| Width of the gradient shape's stroke. |
GridLayout
int[] GridLayout
Attributes that can be used with a GridLayout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| When set to alignMargins, causes alignment to take place between the outer boundary of a view, as defined by its margins. |
| The maxmimum number of columns to create when automatically positioning children. |
| When set to true, forces column boundaries to appear in the same order as column indices. |
| The orientation property is not used during layout. |
| The maxmimum number of rows to create when automatically positioning children. |
| When set to true, forces row boundaries to appear in the same order as row indices. |
| When set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters. |
GridLayoutAnimation
int[] GridLayoutAnimation
Attributes that can be used with a GridLayoutAnimation.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Fraction of the animation duration used to delay the beginning of the animation of each column. |
| Direction of the animation in the grid. |
| Priority of the rows and columns. |
| Fraction of the animation duration used to delay the beginning of the animation of each row. |
GridLayout_Layout
int[] GridLayout_Layout
Attributes that can be used with a GridLayout_Layout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The column boundary delimiting the left of the group of cells occupied by this view. |
| The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view. |
| The relative proportion of horizontal space that should be allocated to this view during excess space distribution. |
| Gravity specifies how a component should be placed in its group of cells. |
| The row boundary delimiting the top of the group of cells occupied by this view. |
| The row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view. |
| The relative proportion of vertical space that should be allocated to this view during excess space distribution. |
GridView
int[] GridView
Attributes that can be used with a GridView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies the fixed width for each column. |
| Specifies the gravity within each cell. |
| Defines the default horizontal spacing between columns. |
| Defines how many columns to show. |
| Defines how columns should stretch to fill the available empty space, if any. |
| Defines the default vertical spacing between rows. |
HorizontalScrollView
int[] HorizontalScrollView
Attributes that can be used with a HorizontalScrollView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines whether the scrollview should stretch its content to fill the viewport. |
See also:
HostApduService
int[] HostApduService
Use host-apdu-service as the root tag of the XML resource that
describes an HostApduService service, which
is referenced from its SERVICE_META_DATA
entry.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A drawable that can be rendered in Android's system UI for representing the service. |
| Short description of the functionality the service implements. |
| Whether the device must be unlocked before routing data to this service. |
| Component name of an activity that allows the user to modify the settings for this service. |
HostNfcFService
int[] HostNfcFService
Use host-nfcf-service as the root tag of the XML resource that
describes an HostNfcFService service, which
is referenced from its SERVICE_META_DATA
entry.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Short description of the functionality the service implements. |
See also:
Icon
int[] Icon
Attributes that can be used with a Icon.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A Drawable resource providing a graphical representation of its associated item. |
| Specify a MIME type that is handled, as per
IntentFilter.addDataType(). |
See also:
IconDefault
int[] IconDefault
Attributes that can be used with a IconDefault.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A Drawable resource providing a graphical representation of its associated item. |
See also:
IconMenuView
int[] IconMenuView
Attributes that can be used with a IconMenuView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines the maximum number of items per row. |
| Defines the maximum number of rows displayed. |
| 'More' icon. |
| Defines the height of each row. |
ImageSwitcher
int[] ImageSwitcher
Attributes that can be used with a ImageSwitcher.
ImageView
int[] ImageView
Attributes that can be used with a ImageView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable. |
| The offset of the baseline within this view. |
| If true, the image view will be baseline aligned with based on its bottom edge. |
| If true, the image will be cropped to fit within its padding. |
| An optional argument to supply a maximum height for this view. |
| An optional argument to supply a maximum width for this view. |
| Controls how the image should be resized or moved to match the size of this ImageView. |
| Sets a drawable as the content of this ImageView. |
| The tinting color for the image. |
| Blending mode used to apply the image tint. |
InputExtras
int[] InputExtras
An input-extras is a container for extra data to supply to
an input method. Contains
one more more tags.
InputMethod
int[] InputMethod
Use input-method as the root tag of the XML resource that
describes an
InputMethod service, which is
referenced from its
SERVICE_META_DATA
meta-data entry. Described here are the attributes that can be
included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Set to true in all of the configurations for which this input method should be considered an option as the default. |
| Component name of an activity that allows the user to modify the settings for this service. |
| Set to true if this input method supports ways to switch to a next input method (e. |
InputMethodService
int[] InputMethodService
Attributes that can be used with a InputMethodService.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Animation to use when showing the fullscreen extract UI after it had previously been hidden. |
| Animation to use when hiding the fullscreen extract UI after it had previously been shown. |
| Background to use for entire input method when it is being shown in fullscreen mode with the extract view, to ensure that it completely covers the application. |
InputMethod_Subtype
int[] InputMethod_Subtype
This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows the system to call the specified subtype of the IME directly.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The icon of the subtype. |
| The extra value of the subtype. |
| The locale of the subtype. |
| The mode of the subtype. |
| Set to true if this subtype is ASCII capable. |
| Set true if the subtype is auxiliary. |
| The name of the subtype. |
| The BCP-47 Language Tag of the subtype. |
| Set true when this subtype should be selected by default if no other subtypes are selected explicitly. |
| The unique id for the subtype. |
See also:
InputMethod_Subtype_iconInputMethod_Subtype_imeSubtypeExtraValueInputMethod_Subtype_imeSubtypeLocaleInputMethod_Subtype_imeSubtypeModeInputMethod_Subtype_isAsciiCapableInputMethod_Subtype_isAuxiliaryInputMethod_Subtype_labelInputMethod_Subtype_languageTagInputMethod_Subtype_overridesImplicitlyEnabledSubtypeInputMethod_Subtype_subtypeId
InsetDrawable
int[] InsetDrawable
Drawable used to wrap and inset another drawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to use for the frame. |
| |
| |
| |
| |
| |
| Provides initial visibility state of the drawable; the default value is false. |
Intent
int[] Intent
Declaration of an Includes the following attributes:Intent object in XML. May
also include zero or more {@link #IntentCategory
Attribute Description {@link #Intent_action android:action} The action name to assign to the Intent, as per
{@link android.content.Intent#setAction Intent.setAction()}. {@link #Intent_data android:data} The data URI to assign to the Intent, as per
{@link android.content.Intent#setData Intent.setData()}. {@link #Intent_mimeType android:mimeType} The MIME type name to assign to the Intent, as per
{@link android.content.Intent#setType Intent.setType()}. {@link #Intent_targetClass android:targetClass} The class part of the ComponentName to assign to the Intent, as per
{@link android.content.Intent#setComponent Intent.setComponent()}. {@link #Intent_targetPackage android:targetPackage} The package part of the ComponentName to assign to the Intent, as per
{@link android.content.Intent#setComponent Intent.setComponent()}.
IntentCategory
int[] IntentCategory
A category to add to an Intent, as per
Intent.addCategory().
Includes the following attributes:
| Attribute | Description |
|---|---|
| Required name of the category. |
See also:
Keyboard
int[] Keyboard
Attributes that can be used with a Keyboard.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Default horizontal gap between keys. |
| Default height of a key, in pixels or percentage of display width. |
| Default width of a key, in pixels or percentage of display width. |
| Default vertical gap between rows of keys. |
KeyboardLayout
int[] KeyboardLayout
Use keyboard-layouts as the root tag of the XML resource that
describes a collection of keyboard layouts provided by an application.
Each keyboard layout is declared by a keyboard-layout tag
with these attributes.
The XML resource that contains the keyboard layouts must be referenced from its
META_DATA_KEYBOARD_LAYOUTS
meta-data entry used with broadcast receivers for
ACTION_QUERY_KEYBOARD_LAYOUTS.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The key character map file resource. |
| The display label of the keyboard layout. |
| The name of the keyboard layout, must be unique in the receiver. |
KeyboardView
int[] KeyboardView
Attributes that can be used with a KeyboardView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Image for the key. |
| Height of the key press feedback popup. |
| Layout resource for key press feedback. |
| Vertical offset of the key press feedback from the key. |
| Color to use for the label in a key. |
| Size of the text for character keys. |
| Size of the text for custom keys with some text and no icon. |
| Layout resource for popup keyboards. |
| Place a blurred shadow of text underneath the text, drawn with the specified color. |
| Blur radius of the text shadow. |
| Amount to offset the touch Y coordinate by, for bias correction. |
See also:
KeyboardViewPreviewState
int[] KeyboardViewPreviewState
Attributes that can be used with a KeyboardViewPreviewState.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State for KeyboardView
key preview background. |
Keyboard_Key
int[] Keyboard_Key
Attributes that can be used with a Keyboard_Key.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The unicode value or comma-separated values that this key outputs. |
| The icon to show in the popup preview. |
| Whether this is a modifier key such as Alt or Shift. |
| Whether long-pressing on this key will make it repeat. |
| Whether this is a toggle key. |
| Key edge flags. |
| The icon to display on the key instead of the label. |
| The label to display on the key. |
| The string of characters to output when this key is pressed. |
| Mode of the keyboard. |
| The characters to display in the popup keyboard. |
| The XML keyboard layout of any popup keyboard. |
Keyboard_Row
int[] Keyboard_Row
Attributes that can be used with a Keyboard_Row.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Mode of the keyboard. |
| Row edge flags. |
Keyframe
int[] Keyframe
Attributes that can be used with a Keyframe.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
| Defines a per-interval interpolator for this keyframe. |
| Concrete value to assign to this piece of named meta-data. |
| The type of valueFrom and valueTo. |
KeyguardGlowStripView
int[] KeyguardGlowStripView
Attributes that can be used with a KeyguardGlowStripView.
Includes the following attributes:
| Attribute | Description |
|---|
LayerDrawable
int[] LayerDrawable
Drawable used to render several drawables stacked on top of each other. Each child drawable can be controlled individually.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
| Indicates the opacity of the layer. |
| Explicit bottom padding. |
| Explicit end padding. |
| Explicit left padding. |
| Indicates how layer padding should affect the bounds of subsequent layers. |
| Explicit right padding. |
| Explicit start padding. |
| Explicit top padding. |
LayerDrawableItem
int[] LayerDrawableItem
Describes an item (or child) of a LayerDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Bottom inset to apply to the layer. |
| Drawable used to render the layer. |
| End inset to apply to the layer. |
| Gravity used to align the layer within its container. |
| Height of the layer. |
| Identifier of the layer. |
| Left inset to apply to the layer. |
| Right inset to apply to the layer. |
| Start inset to apply to the layer. |
| Top inset to apply to the layer. |
| Width of the layer. |
LayoutAnimation
int[] LayoutAnimation
Attributes that can be used with a LayoutAnimation.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Animation to use on each child. |
| The order in which the animations will be started. |
| Fraction of the animation duration used to delay the beginning of the animation of each child. |
| Interpolator used to interpolate the delay between the start of each animation. |
LevelListDrawableItem
int[] LevelListDrawableItem
Attributes that can be used with a LevelListDrawableItem.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to use for the frame. |
| The maximum level allowed for this item. |
| The minimum level allowed for this item. |
LinearLayout
int[] LinearLayout
Attributes that can be used with a LinearLayout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| When set to false, prevents the layout from aligning its children's baselines. |
| When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (that is, which child TextView). |
| Drawable to use as a vertical divider between buttons. |
| Size of padding on either end of a divider. |
| Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
| When set to true, all children with a weight will be considered having the minimum size of the largest child. |
| Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column. |
| Setting for which dividers to show. |
| Defines the maximum weight sum. |
LinearLayout_Layout
int[] LinearLayout_Layout
Attributes that can be used with a LinearLayout_Layout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Standard gravity constant that a child supplies to its parent. |
| Specifies the basic height of the view. |
| |
| Specifies the basic width of the view. |
ListPopupWindow
int[] ListPopupWindow
Attributes that can be used with a ListPopupWindow.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Amount of pixels by which the drop down should be offset horizontally. |
| Amount of pixels by which the drop down should be offset vertically. |
ListPreference
int[] ListPreference
Base attributes available to ListPreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The human-readable array to present as a list. |
| The array to find the value to save for a preference when an entry from entries is selected. |
ListView
int[] ListView
Attributes that can be used with a ListView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable or color to draw between list items. |
| Height of the divider. |
| Reference to an array resource that will populate the ListView. |
| When set to false, the ListView will not draw the divider before each footer view. |
| When set to false, the ListView will not draw the divider after each header view. |
| Drawable to draw below list content. |
| Drawable to draw above list content. |
LockPatternView
int[] LockPatternView
Attributes that can be used with a LockPatternView.
Includes the following attributes:
| Attribute | Description |
|---|
MapView
int[] MapView
The set of attributes for a MapView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Value is a string that specifies the Maps API Key to use. |
See also:
MaterialProgressDrawable
int[] MaterialProgressDrawable
Drawable used to render the Material progress indicator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Solid color for the gradient shape. |
| Makes the TextView be exactly this many pixels tall. |
| Inner radius of the ring. |
| Thickness of the ring. |
| Provides initial visibility state of the drawable; the default value is false. |
| Makes the TextView be exactly this many pixels wide. |
MediaRouteButton
int[] MediaRouteButton
Attributes that can be used with a MediaRouteButton.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The types of media routes the button and its resulting chooser will filter by. |
| |
|
Menu
int[] Menu
Base attributes that are available to all Menu objects.
MenuGroup
int[] MenuGroup
Base attributes that are available to all groups.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether the items are capable of displaying a check mark. |
| Whether the items are enabled. |
| The ID of the group. |
| The category applied to all items within this group. |
| The order within the category applied to all items within this group. |
| Whether the items are shown/visible. |
MenuItem
int[] MenuItem
Base attributes that are available to all Item objects.
Includes the following attributes:
| Attribute | Description |
|---|---|
| An optional layout to be used as an action view. |
| The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. |
| The name of an optional View class to instantiate and use as an action view. |
| The alphabetic shortcut key. |
| Whether the item is capable of displaying a check mark. |
| Whether the item is checked. |
| Whether the item is enabled. |
| The icon associated with this item. |
| The ID of the item. |
| The category applied to the item. |
| The numeric shortcut key. |
| Name of a method on the Context used to inflate the menu that will be called when the item is clicked. |
| The order within the category applied to the item. |
| How this item should display in the Action Bar, if present. |
| The title associated with the item. |
| The condensed title associated with the item. |
| Whether the item is shown/visible. |
See also:
MenuItem_actionLayoutMenuItem_actionProviderClassMenuItem_actionViewClassMenuItem_alphabeticShortcutMenuItem_checkableMenuItem_checkedMenuItem_enabledMenuItem_iconMenuItem_idMenuItem_menuCategoryMenuItem_numericShortcutMenuItem_onClickMenuItem_orderInCategoryMenuItem_showAsActionMenuItem_titleMenuItem_titleCondensedMenuItem_visible
MenuItemCheckedFocusedState
int[] MenuItemCheckedFocusedState
State array representing a menu item that is currently focused and checked.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating that the object may display a check mark. |
| State identifier indicating that the object is currently checked. |
| State value for StateListDrawable,
set when a view has input focus. |
MenuItemCheckedState
int[] MenuItemCheckedState
State array representing a menu item that is currently checked.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating that the object may display a check mark. |
| State identifier indicating that the object is currently checked. |
MenuItemUncheckedFocusedState
int[] MenuItemUncheckedFocusedState
State array representing a menu item that is focused and checkable but is not currently checked.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating that the object may display a check mark. |
| State value for StateListDrawable,
set when a view has input focus. |
MenuItemUncheckedState
int[] MenuItemUncheckedState
State array representing a menu item that is checkable but is not currently checked.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating that the object may display a check mark. |
See also:
MenuView
int[] MenuView
Attributes that can be used with a MenuView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Default background for the menu header. |
| Default horizontal divider between rows of menu items. |
| Default background for each menu item. |
| Default disabled icon alpha for each menu item that shows an icon. |
| Default appearance of menu item text. |
| Drawable for the arrow icon indicating a particular item is a submenu. |
| Default vertical divider between menu items. |
| Default animations for the menu. |
MessagingLinearLayout
int[] MessagingLinearLayout
Attributes that can be used with a MessagingLinearLayout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| An optional argument to supply a maximum height for this view. |
|
MultiSelectListPreference
int[] MultiSelectListPreference
Attributes that can be used with a MultiSelectListPreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The human-readable array to present as a list. |
| The array to find the value to save for a preference when an entry from entries is selected. |
Nfcid2Filter
int[] Nfcid2Filter
Specify one or more nfcid2-filter elements inside a
host-nfcf-service element to specify a NFCID2
your service can handle.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The NFCID2. |
See also:
NinePatchDrawable
int[] NinePatchDrawable
Drawable used to draw 9-patches.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies the alpha multiplier to apply to the base drawable. |
| Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
| 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). |
| Identifier of the bitmap file. |
| If set, specifies the color to apply to the drawable as a tint. |
| When a tint color is set, specifies its Porter-Duff blending mode. |
OffHostApduService
int[] OffHostApduService
Use offhost-apdu-service as the root tag of the XML resource that
describes an OffHostApduService
service, which is referenced from its
SERVICE_META_DATA entry.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A drawable that can be rendered in Android's system UI for representing the service. |
| Short description of the functionality the service implements. |
| Component name of an activity that allows the user to modify the settings for this service. |
OvershootInterpolator
int[] OvershootInterpolator
Attributes that can be used with a OvershootInterpolator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| This is the amount of tension. |
See also:
PagedView
int[] PagedView
PagedView specific attributes. These attributes are used to customize a PagedView view in XML files.
Includes the following attributes:
| Attribute | Description |
|---|
PathInterpolator
int[] PathInterpolator
Attributes that can be used with a PathInterpolator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The x coordinate of the first control point of the cubic Bezier |
| The x coordinate of the second control point of the cubic Bezier |
| The y coordinate of the first control point of the cubic Bezier |
| The y coordinate of the second control point of the cubic Bezier |
| The control points defined as a path. |
PatternPathMotion
int[] PatternPathMotion
Use patternPathMotion as the root tag of the XML resource that
describes a PatternPathMotion. This must be used
within a transition with which the PathMotion should be associated.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The path string describing the pattern to use for the PathPathMotion. |
See also:
Pointer
int[] Pointer
Attributes that can be used with a Pointer.
Includes the following attributes:
| Attribute | Description |
|---|
PointerIcon
int[] PointerIcon
Attributes that can be used with a PointerIcon.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable to use as the icon bitmap. |
| X coordinate of the icon hot spot. |
| Y coordinate of the icon hot spot. |
PopupWindow
int[] PopupWindow
Attributes that can be used with a PopupWindow.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether the popup window should overlap its anchor view. |
| The animation style to use for the popup window. |
| The background to use for the popup window. |
| Window elevation to use for the popup window. |
| Transition used to move views into the popup window. |
| Transition used to move views out of the popup window. |
PopupWindowBackgroundState
int[] PopupWindowBackgroundState
Attributes that can be used with a PopupWindowBackgroundState.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating the popup will be above the anchor. |
Preference
int[] Preference
Base attributes available to Preference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| 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. |
| The key of another Preference that this Preference will depend on. |
| Whether the Preference is enabled. |
| When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item. |
| The optional icon for the preference |
| The key to store the Preference value. |
| The layout for the Preference in a PreferenceActivity screen. |
| The order for the Preference (lower values are to be ordered first). |
| Whether the Preference stores its value to the shared preferences. |
| Whether the Preference is selectable. |
| Whether the view of this Preference should be disabled when this Preference is disabled. |
| The summary for the Preference in a PreferenceActivity screen. |
| The title for the Preference in a PreferenceActivity screen. |
| The layout for the controllable widget portion of a Preference. |
PreferenceActivity
int[] PreferenceActivity
Base attributes available to PreferenceActivity.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The layout for the Preference Activity. |
See also:
PreferenceFragment
int[] PreferenceFragment
Base attributes available to PreferenceFragment.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable or color to draw between list items. |
| The layout for the PreferenceFragment. |
PreferenceFrameLayout
int[] PreferenceFrameLayout
Attributes that can be used with a PreferenceFrameLayout.
Includes the following attributes:
| Attribute | Description |
|---|
PreferenceFrameLayout_Layout
int[] PreferenceFrameLayout_Layout
Attributes that can be used with a PreferenceFrameLayout_Layout.
Includes the following attributes:
| Attribute | Description |
|---|
PreferenceGroup
int[] PreferenceGroup
Base attributes available to PreferenceGroup.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether to order the Preference under this group as they appear in the XML file. |
See also:
PreferenceHeader
int[] PreferenceHeader
Attribute for a header describing the item shown in the top-level list from which the selects the set of preference to dig in to.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The short title for the bread crumb of this item. |
| The title for the bread crumb of this item. |
| The fragment that is displayed when the user selects this item. |
| An icon for the item. |
| Identifier value for the header. |
| The summary for the item. |
| The title of the item that is shown to the user. |
PreferenceScreen
int[] PreferenceScreen
Base attributes available to PreferenceScreen.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable or color to draw between list items. |
See also:
PrintService
int[] PrintService
Use print-service as the root tag of the XML resource that
describes an PrintService service, which is
referenced from its SERVICE_META_DATA
meta-data entry.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Fully qualified class name of an activity that allows the user to manually add printers to this print service. |
| Fully qualified class name of an activity with advanced print options specific to this print service. |
| Fully qualified class name of an activity that allows the user to modify the settings for this service. |
| The vendor name if this print service is vendor specific. |
ProgressBar
int[] ProgressBar
This field is deprecated.
Not used by the framework.
Attributes that can be used with a ProgressBar.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Timeout between frames of animation in milliseconds |
| Tint to apply to the background. |
| Blending mode used to apply the background tint. |
| Allows to enable the indeterminate mode. |
| Defines how the indeterminate mode should behave when the progress reaches max. |
| Drawable used for the indeterminate mode. |
| Duration of the indeterminate animation. |
| Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). |
| Tint to apply to the indeterminate progress indicator. |
| Blending mode used to apply the indeterminate progress indicator tint. |
| |
| Defines the maximum value the progress can take. |
| An optional argument to supply a maximum height for this view. |
| An optional argument to supply a maximum width for this view. |
| |
| |
| Defines if the associated drawables need to be mirrored when in RTL mode. |
| Defines the default progress value, between 0 and max. |
| Tint to apply to the progress indicator background. |
| Blending mode used to apply the progress indicator background tint. |
| Drawable used for the progress mode. |
| Tint to apply to the progress indicator. |
| Blending mode used to apply the progress indicator tint. |
| Defines the secondary progress value, between 0 and max. |
| Tint to apply to the secondary progress indicator. |
| Blending mode used to apply the secondary progress indicator tint. |
See also:
ProgressBar_animationResolutionProgressBar_backgroundTintProgressBar_backgroundTintModeProgressBar_indeterminateProgressBar_indeterminateBehaviorProgressBar_indeterminateDrawableProgressBar_indeterminateDurationProgressBar_indeterminateOnlyProgressBar_indeterminateTintProgressBar_indeterminateTintModeProgressBar_interpolatorProgressBar_maxProgressBar_maxHeightProgressBar_maxWidthProgressBar_minHeightProgressBar_minWidthProgressBar_mirrorForRtlProgressBar_progressProgressBar_progressBackgroundTintProgressBar_progressBackgroundTintModeProgressBar_progressDrawableProgressBar_progressTintProgressBar_progressTintModeProgressBar_secondaryProgressProgressBar_secondaryProgressTintProgressBar_secondaryProgressTintMode
PropertyAnimator
int[] PropertyAnimator
Attributes that can be used with a PropertyAnimator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The path used to animate the properties in the ObjectAnimator |
| Name of the property being animated. |
| Name of the property being animated as the X coordinate of the pathData. |
| Name of the property being animated as the Y coordinate of the pathData. |
PropertyValuesHolder
int[] PropertyValuesHolder
Attributes that can be used with a PropertyValuesHolder.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Name of the property being animated. |
| Value the animation starts from. |
| Value the animation animates to. |
| The type of valueFrom and valueTo. |
QuickContactBadge
int[] QuickContactBadge
Attributes that can be used with a QuickContactBadge.
Includes the following attributes:
| Attribute | Description |
|---|
RadioGroup
int[] RadioGroup
Attributes that can be used with a RadioGroup.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The id of the child radio button that should be checked by default within this radio group. |
| Should the radio group be a column or a row? Use "horizontal" for a row, "vertical" for a column. |
RatingBar
int[] RatingBar
Attributes that can be used with a RatingBar.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether this rating bar is an indicator (and non-changeable by the user). |
| The number of stars (or rating items) to show. |
| The rating to set by default. |
| The step size of the rating. |
RatingDefinition
int[] RatingDefinition
Attributes that can be used with rating-definition tags inside of the XML
resource that describes TV content rating of a TvInputService,
which is referenced from its
META_DATA_CONTENT_RATING_SYSTEMS.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The age associated with the content rating. |
| The short description of the content rating. |
| The unique name of the content rating. |
| The title of the content rating which is shown to the user. |
RatingSystemDefinition
int[] RatingSystemDefinition
Attributes that can be used with rating-system-definition tags inside of the
XML resource that describes TV content rating of a TvInputService,
which is referenced from its
META_DATA_CONTENT_RATING_SYSTEMS.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard. |
| The short description of the content rating system. |
| The unique name of the content rating system. |
| The title of the content rating system which is shown to the user. |
RecognitionService
int[] RecognitionService
Use recognition-service as the root tag of the XML resource that
describes a RecognitionService, which is referenced from
its SERVICE_META_DATA meta-data entry.
Described here are the attributes that can be included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Component name of an activity that allows the user to modify the settings for this service. |
See also:
RelativeLayout
int[] RelativeLayout
Attributes that can be used with a RelativeLayout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
| Indicates what view should not be affected by gravity. |
RelativeLayout_Layout
int[] RelativeLayout_Layout
Attributes that can be used with a RelativeLayout_Layout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Positions the bottom edge of this view above the given anchor view ID. |
| Positions the baseline of this view on the baseline of the given anchor view ID. |
| Makes the bottom edge of this view match the bottom edge of the given anchor view ID. |
| Makes the end edge of this view match the end edge of the given anchor view ID. |
| Makes the left edge of this view match the left edge of the given anchor view ID. |
| If true, makes the bottom edge of this view match the bottom edge of the parent. |
| If true, makes the end edge of this view match the end edge of the parent. |
| If true, makes the left edge of this view match the left edge of the parent. |
| If true, makes the right edge of this view match the right edge of the parent. |
| If true, makes the start edge of this view match the start edge of the parent. |
| If true, makes the top edge of this view match the top edge of the parent. |
| Makes the right edge of this view match the right edge of the given anchor view ID. |
| Makes the start edge of this view match the start edge of the given anchor view ID. |
| Makes the top edge of this view match the top edge of the given anchor view ID. |
| 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. |
| Positions the top edge of this view below the given anchor view ID. |
| If true, centers this child horizontally within its parent. |
| If true, centers this child horizontally and vertically within its parent. |
| If true, centers this child vertically within its parent. |
| Positions the start edge of this view to the end of the given anchor view ID. |
| Positions the right edge of this view to the left of the given anchor view ID. |
| Positions the left edge of this view to the right of the given anchor view ID. |
| Positions the end edge of this view to the start of the given anchor view ID. |
See also:
RelativeLayout_Layout_layout_aboveRelativeLayout_Layout_layout_alignBaselineRelativeLayout_Layout_layout_alignBottomRelativeLayout_Layout_layout_alignEndRelativeLayout_Layout_layout_alignLeftRelativeLayout_Layout_layout_alignParentBottomRelativeLayout_Layout_layout_alignParentEndRelativeLayout_Layout_layout_alignParentLeftRelativeLayout_Layout_layout_alignParentRightRelativeLayout_Layout_layout_alignParentStartRelativeLayout_Layout_layout_alignParentTopRelativeLayout_Layout_layout_alignRightRelativeLayout_Layout_layout_alignStartRelativeLayout_Layout_layout_alignTopRelativeLayout_Layout_layout_alignWithParentIfMissingRelativeLayout_Layout_layout_belowRelativeLayout_Layout_layout_centerHorizontalRelativeLayout_Layout_layout_centerInParentRelativeLayout_Layout_layout_centerVerticalRelativeLayout_Layout_layout_toEndOfRelativeLayout_Layout_layout_toLeftOfRelativeLayout_Layout_layout_toRightOfRelativeLayout_Layout_layout_toStartOf
ResolverDrawerLayout
int[] ResolverDrawerLayout
Attributes that can be used with a ResolverDrawerLayout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| An optional argument to supply a maximum width for this view. |
See also:
ResolverDrawerLayout_LayoutParams
int[] ResolverDrawerLayout_LayoutParams
Attributes that can be used with a ResolverDrawerLayout_LayoutParams.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Standard gravity constant that a child supplies to its parent. |
RestrictionEntry
int[] RestrictionEntry
Attributes that can be used with a RestrictionEntry.
Includes the following attributes:
| Attribute | Description |
|---|---|
| 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. |
| Descriptive text for the associated data. |
| Reference to an array resource that will populate a list/adapter. |
| The array to find the value to save for a preference when an entry from entries is selected. |
| The key to store the Preference value. |
| |
| The title associated with the item. |
RingtonePreference
int[] RingtonePreference
Base attributes available to RingtonePreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Which ringtone type(s) to show in the picker. |
| Whether to show an item for a default sound. |
| Whether to show an item for 'Silent'. |
RippleDrawable
int[] RippleDrawable
Drawable used to show animated touch feedback.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The color to use for ripple effects. |
| The radius of the ripple when fully expanded. |
RotateAnimation
int[] RotateAnimation
Attributes that can be used with a RotateAnimation.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
| |
| |
|
RotateDrawable
int[] RotateDrawable
Drawable used to rotate another drawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to use for the frame. |
| |
| |
| |
| |
| Provides initial visibility state of the drawable; the default value is false. |
ScaleAnimation
int[] ScaleAnimation
Attributes that can be used with a ScaleAnimation.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
| |
| |
| |
| |
|
ScaleDrawable
int[] ScaleDrawable
Attributes that can be used with a ScaleDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to draw with the specified scale. |
| Specifies the initial drawable level in the range 0 to 10000. |
| Specifies where the drawable is positioned after scaling. |
| Scale height, expressed as a percentage of the drawable's bound. |
| Scale width, expressed as a percentage of the drawable's bound. |
| Use the drawable's intrinsic width and height as minimum size values. |
ScrollView
int[] ScrollView
Attributes that can be used with a ScrollView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines whether the scrollview should stretch its content to fill the viewport. |
See also:
SearchView
int[] SearchView
Attributes that can be used with a SearchView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Close button icon |
| Commit icon shown in the query suggestion row |
| Boolean that controls whether a view can take focus. |
| Go button icon |
| The default state of the SearchView. |
| The IME options to set on the query text field. |
| The input type to set on the query text field. |
| The layout to use for the search view. |
| An optional maximum width of the SearchView. |
| Background for the section containing the search query |
| An optional query hint string to be displayed in the empty query field. |
| Search icon displayed as a text field hint |
| Search icon |
| Background for the section containing the action (e. |
| Layout for query suggestion rows |
| Voice button icon |
See also:
SearchView_closeIconSearchView_commitIconSearchView_focusableSearchView_goIconSearchView_iconifiedByDefaultSearchView_imeOptionsSearchView_inputTypeSearchView_layoutSearchView_maxWidthSearchView_queryBackgroundSearchView_queryHintSearchView_searchHintIconSearchView_searchIconSearchView_submitBackgroundSearchView_suggestionRowLayoutSearchView_voiceIcon
Searchable
int[] Searchable
Searchable activities and applications must provide search configuration information
in an XML file, typically called searchable.xml. This file is referenced in your manifest.
For a more in-depth discussion of search configuration, please refer to
SearchManager.
Includes the following attributes:
| Attribute | Description |
|---|---|
| If provided and true, URLs entered in the search dialog while searching
within this activity would be detected and treated as URLs (show a 'go' button in the
keyboard and invoke the browser directly when user launches the URL instead of passing
the URL to the activity). |
| If supplied, this string will be displayed as a hint to the user. |
| This is deprecated. |
| Additional features you can enable in an IME associated with an editor to improve the integration with your application. |
| If provided and true, this searchable activity will be
included in any global lists of search targets. |
| The type of data being placed in a text field, used to help an input method decide how to let the user enter text. |
| This is the user-displayed name of the searchable activity. |
| If provided and true, this searchable activity will be invoked for all
queries in a particular session. |
| If supplied, this string will be displayed as the text of the "Search" button. |
| Additional features are controlled by mode bits in this field. |
| If provided, this string will be used to describe the searchable item in the searchable items settings within system search settings. |
| If provided, this is the trigger indicating that the searchable activity provides suggestions as well. |
| 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. |
| 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. |
| If provided, this will be inserted in the suggestions query Uri, after the authority you have provide but before the standard suggestions path. |
| If provided, suggestion queries will be passed into your query function as the selection parameter. |
| If provided, this is the minimum number of characters needed to trigger search suggestions. |
| If provided, this specifies the spoken language to be expected, and that it will be
different than the one set in the getDefault(). |
| If provided, this specifies the language model that should be used by the voice recognition system. |
| If provided, enforces the maximum number of results to return, including the "best" result which will always be provided as the SEARCH intent's primary query. |
| If provided, this specifies a prompt that will be displayed during voice input. |
| Voice search features are controlled by mode bits in this field. |
See also:
Searchable_autoUrlDetectSearchable_hintSearchable_iconSearchable_imeOptionsSearchable_includeInGlobalSearchSearchable_inputTypeSearchable_labelSearchable_queryAfterZeroResultsSearchable_searchButtonTextSearchable_searchModeSearchable_searchSettingsDescriptionSearchable_searchSuggestAuthoritySearchable_searchSuggestIntentActionSearchable_searchSuggestIntentDataSearchable_searchSuggestPathSearchable_searchSuggestSelectionSearchable_searchSuggestThresholdSearchable_voiceLanguageSearchable_voiceLanguageModelSearchable_voiceMaxResultsSearchable_voicePromptTextSearchable_voiceSearchMode
SearchableActionKey
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:
| Attribute | Description |
|---|---|
| This attribute denotes the action key you wish to respond to. |
| If you wish to handle an action key during normal search query entry, you must define an action string here. |
| If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this. |
| 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. |
SeekBar
int[] SeekBar
Attributes that can be used with a SeekBar.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether to split the track and leave a gap for the thumb drawable. |
| Draws the thumb on a seekbar. |
| An offset for the thumb that allows it to extend out of the range of the track. |
| Tint to apply to the thumb drawable. |
| Blending mode used to apply the thumb tint. |
| Drawable displayed at each progress position on a seekbar. |
| Tint to apply to the tick mark drawable. |
| Blending mode used to apply the tick mark tint. |
SeekBarPreference
int[] SeekBarPreference
Attributes that can be used with a SeekBarPreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
See also:
SelectionModeDrawables
int[] SelectionModeDrawables
Attributes that can be used with a SelectionModeDrawables.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable to use for the Copy action button in Contextual Action Bar |
| Drawable to use for the Cut action button in Contextual Action Bar |
| Drawable to use for the Paste action button in Contextual Action Bar |
| Drawable to use for the Select all action button in Contextual Action Bar |
SettingInjectorService
int[] SettingInjectorService
Use injected-location-setting as the root tag of the XML resource that
describes an injected "Location services" setting. Note that the status value (subtitle)
for the setting is specified dynamically by a subclass of SettingInjectorService.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The icon for the preference, should refer to all apps covered by the setting. |
| The activity to launch when the setting is clicked on. |
| The title for the preference. |
ShapeDrawable
int[] ShapeDrawable
Drawable used to draw shapes.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines the color of the shape. |
| Enables or disables dithering. |
| Defines the height of the shape. |
| If set, specifies the color to apply to the drawable as a tint. |
| When a tint color is set, specifies its Porter-Duff blending mode. |
| Defines the width of the shape. |
ShapeDrawablePadding
int[] ShapeDrawablePadding
Defines the padding of a ShapeDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Bottom padding. |
| Left padding. |
| Right padding. |
| Top padding. |
Shortcut
int[] Shortcut
Attributes that can be used with a Shortcut.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies whether the widget is enabled. |
| A Drawable resource providing a graphical representation of its associated item. |
| |
| |
| |
|
ShortcutCategories
int[] ShortcutCategories
Attributes that can be used with a ShortcutCategories.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A unique name for the given item. |
See also:
Slide
int[] Slide
Use slideas the root tag of the XML resource that
describes a Slide transition.
The attributes of the Transition
resource are available in addition to the specific attributes of Slide
described here.
Includes the following attributes:
| Attribute | Description |
|---|---|
|
See also:
SlidingDrawer
int[] SlidingDrawer
SlidingDrawer specific attributes. These attributes are used to configure a SlidingDrawer from XML.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Indicates whether the drawer can be opened/closed by a single tap on the handle. |
| Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. |
| Extra offset for the handle at the bottom of the SlidingDrawer. |
| Identifier for the child that represents the drawer's content. |
| Identifier for the child that represents the drawer's handle. |
| Orientation of the SlidingDrawer. |
| Extra offset for the handle at the top of the SlidingDrawer. |
SlidingTab
int[] SlidingTab
Attributes that can be used with a SlidingTab.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Use "horizontal" for a row, "vertical" for a column. |
See also:
SpellChecker
int[] SpellChecker
Use spell-checker as the root tag of the XML resource that
describes an
SpellCheckerService service, which is
referenced from its
SERVICE_META_DATA
meta-data entry. Described here are the attributes that can be
included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The name of the spell checker. |
| Component name of an activity that allows the user to modify the settings for this service. |
SpellChecker_Subtype
int[] SpellChecker_Subtype
This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...)
Includes the following attributes:
| Attribute | Description |
|---|---|
| The name of the subtype. |
| The BCP-47 Language Tag of the subtype. |
| The extra value of the subtype. |
| The unique id for the subtype. |
| The locale of the subtype. |
Spinner
int[] Spinner
Attributes that can be used with a Spinner.
Includes the following attributes:
| Attribute | Description |
|---|---|
| List selector to use for spinnerMode="dropdown" display. |
| Width of the dropdown in spinnerMode="dropdown". |
| Gravity setting for positioning the currently selected item. |
| Background drawable to use for the dropdown in spinnerMode="dropdown". |
| Window elevation to use for the dropdown in spinnerMode="dropdown". |
| Theme to use for the drop-down or dialog popup window. |
| The prompt to display when the spinner's dialog is shown. |
| Display mode for spinner options. |
StackView
int[] StackView
Attributes that can be used with a StackView.
Includes the following attributes:
| Attribute | Description |
|---|
StateListAnimatorItem
int[] StateListAnimatorItem
Attributes that can be assigned to a StateListAnimator item.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Animation to use on each child. |
See also:
StateListDrawable
int[] StateListDrawable
Drawable used to render several states. Each state is represented by a child drawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
| 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. |
| 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). |
| Amount of time (in milliseconds) to fade in a new state drawable. |
| Amount of time (in milliseconds) to fade out an old state drawable. |
| If true, allows the drawable's padding to change based on the current state that is selected. |
| Indicates whether the drawable should be initially visible. |
StateListDrawableItem
int[] StateListDrawableItem
Represents a single state inside a StateListDrawable.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Reference to a drawable resource to use for the state. |
See also:
Storage
int[] Storage
Attributes that can be used with a Storage.
Includes the following attributes:
| Attribute | Description |
|---|
SuggestionSpan
int[] SuggestionSpan
Attributes that can be used with a SuggestionSpan.
Includes the following attributes:
| Attribute | Description |
|---|
Switch
int[] Switch
Attributes that can be used with a Switch.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether to draw on/off text. |
| Whether to split the track and leave a gap for the thumb drawable. |
| Minimum width for the switch component |
| Minimum space between the switch and caption text |
| TextAppearance style for text displayed on the switch thumb. |
| Text to use when the switch is in the unchecked/"off" state. |
| Text to use when the switch is in the checked/"on" state. |
| Drawable to use as the "thumb" that switches back and forth. |
| Amount of padding on either side of text within the switch thumb. |
| Tint to apply to the thumb. |
| Blending mode used to apply the thumb tint. |
| Drawable to use as the "track" that the switch thumb slides within. |
| Tint to apply to the track. |
| Blending mode used to apply the track tint. |
SwitchPreference
int[] SwitchPreference
Attributes that can be used with a SwitchPreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The state (true for on, or false for off) that causes dependents to be disabled. |
| The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. |
| The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. |
| The text used on the switch itself when in the "off" state. |
| The text used on the switch itself when in the "on" state. |
SyncAdapter
int[] SyncAdapter
Use account-authenticator as the root tag of the XML resource that
describes an account authenticator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The account type this authenticator handles. |
| Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority. |
| the authority of a content provider. |
| Set to true to tell the SyncManager to automatically call setIsSyncable(. |
| If provided, specifies the action of the settings activity for this SyncAdapter. |
| |
|
SystemCodeFilter
int[] SystemCodeFilter
Specify one or more system-code-filter elements inside a
host-nfcf-service element to specify a System Code
your service can handle.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The System Code. |
See also:
TabWidget
int[] TabWidget
Attributes that can be used with a TabWidget.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Drawable used to draw the divider between tabs. |
| Determines whether the strip under the tab indicators is drawn or not. |
| Drawable used to draw the left part of the strip underneath the tabs. |
| Drawable used to draw the right part of the strip underneath the tabs. |
TableLayout
int[] TableLayout
Attributes that can be used with a TableLayout.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The zero-based index of the columns to collapse. |
| The zero-based index of the columns to shrink. |
| The zero-based index of the columns to stretch. |
TableRow
int[] TableRow
Attributes that can be used with a TableRow.
TableRow_Cell
int[] TableRow_Cell
Attributes that can be used with a TableRow_Cell.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The index of the column in which this child should be. |
| Defines how many columns this child should span. |
TextAppearance
int[] TextAppearance
Attributes that can be used with a TextAppearance.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Elegant text height, especially for less compacted complex script text. |
| Font family (named by string) for the text. |
| Font feature settings. |
| Text letter-spacing. |
| Place a blurred shadow of text underneath the text, drawn with the specified color. |
| Horizontal offset of the text shadow. |
| Vertical offset of the text shadow. |
| Blur radius of the text shadow. |
| Present the text in ALL CAPS. |
| Text color. |
| Color of the text selection highlight. |
| Color of the hint text. |
| Color of the links. |
| Size of the text. |
| Style (bold, italic, bolditalic) for the text. |
| Typeface (normal, sans, serif, monospace) for the text. |
See also:
TextAppearance_elegantTextHeightTextAppearance_fontFamilyTextAppearance_fontFeatureSettingsTextAppearance_letterSpacingTextAppearance_shadowColorTextAppearance_shadowDxTextAppearance_shadowDyTextAppearance_shadowRadiusTextAppearance_textAllCapsTextAppearance_textColorTextAppearance_textColorHighlightTextAppearance_textColorHintTextAppearance_textColorLinkTextAppearance_textSizeTextAppearance_textStyleTextAppearance_typeface
TextClock
int[] TextClock
Attributes that can be used with a TextClock.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies the formatting pattern used to show the time and/or date in 12-hour mode. |
| Specifies the formatting pattern used to show the time and/or date in 24-hour mode. |
| Specifies the time zone to use. |
TextSwitcher
int[] TextSwitcher
Attributes that can be used with a TextSwitcher.
TextToSpeechEngine
int[] TextToSpeechEngine
Use tts-engine as the root tag of the XML resource that
describes a text to speech engine implemented as a subclass of
TextToSpeechService.
The XML resource must be referenced from its
SERVICE_META_DATA meta-data
entry.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Component name of an activity that allows the user to modify the settings for this service. |
See also:
TextView
int[] TextView
Attributes that can be used with a TextView.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Whether undo should be allowed for editable text. |
| Controls whether links such as urls and email addresses are automatically found and converted to clickable links. |
| If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors. |
| Break strategy (control over paragraph layout). |
| Determines the minimum type that getText() will return. |
| If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. |
| Makes the cursor visible (the default) or invisible. |
| If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. |
| The drawable to be drawn below the text. |
| The drawable to be drawn to the end of the text. |
| The drawable to be drawn to the left of the text. |
| The padding between the drawables and the text. |
| The drawable to be drawn to the right of the text. |
| The drawable to be drawn to the start of the text. |
| Tint to apply to the compound (left, top, etc. |
| Blending mode used to apply the compound (left, top, etc. |
| The drawable to be drawn above the text. |
| If set, specifies that this TextView has an input method. |
| Reference to an
<input-extras>
XML resource containing additional data to
supply to an input method, which is private to the implementation
of the input method. |
| Elegant text height, especially for less compacted complex script text. |
| If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle. |
| Makes the TextView be exactly this many ems wide. |
| Specifies whether the widget is enabled. |
| Font family (named by string) for the text. |
| Font feature settings. |
| 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. |
| Specifies how to align the text by the view's x- and/or y-axis when the text is smaller than the view. |
| Makes the TextView be exactly this many pixels tall. |
| Hint text to display when the text is empty. |
| Frequency of automatic hyphenation. |
| Supply a value for
EditorInfo.actionId
used when an input method is connected to the text view. |
| Supply a value for
EditorInfo.actionLabel
used when an input method is connected to the text view. |
| Additional features you can enable in an IME associated with an editor to improve the integration with your application. |
| Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly. |
| If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name). |
| The type of data being placed in a text field, used to help an input method decide how to let the user enter text. |
| Text letter-spacing. |
| Extra spacing between lines of text. |
| Extra spacing between lines of text, as a multiplier. |
| Makes the TextView be exactly this many lines tall. |
| If set to false, keeps the movement method from being set to the link movement method even if autoLink causes links to be found. |
| The number of times to repeat the marquee animation. |
| Makes the TextView be at most this many ems wide. |
| Makes the TextView be at most this many pixels tall. |
| Set an input filter to constrain the text length to the specified number. |
| Makes the TextView be at most this many lines tall. |
| Makes the TextView be at most this many pixels wide. |
| Makes the TextView be at least this many ems wide. |
| Makes the TextView be at least this many pixels tall. |
| Makes the TextView be at least this many lines tall. |
| Makes the TextView be at least this many pixels wide. |
| If set, specifies that this TextView has a numeric input method. |
| Whether the characters of the field are displayed as password dots instead of themselves. |
| If set, specifies that this TextView has a phone number input method. |
| An addition content type description to supply to the input method attached to the text view, which is private to the implementation of the input method. |
| Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally). |
| If the text is selectable, select it all when the view takes focus. |
| Place a blurred shadow of text underneath the text, drawn with the specified color. |
| Horizontal offset of the text shadow. |
| Vertical offset of the text shadow. |
| Blur radius of the text shadow. |
| 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. |
| Text to display. |
| Present the text in ALL CAPS. |
| Base text color, typeface, size, and style. |
| Text color. |
| Color of the text selection highlight. |
| Color of the hint text. |
| Text color for links. |
| Reference to a drawable that will be drawn under the insertion cursor. |
| Variation of textEditPasteWindowLayout displayed when the clipboard is empty. |
| The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field. |
| Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. |
| Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top. |
| Layout of the TextView item that will populate the suggestion popup window. |
| Indicates that the content of a non-editable text can be selected. |
| Sets the horizontal scaling factor for the text. |
| Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text. |
| Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region. |
| Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region. |
| Size of the text. |
| Style (bold, italic, bolditalic) for the text. |
| Typeface (normal, sans, serif, monospace) for the text. |
| Makes the TextView be exactly this many pixels wide. |
See also:
TextView_allowUndoTextView_autoLinkTextView_autoTextTextView_breakStrategyTextView_bufferTypeTextView_capitalizeTextView_cursorVisibleTextView_digitsTextView_drawableBottomTextView_drawableEndTextView_drawableLeftTextView_drawablePaddingTextView_drawableRightTextView_drawableStartTextView_drawableTintTextView_drawableTintModeTextView_drawableTopTextView_editableTextView_editorExtrasTextView_elegantTextHeightTextView_ellipsizeTextView_emsTextView_enabledTextView_fontFamilyTextView_fontFeatureSettingsTextView_freezesTextTextView_gravityTextView_heightTextView_hintTextView_hyphenationFrequencyTextView_imeActionIdTextView_imeActionLabelTextView_imeOptionsTextView_includeFontPaddingTextView_inputMethodTextView_inputTypeTextView_letterSpacingTextView_lineSpacingExtraTextView_lineSpacingMultiplierTextView_linesTextView_linksClickableTextView_marqueeRepeatLimitTextView_maxEmsTextView_maxHeightTextView_maxLengthTextView_maxLinesTextView_maxWidthTextView_minEmsTextView_minHeightTextView_minLinesTextView_minWidthTextView_numericTextView_passwordTextView_phoneNumberTextView_privateImeOptionsTextView_scrollHorizontallyTextView_selectAllOnFocusTextView_shadowColorTextView_shadowDxTextView_shadowDyTextView_shadowRadiusTextView_singleLineTextView_textTextView_textAllCapsTextView_textAppearanceTextView_textColorTextView_textColorHighlightTextView_textColorHintTextView_textColorLinkTextView_textCursorDrawableTextView_textEditNoPasteWindowLayoutTextView_textEditPasteWindowLayoutTextView_textEditSideNoPasteWindowLayoutTextView_textEditSidePasteWindowLayoutTextView_textEditSuggestionItemLayoutTextView_textIsSelectableTextView_textScaleXTextView_textSelectHandleTextView_textSelectHandleLeftTextView_textSelectHandleRightTextView_textSizeTextView_textStyleTextView_typefaceTextView_width
TextViewAppearance
int[] TextViewAppearance
Attributes that can be used with a TextViewAppearance.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Base text color, typeface, size, and style. |
See also:
TextViewMultiLineBackgroundState
int[] TextViewMultiLineBackgroundState
Attributes that can be used with a TextViewMultiLineBackgroundState.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State identifier indicating a TextView has a multi-line layout. |
Theme
int[] Theme
These are the standard attributes that make up a complete theme.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Default AbsListView style. |
| Custom divider drawable to use for elements in the action bar. |
| Custom item state list drawable background for action bar items. |
| Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
| Size of the Action Bar, including the contextual bar used to present Action Modes. |
| Reference to a style for the split Action Bar. |
| Reference to a style for the Action Bar |
| |
| Default style for tabs within an action bar |
| |
| Reference to a theme that should be used to inflate the action bar. |
| Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. |
| Default action button style. |
| Default ActionBar dropdown style. |
| TextAppearance style that will be applied to text that appears within action menu items. |
| Color for text that appears within action menu items. |
| Background drawable to use for action mode UI |
| |
| Drawable to use for the close action mode button |
| Drawable to use for the Copy action button in Contextual Action Bar |
| Drawable to use for the Cut action button in Contextual Action Bar |
| Drawable to use for the Find action button in WebView selection action modes |
| Drawable to use for the Paste action button in Contextual Action Bar |
| Drawable to use for the Select all action button in Contextual Action Bar |
| Drawable to use for the Share action button in WebView selection action modes |
| Background drawable to use for action mode UI in the lower split bar |
| |
| Drawable to use for the Web Search action button in WebView selection action modes |
| |
| |
| Drawable used as a background for activated items. |
| Icon drawable to use for alerts |
| |
| Theme to use for alert dialogs spawned from this theme. |
| Alpha value of the ambient shadow projected by elevated views, between 0 and 1. |
| Default AutoCompleteTextView style. |
| Default background dim amount when a menu, dialog, or something similar pops up. |
| Control whether dimming behind the window is enabled. |
| Style for buttons without an explicit border, often used in groups. |
| Style for buttons within button bars |
| Style for the "negative" buttons within button bars |
| Style for the "neutral" buttons within button bars |
| Style for the "positive" buttons within button bars |
| Style for button bars |
| Normal Button style. |
| Button style to inset into an EditText. |
| Small Button style. |
| ToggleButton style. |
| The CalendarView style. |
| A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. |
| Default style for CheckBoxPreference. |
| Default Checkbox style. |
| Default CheckedTextView style. |
| Bright complement to the primary branding color. |
| Default highlight color for items that are activated. |
| Default color of background imagery, ex. |
| This is a hint for a solid color that can be used for caching rendered views. |
| Default color of background imagery for floating components, ex. |
| The color applied to framework buttons in their normal state. |
| The color applied to framework controls in their activated (ex. |
| The color applied to framework control highlights (ex. |
| The color applied to framework controls in their normal state. |
| The color applied to the edge effect on scrolling containers. |
| Default highlight color for items that are focused. |
| Default color of foreground imagery. |
| Default color of foreground imagery on an inverted background. |
| Default highlight color for items that are long-pressed. |
| Default highlight color for items in multiple selection mode. |
| Default highlight color for items that are pressed. |
| The primary branding color for the app. |
| Dark variant of the primary branding color. |
| The secondary branding color for the app. |
| Default context menu PopupMenu style. |
| The DatePicker dialog theme. |
| The DatePicker style. |
| Background that can be used behind parts of a UI that provide details on data the user is selecting. |
| Default style for DialogPreference. |
| Preferred padding for dialog content. |
| Theme to use for dialogs spawned from this theme. |
| Default disabled alpha for widgets that set enabled/disabled alpha programmatically. |
| Drawable to use for generic horizontal dividers. |
| Drawable to use for generic vertical dividers. |
| Default style for drop down hints. |
| Default style for drop down items. |
| Default ListView style for drop downs. |
| Default dropdown Spinner style. |
| EditText background drawable. |
| EditText text foreground color. |
| Default style for EditTextPreference. |
| Default EditText style. |
| The preferred left bound for an expandable list child's indicator. |
| The preferred right bound for an expandable list child's indicator. |
| The preferred left padding for an expandable list item that is a child. |
| The preferred left bound for an expandable list item's indicator. |
| The preferred right bound for an expandable list item's indicator. |
| The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). |
| Default ExpandableListView style. |
| ExpandableListView with white background. |
| Position of the fast scroll index overlay window. |
| Drawable to use as the fast scroll index preview window background when shown on the left. |
| Drawable to use as the fast scroll index preview window background when shown on the right. |
| Text color for the fast scroll index overlay. |
| Drawable to use as the fast scroll thumb. |
| Drawable to use as the track for the fast scroll thumb. |
| Icon that should be used to indicate that an app is waiting for a fingerprint scan. |
| The preferred background for gallery items. |
| Default Gallery style. |
| Default GridView style. |
| Specifies a drawable to use for the 'home as up' indicator. |
| Default HorizontalScrollView style. |
| The style resource to use for an ImageButton. |
| The style resource to use for an ImageButton that is an image well. |
| Drawable used as a background for selected list items. |
| Drawable to use for multiple choice indicators. |
| Drawable to use for single choice indicators. |
| The drawable for the list divider. |
| The list divider used in alert dialogs. |
| Default menu-style ListView style. |
| Default ListPopupWindow style. |
| The preferred list item height. |
| A larger, more robust list item height. |
| A smaller, sleeker list item height. |
| The preferred padding along the end edge of list items. |
| The preferred padding along the left edge of list items. |
| The preferred padding along the right edge of list items. |
| The preferred padding along the start edge of list items. |
| TextView style for list separators. |
| Default ListView style. |
| ListView with white background. |
| Default MapView style. |
| Default style for the MediaRouteButton widget. |
| NumberPicker style. |
| The background of a panel when it is inset from the left and right edges of the screen. |
| Color that matches (as closely as possible) the panel background. |
| Default color of foreground panel imagery. |
| The background of a panel when it extends to the left and right edges of the screen. |
| Default appearance of panel text. |
| Default PopupMenu style. |
| Default PopupWindow style. |
| Default style for PreferenceCategory. |
| Default style for Headers pane in PreferenceActivity. |
| Default style for informational Preference. |
| The preference layout that has the child/tabbed effect. |
| Default style for PreferenceScreen. |
| Default style for Preference. |
| Theme to use for presentations spawned from this theme. |
| Default ProgressBar style. |
| Horizontal ProgressBar style. |
| Inverse ProgressBar style. |
| Large ProgressBar style. |
| Large inverse ProgressBar style. |
| Small ProgressBar style. |
| Small inverse ProgressBar style. |
| Small ProgressBar in title style. |
| Default quickcontact badge style with large quickcontact window. |
| Default quickcontact badge style with medium quickcontact window. |
| Default quickcontact badge style with small quickcontact window. |
| Default quickcontact badge style with large quickcontact window. |
| Default quickcontact badge style with medium quickcontact window. |
| Default quickcontact badge style with small quickcontact window. |
| Default RadioButton style. |
| Default RatingBar style. |
| Indicator RatingBar style. |
| Small indicator RatingBar style. |
| Default style for RingtonePreference. |
| Default ScrollView style. |
| Style for the search query widget. |
| Default SeekBar style. |
| Style for segmented buttons - a container that houses several buttons with the appearance of a singel button broken into segments. |
| Background drawable for bordered standalone items that need focus/pressed states. |
| Background drawable for borderless standalone items that need focus/pressed states. |
| Default style for spinner drop down items. |
| Default spinner item style. |
| Default Spinner style. |
| Alpha value of the spot shadow projected by elevated views, between 0 and 1. |
| Default StackView style. |
| Default Star style. |
| Default style for switch preferences. |
| Default style for the Switch widget. |
| Default TabWidget style. |
| Default appearance of text: color, typeface, size, and style. |
| Text color, typeface, size, and style for the text inside of a button. |
| Default appearance of text against an inverted background: color, typeface, size, and style. |
| Text color, typeface, size, and style for "large" text. |
| Text color, typeface, size, and style for "large" inverse text. |
| Text color, typeface, size, and style for the text inside of a popup menu. |
| The preferred TextAppearance for the primary text of list items. |
| The preferred TextAppearance for the secondary text of list items. |
| The preferred TextAppearance for the primary text of small list items. |
| Text color, typeface, size, and style for "medium" text. |
| Text color, typeface, size, and style for "medium" inverse text. |
| Text color, typeface, size, and style for header text inside of a popup menu. |
| Text color, typeface, size, and style for system search result subtitle. |
| Text color, typeface, size, and style for system search result title. |
| Text color, typeface, size, and style for "small" text. |
| Text color, typeface, size, and style for "small" inverse text. |
| Text color, typeface, size, and style for small text inside of a popup menu. |
| Drawable to use for check marks. |
| |
| Color of list item text in alert dialogs. |
| Color of highlighted text, when used in a light theme. |
| Inverse hint text color. |
| Color of link text (URLs), when used in a light theme. |
| The most prominent text color. |
| Bright text color. |
| Primary inverse text color, useful for inverted backgrounds. |
| Bright inverse text color. |
| Bright inverse text color. |
| Bright text color. |
| Secondary text color. |
| Secondary inverse text color, useful for inverted backgrounds. |
| Dim inverse text color. |
| Dim text color. |
| Tertiary text color. |
| Tertiary inverse text color, useful for inverted backgrounds. |
| Variation of textEditPasteWindowLayout displayed when the clipboard is empty. |
| The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field. |
| Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. |
| Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top. |
| Layout of the TextView item that will populate the suggestion popup window. |
| Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text. |
| Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region. |
| Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region. |
| Reference to a style that will be used for the window containing a text selection anchor. |
| Reference to a style that will be used for the window containing a list of possible text suggestions in an EditText. |
| Default TextView style. |
| The TimePicker dialog theme. |
| The TimePicker style. |
| Default Toolbar style. |
| Default WebTextView style. |
| Default WebView style. |
| Flag indicating whether this window should have an Action Bar in place of the usual title bar. |
| Flag indicating whether this window's Action Bar should overlay application content. |
| Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). |
| Flag indicating whether this window allows Activity Transitions. |
| Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. |
| Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. |
| Reference to a style resource holding
the set of window animations to use, which can be
any of the attributes defined by
WindowAnimation. |
| Drawable to use as the overall window background. |
| Drawable to draw selectively within the inset areas when the windowBackground has been set to null. |
| Control whether a container should automatically close itself if the user touches outside of it. |
| This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title. |
| Reference to a TransitionManager XML resource defining the desired transitions between different window content. |
| Flag indicating whether this window requests that content changes be performed as scene changes with transitions. |
| Flag allowing you to disable the preview animation for a window. |
| Flag indicating that this window should allow touches to be split across other windows that also support split touch. |
| Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. |
| Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity. |
| Drawable to use as a frame around the window. |
| Flag indicating whether this window should fill the entire screen. |
| Flag indicating whether this is a floating window. |
| Flag indicating whether this is a translucent window. |
| Flag indicating that this window should not be displayed at all. |
| Flag indicating whether there should be no title on this window. |
| Flag indicating whether this window should extend into overscan region. |
| Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity. |
| Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close. |
| Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene. |
| Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity. |
| Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. |
| Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. |
| Indicates whether or not shared elements should use an overlay during transitions. |
| Flag indicating that this window's background should be the user's current wallpaper. |
| Defines the default soft input state that this window would like when it is displayed. |
| Flag to indicate that a window can be swiped away to be dismissed. |
| The style resource to use for a window's title area. |
| The style resource to use for a window's title bar height. |
| The style resource to use for a window's title text. |
| The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition. |
| Flag indicating whether this window requests a translucent navigation bar. |
| Flag indicating whether this window requests a translucent status bar. |
| Default style for YesNoPreference. |
See also:
Theme_absListViewStyleTheme_actionBarDividerTheme_actionBarItemBackgroundTheme_actionBarPopupThemeTheme_actionBarSizeTheme_actionBarSplitStyleTheme_actionBarStyleTheme_actionBarTabBarStyleTheme_actionBarTabStyleTheme_actionBarTabTextStyleTheme_actionBarThemeTheme_actionBarWidgetThemeTheme_actionButtonStyleTheme_actionDropDownStyleTheme_actionMenuTextAppearanceTheme_actionMenuTextColorTheme_actionModeBackgroundTheme_actionModeCloseButtonStyleTheme_actionModeCloseDrawableTheme_actionModeCopyDrawableTheme_actionModeCutDrawableTheme_actionModeFindDrawableTheme_actionModePasteDrawableTheme_actionModeSelectAllDrawableTheme_actionModeShareDrawableTheme_actionModeSplitBackgroundTheme_actionModeStyleTheme_actionModeWebSearchDrawableTheme_actionOverflowButtonStyleTheme_actionOverflowMenuStyleTheme_activatedBackgroundIndicatorTheme_alertDialogIconTheme_alertDialogStyleTheme_alertDialogThemeTheme_ambientShadowAlphaTheme_autoCompleteTextViewStyleTheme_backgroundDimAmountTheme_backgroundDimEnabledTheme_borderlessButtonStyleTheme_buttonBarButtonStyleTheme_buttonBarNegativeButtonStyleTheme_buttonBarNeutralButtonStyleTheme_buttonBarPositiveButtonStyleTheme_buttonBarStyleTheme_buttonStyleTheme_buttonStyleInsetTheme_buttonStyleSmallTheme_buttonStyleToggleTheme_calendarViewStyleTheme_candidatesTextStyleSpansTheme_checkBoxPreferenceStyleTheme_checkboxStyleTheme_checkedTextViewStyleTheme_colorAccentTheme_colorActivatedHighlightTheme_colorBackgroundTheme_colorBackgroundCacheHintTheme_colorBackgroundFloatingTheme_colorButtonNormalTheme_colorControlActivatedTheme_colorControlHighlightTheme_colorControlNormalTheme_colorEdgeEffectTheme_colorFocusedHighlightTheme_colorForegroundTheme_colorForegroundInverseTheme_colorLongPressedHighlightTheme_colorMultiSelectHighlightTheme_colorPressedHighlightTheme_colorPrimaryTheme_colorPrimaryDarkTheme_colorSecondaryTheme_contextPopupMenuStyleTheme_datePickerDialogThemeTheme_datePickerStyleTheme_detailsElementBackgroundTheme_dialogPreferenceStyleTheme_dialogPreferredPaddingTheme_dialogThemeTheme_disabledAlphaTheme_dividerHorizontalTheme_dividerVerticalTheme_dropDownHintAppearanceTheme_dropDownItemStyleTheme_dropDownListViewStyleTheme_dropDownSpinnerStyleTheme_editTextBackgroundTheme_editTextColorTheme_editTextPreferenceStyleTheme_editTextStyleTheme_expandableListPreferredChildIndicatorLeftTheme_expandableListPreferredChildIndicatorRightTheme_expandableListPreferredChildPaddingLeftTheme_expandableListPreferredItemIndicatorLeftTheme_expandableListPreferredItemIndicatorRightTheme_expandableListPreferredItemPaddingLeftTheme_expandableListViewStyleTheme_expandableListViewWhiteStyleTheme_fastScrollOverlayPositionTheme_fastScrollPreviewBackgroundLeftTheme_fastScrollPreviewBackgroundRightTheme_fastScrollTextColorTheme_fastScrollThumbDrawableTheme_fastScrollTrackDrawableTheme_fingerprintAuthDrawableTheme_galleryItemBackgroundTheme_galleryStyleTheme_gridViewStyleTheme_homeAsUpIndicatorTheme_horizontalScrollViewStyleTheme_imageButtonStyleTheme_imageWellStyleTheme_listChoiceBackgroundIndicatorTheme_listChoiceIndicatorMultipleTheme_listChoiceIndicatorSingleTheme_listDividerTheme_listDividerAlertDialogTheme_listMenuViewStyleTheme_listPopupWindowStyleTheme_listPreferredItemHeightTheme_listPreferredItemHeightLargeTheme_listPreferredItemHeightSmallTheme_listPreferredItemPaddingEndTheme_listPreferredItemPaddingLeftTheme_listPreferredItemPaddingRightTheme_listPreferredItemPaddingStartTheme_listSeparatorTextViewStyleTheme_listViewStyleTheme_listViewWhiteStyleTheme_mapViewStyleTheme_mediaRouteButtonStyleTheme_numberPickerStyleTheme_panelBackgroundTheme_panelColorBackgroundTheme_panelColorForegroundTheme_panelFullBackgroundTheme_panelTextAppearanceTheme_popupMenuStyleTheme_popupWindowStyleTheme_preferenceCategoryStyleTheme_preferenceFragmentStyleTheme_preferenceInformationStyleTheme_preferenceLayoutChildTheme_preferenceScreenStyleTheme_preferenceStyleTheme_presentationThemeTheme_progressBarStyleTheme_progressBarStyleHorizontalTheme_progressBarStyleInverseTheme_progressBarStyleLargeTheme_progressBarStyleLargeInverseTheme_progressBarStyleSmallTheme_progressBarStyleSmallInverseTheme_progressBarStyleSmallTitleTheme_quickContactBadgeStyleSmallWindowLargeTheme_quickContactBadgeStyleSmallWindowMediumTheme_quickContactBadgeStyleSmallWindowSmallTheme_quickContactBadgeStyleWindowLargeTheme_quickContactBadgeStyleWindowMediumTheme_quickContactBadgeStyleWindowSmallTheme_radioButtonStyleTheme_ratingBarStyleTheme_ratingBarStyleIndicatorTheme_ratingBarStyleSmallTheme_ringtonePreferenceStyleTheme_scrollViewStyleTheme_searchViewStyleTheme_seekBarStyleTheme_segmentedButtonStyleTheme_selectableItemBackgroundTheme_selectableItemBackgroundBorderlessTheme_spinnerDropDownItemStyleTheme_spinnerItemStyleTheme_spinnerStyleTheme_spotShadowAlphaTheme_stackViewStyleTheme_starStyleTheme_switchPreferenceStyleTheme_switchStyleTheme_tabWidgetStyleTheme_textAppearanceTheme_textAppearanceButtonTheme_textAppearanceInverseTheme_textAppearanceLargeTheme_textAppearanceLargeInverseTheme_textAppearanceLargePopupMenuTheme_textAppearanceListItemTheme_textAppearanceListItemSecondaryTheme_textAppearanceListItemSmallTheme_textAppearanceMediumTheme_textAppearanceMediumInverseTheme_textAppearancePopupMenuHeaderTheme_textAppearanceSearchResultSubtitleTheme_textAppearanceSearchResultTitleTheme_textAppearanceSmallTheme_textAppearanceSmallInverseTheme_textAppearanceSmallPopupMenuTheme_textCheckMarkTheme_textCheckMarkInverseTheme_textColorAlertDialogListItemTheme_textColorHighlightInverseTheme_textColorHintInverseTheme_textColorLinkInverseTheme_textColorPrimaryTheme_textColorPrimaryDisableOnlyTheme_textColorPrimaryInverseTheme_textColorPrimaryInverseDisableOnlyTheme_textColorPrimaryInverseNoDisableTheme_textColorPrimaryNoDisableTheme_textColorSecondaryTheme_textColorSecondaryInverseTheme_textColorSecondaryInverseNoDisableTheme_textColorSecondaryNoDisableTheme_textColorTertiaryTheme_textColorTertiaryInverseTheme_textEditNoPasteWindowLayoutTheme_textEditPasteWindowLayoutTheme_textEditSideNoPasteWindowLayoutTheme_textEditSidePasteWindowLayoutTheme_textEditSuggestionItemLayoutTheme_textSelectHandleTheme_textSelectHandleLeftTheme_textSelectHandleRightTheme_textSelectHandleWindowStyleTheme_textSuggestionsWindowStyleTheme_textViewStyleTheme_timePickerDialogThemeTheme_timePickerStyleTheme_toolbarStyleTheme_webTextViewStyleTheme_webViewStyleTheme_windowActionBarTheme_windowActionBarOverlayTheme_windowActionModeOverlayTheme_windowActivityTransitionsTheme_windowAllowEnterTransitionOverlapTheme_windowAllowReturnTransitionOverlapTheme_windowAnimationStyleTheme_windowBackgroundTheme_windowBackgroundFallbackTheme_windowCloseOnTouchOutsideTheme_windowContentOverlayTheme_windowContentTransitionManagerTheme_windowContentTransitionsTheme_windowDisablePreviewTheme_windowEnableSplitTouchTheme_windowEnterTransitionTheme_windowExitTransitionTheme_windowFrameTheme_windowFullscreenTheme_windowIsFloatingTheme_windowIsTranslucentTheme_windowNoDisplayTheme_windowNoTitleTheme_windowOverscanTheme_windowReenterTransitionTheme_windowReturnTransitionTheme_windowSharedElementEnterTransitionTheme_windowSharedElementExitTransitionTheme_windowSharedElementReenterTransitionTheme_windowSharedElementReturnTransitionTheme_windowSharedElementsUseOverlayTheme_windowShowWallpaperTheme_windowSoftInputModeTheme_windowSwipeToDismissTheme_windowTitleBackgroundStyleTheme_windowTitleSizeTheme_windowTitleStyleTheme_windowTransitionBackgroundFadeDurationTheme_windowTranslucentNavigationTheme_windowTranslucentStatusTheme_yesNoPreferenceStyle
TimePicker
int[] TimePicker
Attributes that can be used with a TimePicker.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The background color state list for the AM/PM selectors. |
| The color for the AM/PM selectors. |
| The text appearance for the AM/PM header. |
| The background for the header containing the currently selected time. |
| The text appearance for the time header. |
| The background color for the hours/minutes numbers. |
| The color for the inner hours numbers used in 24-hour mode. |
| The color for the hours/minutes selector. |
| The color for the hours/minutes numbers. |
| Defines the look of the widget. |
See also:
ToggleButton
int[] ToggleButton
Attributes that can be used with a ToggleButton.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The alpha to apply to the indicator when disabled. |
| The text for the button when it is not checked. |
| The text for the button when it is checked. |
Toolbar
int[] Toolbar
Attributes that can be used with a Toolbar.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
| Text to set as the content description for the collapse button. |
| Icon drawable to use for the collapse button. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when actions from a menu are present. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
| Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
| Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button. |
| A content description string to describe the appearance of the associated logo image. |
| |
| Text to set as the content description for the navigation button located at the start of the toolbar. |
| Icon drawable to use for the navigation button located at the start of the toolbar. |
| Reference to a theme that should be used to inflate popups shown by widgets in the toolbar. |
| Specifies subtitle text used for navigationMode="normal" |
| |
| A color to apply to the subtitle string. |
| The title associated with the item. |
| Specifies extra space on the left, start, right and end sides of the toolbar's title. |
| Specifies extra space on the bottom side of the toolbar's title. |
| Specifies extra space on the end side of the toolbar's title. |
| Specifies extra space on the start side of the toolbar's title. |
| Specifies extra space on the top side of the toolbar's title. |
| |
| A color to apply to the title string. |
See also:
Toolbar_buttonGravityToolbar_collapseContentDescriptionToolbar_collapseIconToolbar_contentInsetEndToolbar_contentInsetEndWithActionsToolbar_contentInsetLeftToolbar_contentInsetRightToolbar_contentInsetStartToolbar_contentInsetStartWithNavigationToolbar_gravityToolbar_logoToolbar_logoDescriptionToolbar_maxButtonHeightToolbar_navigationContentDescriptionToolbar_navigationIconToolbar_popupThemeToolbar_subtitleToolbar_subtitleTextAppearanceToolbar_subtitleTextColorToolbar_titleToolbar_titleMarginToolbar_titleMarginBottomToolbar_titleMarginEndToolbar_titleMarginStartToolbar_titleMarginTopToolbar_titleTextAppearanceToolbar_titleTextColor
Toolbar_LayoutParams
int[] Toolbar_LayoutParams
Attributes that can be used with a Toolbar_LayoutParams.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Standard gravity constant that a child supplies to its parent. |
See also:
Transition
int[] Transition
Use specific transition subclass names as the root tag of the XML resource that
describes a Transition,
such as changeBounds, fade, and transitionSet.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Amount of time (in milliseconds) that the transition should run. |
| Interpolator to be used in the animations spawned by this transition. |
| The match order to use for the transition. |
| Delay in milliseconds before the transition starts. |
TransitionManager
int[] TransitionManager
Use transitionManager as the root tag of the XML resource that
describes a TransitionManager.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The originating scene in this scene change. |
| The destination scene in this scene change. |
| The id of a transition to be used in a particular scene change. |
TransitionSet
int[] TransitionSet
Use set as the root tag of the XML resource that
describes a TransitionSet transition.
Includes the following attributes:
| Attribute | Description |
|---|---|
|
See also:
TransitionTarget
int[] TransitionTarget
Use target as the root tag of the XML resource that
describes a targetId of a transition. There can be one or more targets inside
a targets tag, which is itself inside an appropriate
Transition tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The fully-qualified name of the Class to exclude from this transition. |
| The id of a target to exclude from this transition. |
| The transitionName of the target to exclude from this transition. |
| The fully-qualified name of the Class to include in this transition. |
| The id of a target on which this transition will animate changes. |
| The transitionName of the target on which this transition will animation changes. |
TranslateAnimation
int[] TranslateAnimation
Attributes that can be used with a TranslateAnimation.
Includes the following attributes:
| Attribute | Description |
|---|---|
| |
| |
| |
|
TvInputService
int[] TvInputService
Use tv-input as the root tag of the XML resource that describes a
TvInputService, which is referenced from its
SERVICE_META_DATA meta-data entry.
Described here are the attributes that can be included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Attribute whether the TV input service can record programs. |
| Component name of an activity that allows the user to modify the settings for this service. |
| Component name of an activity that allows the user to set up this service. |
| The number of tuners that the TV input service is associated with. |
TwoLineListItem
int[] TwoLineListItem
Attributes that can be used with a TwoLineListItem.
Includes the following attributes:
| Attribute | Description |
|---|---|
|
See also:
VectorDrawable
int[] VectorDrawable
Drawable used to draw vector paths.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The opacity of the whole vector drawable, as a value between 0 (completely transparent) and 1 (completely opaque). |
| Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
| The intrinsic height of the Vector Drawable. |
| The name of this vector drawable |
| If set, specifies the color to apply to the drawable as a tint. |
| When a tint color is set, specifies its Porter-Duff blending mode. |
| The height of the canvas the drawing is on. |
| The width of the canvas the drawing is on. |
| The intrinsic width of the Vector Drawable. |
VectorDrawableClipPath
int[] VectorDrawableClipPath
Defines the clip path used in VectorDrawables.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The Name of this path |
| The specification of the operations that define the path |
VectorDrawableGroup
int[] VectorDrawableGroup
Defines the group used in VectorDrawables.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The name of this group |
| The X coordinate of the center of rotation of a group |
| The Y coordinate of the center of rotation of a group |
| The amount to rotate the group |
| The amount to scale the group on X coordinate |
| The amount to scale the group on X coordinate |
| The amount to translate the group on X coordinate |
| The amount to translate the group on Y coordinate |
VectorDrawablePath
int[] VectorDrawablePath
Defines the path used in VectorDrawables.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque) |
| The color to fill the path if not defined implies no fill |
| sets the fillType for a path. |
| The name of this path |
| The specification of the operations that define the path |
| The opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque) |
| The color to stroke the path if not defined implies no stroke |
| sets the linecap for a stroked path |
| sets the lineJoin for a stroked path |
| sets the Miter limit for a stroked path |
| The width a path stroke |
| The fraction of the path to trim from the end from 0 to 1 |
| Shift trim region (allows visible region to include the start and end) from 0 to 1 |
| The fraction of the path to trim from the start from 0 to 1 |
See also:
VectorDrawablePath_fillAlphaVectorDrawablePath_fillColorVectorDrawablePath_fillTypeVectorDrawablePath_nameVectorDrawablePath_pathDataVectorDrawablePath_strokeAlphaVectorDrawablePath_strokeColorVectorDrawablePath_strokeLineCapVectorDrawablePath_strokeLineJoinVectorDrawablePath_strokeMiterLimitVectorDrawablePath_strokeWidthVectorDrawablePath_trimPathEndVectorDrawablePath_trimPathOffsetVectorDrawablePath_trimPathStart
VerticalSlider_Layout
int[] VerticalSlider_Layout
Attributes that can be used with a VerticalSlider_Layout.
Includes the following attributes:
| Attribute | Description |
|---|---|
|
See also:
View
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:
| Attribute | Description |
|---|---|
| Indicates to accessibility services whether the user should be notified when this view changes. |
| Sets the id of a view after which this one is visited in accessibility traversal. |
| Sets the id of a view before which this one is visited in accessibility traversal. |
| alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque). |
| A drawable to use as the background. |
| Tint to apply to the background. |
| Blending mode used to apply the background tint. |
| Defines whether this view reacts to click events. |
| Defines text that briefly describes content of the view. |
| Defines whether this view reacts to context click events. |
| Defines the quality of translucent drawing caches. |
| When this attribute is set to true, the view gets its drawable state (focused, pressed, etc. |
| base z depth of the view |
| Defines whether to fade out scrollbars when they are not in use. |
| This attribute is deprecated and will be ignored as of
API level 14 (ICE_CREAM_SANDWICH). |
| Defines the length of the fading edges. |
| Specifies whether to filter touches when the view's window is obscured by another visible window. |
| Boolean internal attribute to adjust view layout based on system windows such as the status bar. |
| Boolean that controls whether a view can take focus. |
| Boolean that controls whether a view can take focus while in touch mode. |
| Whether this view has elements that may overlap when drawn. |
| Defines the drawable to draw over the content. |
| Defines the gravity to apply to the foreground drawable. |
| Tint to apply to the foreground. |
| Blending mode used to apply the foreground tint. |
| Boolean that controls whether a view should have haptic feedback enabled for events such as long presses. |
| Supply an identifier name for this view, to later retrieve it
with View.findViewById() or
Activity.findViewById(). |
| Describes whether or not this view is important for accessibility. |
| Set this if the view will serve as a scrolling container, meaning that it can be resized to shrink its overall window so that there will be space for an input method. |
| Controls whether the view's window should keep the screen on while visible. |
| Specifies the id of a view for which this view serves as a label for accessibility purposes. |
| Specifies the type of layer backing this view. |
| Defines the direction of layout drawing. |
| Defines whether this view reacts to long click events. |
| Defines the minimum height of the view. |
| Defines the minimum width of the view. |
| Specifies that this view should permit nested scrolling within a compatible ancestor view. |
| 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. |
| Defines the next view to give focus to when the next focus is
FOCUS_FORWARD
If the reference refers to a view that does not exist or is part
of a hierarchy that is invisible, a RuntimeException
will result when the reference is accessed. |
| Defines the next view to give focus to when the next focus is
FOCUS_LEFT. |
| 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. |
| 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. |
| Name of the method in this View's context to invoke when the view is clicked. |
| ViewOutlineProvider used to determine the View's Outline. |
| Defines over-scrolling behavior. |
| Sets the padding, in pixels, of all four edges. |
| Sets the padding, in pixels, of the bottom edge; see padding. |
| Sets the padding, in pixels, of the end edge; see padding. |
| Sets the padding, in pixels, of the left edge; see padding. |
| Sets the padding, in pixels, of the right edge; see padding. |
| Sets the padding, in pixels, of the start edge; see padding. |
| Sets the padding, in pixels, of the top edge; see padding. |
| |
| Defines which edges should be faded on scrolling. |
| rotation of the view, in degrees. |
| rotation of the view around the x axis, in degrees. |
| rotation of the view around the y axis, in degrees. |
| If false, no state will be saved for this view when it is being frozen. |
| scale of the view in the x direction. |
| scale of the view in the y direction. |
| Defines which scroll indicators should be displayed when the view can be scrolled. |
| The initial horizontal scroll offset, in pixels. |
| The initial vertical scroll offset, in pixels. |
| Defines whether the horizontal scrollbar track should always be drawn. |
| Defines whether the vertical scrollbar track should always be drawn. |
| Defines the delay in milliseconds that a scrollbar waits before fade out. |
| Defines the delay in milliseconds that a scrollbar takes to fade out. |
| Sets the width of vertical scrollbars and height of horizontal scrollbars. |
| Controls the scrollbar style and position. |
| Defines the horizontal scrollbar thumb drawable. |
| Defines the vertical scrollbar thumb drawable. |
| Defines the horizontal scrollbar track drawable. |
| Defines the vertical scrollbar track drawable. |
| Defines which scrollbars should be displayed on scrolling or not. |
| Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching. |
| Sets the state-based animator for the View. |
| Supply a tag for this view containing a String, to be retrieved
later with View.getTag() or
searched for with View.findViewWithTag(). |
| Defines the alignment of the text. |
| Defines the direction of the text. |
| Specifies a theme override for a view. |
| x location of the pivot point around which the view will rotate and scale. |
| y location of the pivot point around which the view will rotate and scale. |
| Names a View such that it can be identified for Transitions. |
| translation in x of the view. |
| translation in y of the view. |
| translation in z of the view. |
| Determines which side the vertical scroll bar should be placed on. |
| Controls the initial visibility of the view. |
See also:
View_accessibilityLiveRegionView_accessibilityTraversalAfterView_accessibilityTraversalBeforeView_alphaView_backgroundView_backgroundTintView_backgroundTintModeView_clickableView_contentDescriptionView_contextClickableView_drawingCacheQualityView_duplicateParentStateView_elevationView_fadeScrollbarsView_fadingEdgeView_fadingEdgeLengthView_filterTouchesWhenObscuredView_fitsSystemWindowsView_focusableView_focusableInTouchModeView_forceHasOverlappingRenderingView_foregroundView_foregroundGravityView_foregroundTintView_foregroundTintModeView_hapticFeedbackEnabledView_idView_importantForAccessibilityView_isScrollContainerView_keepScreenOnView_labelForView_layerTypeView_layoutDirectionView_longClickableView_minHeightView_minWidthView_nestedScrollingEnabledView_nextFocusDownView_nextFocusForwardView_nextFocusLeftView_nextFocusRightView_nextFocusUpView_onClickView_outlineProviderView_overScrollModeView_paddingView_paddingBottomView_paddingEndView_paddingLeftView_paddingRightView_paddingStartView_paddingTopView_pointerIconView_requiresFadingEdgeView_rotationView_rotationXView_rotationYView_saveEnabledView_scaleXView_scaleYView_scrollIndicatorsView_scrollXView_scrollYView_scrollbarAlwaysDrawHorizontalTrackView_scrollbarAlwaysDrawVerticalTrackView_scrollbarDefaultDelayBeforeFadeView_scrollbarFadeDurationView_scrollbarSizeView_scrollbarStyleView_scrollbarThumbHorizontalView_scrollbarThumbVerticalView_scrollbarTrackHorizontalView_scrollbarTrackVerticalView_scrollbarsView_soundEffectsEnabledView_stateListAnimatorView_tagView_textAlignmentView_textDirectionView_themeView_transformPivotXView_transformPivotYView_transitionNameView_translationXView_translationYView_translationZView_verticalScrollbarPositionView_visibility
ViewAnimator
int[] ViewAnimator
Attributes that can be used with a ViewAnimator.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Defines whether to animate the current View when the ViewAnimation is first displayed. |
| Identifier for the animation to use when a view is shown. |
| Identifier for the animation to use when a view is hidden. |
ViewDrawableStates
int[] ViewDrawableStates
Attributes that can be used with a ViewDrawableStates.
Includes the following attributes:
| Attribute | Description |
|---|---|
| State value for StateListDrawable,
indicating that the Drawable is in a view that is hardware accelerated. |
| State value for StateListDrawable,
set when a view or its parent has been "activated" meaning the user has currently
marked it as being of interest. |
| State for StateListDrawable
indicating that the Drawable is in a view that is capable of accepting a drop of
the content currently being manipulated in a drag-and-drop operation. |
| State for StateListDrawable
indicating that a drag operation (for which the Drawable's view is a valid recipient)
is currently positioned over the Drawable. |
| State value for StateListDrawable,
set when a view is enabled. |
| State value for StateListDrawable,
set when a view has input focus. |
| State value for StateListDrawable,
set when a pointer is hovering over the view. |
| State value for StateListDrawable,
set when the user is pressing down in a view. |
| State value for StateListDrawable,
set when a view (or one of its parents) is currently selected. |
| State value for StateListDrawable,
set when a view's window has input focus. |
See also:
ViewDrawableStates_state_acceleratedViewDrawableStates_state_activatedViewDrawableStates_state_drag_can_acceptViewDrawableStates_state_drag_hoveredViewDrawableStates_state_enabledViewDrawableStates_state_focusedViewDrawableStates_state_hoveredViewDrawableStates_state_pressedViewDrawableStates_state_selectedViewDrawableStates_state_window_focused
ViewFlipper
int[] ViewFlipper
Attributes that can be used with a ViewFlipper.
Includes the following attributes:
| Attribute | Description |
|---|---|
| When true, automatically start animating |
|
ViewGroup
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:
| Attribute | Description |
|---|---|
| Sets whether this ViewGroup's drawable states also include its children's drawable states. |
| Defines whether the ViewGroup should always draw its children using their drawing cache or not. |
| Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run. |
| Defines whether layout animations should create a drawing cache for their children. |
| Defines whether a child is limited to draw inside of its bounds or not. |
| Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero. |
| Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus. |
| Defines the layout animation to use the first time the ViewGroup is laid out. |
| Defines the layout mode of this ViewGroup. |
| Defines the persistence of the drawing cache. |
| Sets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch. |
| Set to true if this ViewGroup blocks focus in the presence of a touchscreen. |
| Sets whether or not this ViewGroup should be treated as a single entity when doing an Activity transition. |
See also:
ViewGroup_addStatesFromChildrenViewGroup_alwaysDrawnWithCacheViewGroup_animateLayoutChangesViewGroup_animationCacheViewGroup_clipChildrenViewGroup_clipToPaddingViewGroup_descendantFocusabilityViewGroup_layoutAnimationViewGroup_layoutModeViewGroup_persistentDrawingCacheViewGroup_splitMotionEventsViewGroup_touchscreenBlocksFocusViewGroup_transitionGroup
ViewGroup_Layout
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:
| Attribute | Description |
|---|---|
| Specifies the basic height of the view. |
| Specifies the basic width of the view. |
ViewGroup_MarginLayout
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:
| Attribute | Description |
|---|---|
| Specifies the basic height of the view. |
| Specifies extra space on the left, top, right and bottom sides of this view. |
| Specifies extra space on the bottom side of this view. |
| Specifies extra space on the end side of this view. |
| Specifies extra space on the left side of this view. |
| Specifies extra space on the right side of this view. |
| Specifies extra space on the start side of this view. |
| Specifies extra space on the top side of this view. |
| Specifies the basic width of the view. |
See also:
ViewGroup_MarginLayout_layout_heightViewGroup_MarginLayout_layout_marginViewGroup_MarginLayout_layout_marginBottomViewGroup_MarginLayout_layout_marginEndViewGroup_MarginLayout_layout_marginLeftViewGroup_MarginLayout_layout_marginRightViewGroup_MarginLayout_layout_marginStartViewGroup_MarginLayout_layout_marginTopViewGroup_MarginLayout_layout_width
ViewStub
int[] ViewStub
A ViewStub lets you lazily include other XML layouts
inside your application at runtime.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Supply an identifier name for this view. |
| Overrides the id of the inflated View with this value. |
| Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
ViewSwitcher
int[] ViewSwitcher
Attributes that can be used with a ViewSwitcher.
ViewTag
int[] ViewTag
Attributes that can be assigned to a tag for a particular View.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Specifies the key identifying a tag. |
| Specifies the value with which to tag the view. |
See also:
VisibilityTransition
int[] VisibilityTransition
Use with Visibility transitions, such as
slide, explode, and fade to mark which
views are supported.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Changes whether the transition supports appearing and/or disappearing Views. |
VoiceInteractionService
int[] VoiceInteractionService
Use voice-interaction-service as the root tag of the XML resource that
describes a VoiceInteractionService, which is referenced from
its SERVICE_META_DATA meta-data entry.
Described here are the attributes that can be included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| The service that provides voice recognition. |
| The service that hosts active voice interaction sessions. |
| Component name of an activity that allows the user to modify the settings for this service. |
| Flag indicating whether this voice interaction service is capable of handling the assist action. |
| Flag indicating whether this voice interaction service is capable of being launched from the keyguard. |
| Flag indicating whether this voice interaction service can handle local voice interaction requests from an Activity. |
VoiceInteractionSession
int[] VoiceInteractionSession
Attributes that can be used with a VoiceInteractionSession.
VolumePreference
int[] VolumePreference
Base attributes available to VolumePreference.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Different audio stream types. |
See also:
Wallpaper
int[] Wallpaper
Use wallpaper as the root tag of the XML resource that
describes an
WallpaperService, which is
referenced from its
SERVICE_META_DATA
meta-data entry. Described here are the attributes that can be
included in that tag.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Name of the author and/or source/collection of this component, e. |
| Title of the uri that specifies a link for further context of this wallpaper, e. |
| Uri that specifies a link for further context of this wallpaper, e. |
| Short description of the component's purpose or behavior. |
| Component name of an activity that allows the user to modify the settings for this service. |
| Whether to show any metadata when previewing the wallpaper. |
| Reference to the wallpaper's thumbnail bitmap. |
WallpaperPreviewInfo
int[] WallpaperPreviewInfo
Use wallpaper-preview as the root tag of the XML resource that
describes a wallpaper preview.
Includes the following attributes:
| Attribute | Description |
|---|---|
| A resource id of a static drawable. |
Window
int[] Window
The set of attributes that describe a Windows's theme.
Includes the following attributes:
| Attribute | Description |
|---|---|
| Default background dim amount when a menu, dialog, or something similar pops up. |
| Control whether dimming behind the window is enabled. |
| The color for the navigation bar. |
| The color for the status bar. |
| Color of text (usually same as colorForeground). |
| Flag indicating whether this window should have an Action Bar in place of the usual title bar. |
| Flag indicating whether this window's Action Bar should overlay application content. |
| Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). |
| Flag indicating whether this window allows Activity Transitions. |
| Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. |
| Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. |
| Reference to a style resource holding
the set of window animations to use, which can be
any of the attributes defined by
WindowAnimation. |
| Drawable to use as the overall window background. |
| Drawable to draw selectively within the inset areas when the windowBackground has been set to null. |
| Whether to clip window content to the outline of the window background. |
| Control whether a container should automatically close itself if the user touches outside of it. |
| This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title. |
| Reference to a TransitionManager XML resource defining the desired transitions between different window content. |
| Flag indicating whether this window requests that content changes be performed as scene changes with transitions. |
| Flag allowing you to disable the preview animation for a window. |
| Flag indicating whether this Window is responsible for drawing the background for the system bars. |
| Elevation to use for the window. |
| Flag indicating that this window should allow touches to be split across other windows that also support split touch. |
| Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. |
| Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity. |
| Drawable to use as a frame around the window. |
| Flag indicating whether this window should fill the entire screen. |
| Flag indicating whether this is a floating window. |
| Flag indicating whether this is a translucent window. |
| If set, the status bar will be drawn such that it is compatible with a light status bar background. |
| The minimum width the window is allowed to be, along the major axis of the screen. |
| The minimum width the window is allowed to be, along the minor axis of the screen. |
| Flag indicating that this window should not be displayed at all. |
| Flag indicating whether there should be no title on this window. |
| Flag indicating whether this window should extend into overscan region. |
| Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity. |
| Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close. |
| Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene. |
| Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity. |
| Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. |
| Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. |
| Indicates whether or not shared elements should use an overlay during transitions. |
| Flag indicating that this window's background should be the user's current wallpaper. |
| Defines the default soft input state that this window would like when it is displayed. |
| Flag to indicate that a window can be swiped away to be dismissed. |
| The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition. |
| Flag indicating whether this window requests a translucent navigation bar. |
| Flag indicating whether this window requests a translucent status bar. |
See also:
Window_backgroundDimAmountWindow_backgroundDimEnabledWindow_navigationBarColorWindow_statusBarColorWindow_textColorWindow_windowActionBarWindow_windowActionBarOverlayWindow_windowActionModeOverlayWindow_windowActivityTransitionsWindow_windowAllowEnterTransitionOverlapWindow_windowAllowReturnTransitionOverlapWindow_windowAnimationStyleWindow_windowBackgroundWindow_windowBackgroundFallbackWindow_windowClipToOutlineWindow_windowCloseOnTouchOutsideWindow_windowContentOverlayWindow_windowContentTransitionManagerWindow_windowContentTransitionsWindow_windowDisablePreviewWindow_windowDrawsSystemBarBackgroundsWindow_windowElevationWindow_windowEnableSplitTouchWindow_windowEnterTransitionWindow_windowExitTransitionWindow_windowFrameWindow_windowFullscreenWindow_windowIsFloatingWindow_windowIsTranslucentWindow_windowLightStatusBarWindow_windowMinWidthMajorWindow_windowMinWidthMinorWindow_windowNoDisplayWindow_windowNoTitleWindow_windowOverscanWindow_windowReenterTransitionWindow_windowReturnTransitionWindow_windowSharedElementEnterTransitionWindow_windowSharedElementExitTransitionWindow_windowSharedElementReenterTransitionWindow_windowSharedElementReturnTransitionWindow_windowSharedElementsUseOverlayWindow_windowShowWallpaperWindow_windowSoftInputModeWindow_windowSwipeToDismissWindow_windowTransitionBackgroundFadeDurationWindow_windowTranslucentNavigationWindow_windowTranslucentStatus
WindowAnimation
int[] WindowAnimation
Window animation class attributes.
Includes the following attributes:
| Attribute | Description |
|---|---|
| When closing the current activity, this is the animation that is run on the next activity (which is entering the screen). |
| When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen). |
| When opening a new activity, this is the animation that is run on the next activity (which is entering the screen). |
| When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen). |
| When opening an activity in a new task using Intent. |
| When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the new task (which is entering the screen and then leaving). |
| When closing the last activity of a task, this is the animation that is run on the activity of the next task (which is entering the screen). |
| When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen). |
| When opening an activity in a new task, this is the animation that is run on the activity of the new task (which is entering the screen). |
| When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen). |
| When sending the current task to the background, this is the animation that is run on the top activity of the task behind it (which is entering the screen). |
| When sending the current task to the background, this is the animation that is run on the top activity of the current task (which is exiting the screen). |
| When bringing an existing task to the foreground, this is the animation that is run on the top activity of the task being brought to the foreground (which is entering the screen). |
| When bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen). |
| When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the new activity (which is entering the screen). |
| When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the old wallpaper activity (which is exiting the screen). |
| When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the previous activity (which is entering the screen). |
| When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
| When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the new activity (which is entering the screen). |
| When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
| When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the new wallpaper activity (which is entering the screen). |
| When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
| The animation used when a window is being added. |
| The animation used when a window is being removed. |
| The animation used when a window is going from VISIBLE to INVISIBLE. |
| The animation used when a window is going from INVISIBLE to VISIBLE. |
See also:
WindowAnimation_activityCloseEnterAnimationWindowAnimation_activityCloseExitAnimationWindowAnimation_activityOpenEnterAnimationWindowAnimation_activityOpenExitAnimationWindowAnimation_launchTaskBehindSourceAnimationWindowAnimation_launchTaskBehindTargetAnimationWindowAnimation_taskCloseEnterAnimationWindowAnimation_taskCloseExitAnimationWindowAnimation_taskOpenEnterAnimationWindowAnimation_taskOpenExitAnimationWindowAnimation_taskToBackEnterAnimationWindowAnimation_taskToBackExitAnimationWindowAnimation_taskToFrontEnterAnimationWindowAnimation_taskToFrontExitAnimationWindowAnimation_wallpaperCloseEnterAnimationWindowAnimation_wallpaperCloseExitAnimationWindowAnimation_wallpaperIntraCloseEnterAnimationWindowAnimation_wallpaperIntraCloseExitAnimationWindowAnimation_wallpaperIntraOpenEnterAnimationWindowAnimation_wallpaperIntraOpenExitAnimationWindowAnimation_wallpaperOpenEnterAnimationWindowAnimation_wallpaperOpenExitAnimationWindowAnimation_windowEnterAnimationWindowAnimation_windowExitAnimationWindowAnimation_windowHideAnimationWindowAnimation_windowShowAnimation
Public constructors
R.styleable
R.styleable ()

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
