| java.lang.Object | |
| ↳ | android.R.attr |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | absListViewStyle | Default AbsListView style. | |||||||||
| int | accountPreferences | A preferences.xml file for authenticator-specific settings. | |||||||||
| int | accountType | The account type this authenticator handles. | |||||||||
| int | action | The action name to assign to the Intent, as per
Intent.setAction(). |
|||||||||
| int | activityCloseEnterAnimation | When closing the current activity, this is the animation that is run on the next activity (which is entering the screen). | |||||||||
| int | activityCloseExitAnimation | When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen). | |||||||||
| int | activityOpenEnterAnimation | When opening a new activity, this is the animation that is run on the next activity (which is entering the screen). | |||||||||
| int | activityOpenExitAnimation | When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen). | |||||||||
| int | addStatesFromChildren | Sets whether this ViewGroup's drawable states also include its children's drawable states. | |||||||||
| int | adjustViewBounds | Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable. | |||||||||
| int | alertDialogStyle | Must be a reference to another resource, in the form " |
|||||||||
| int | allowBackup | This is not the attribute you are looking for. | |||||||||
| int | allowClearUserData | Option to let applications specify that user data can/cannot be cleared. | |||||||||
| int | allowSingleTap | Indicates whether the drawer can be opened/closed by a single tap on the handle. | |||||||||
| int | 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 | alphabeticShortcut | The alphabetic shortcut key. | |||||||||
| int | alwaysDrawnWithCache | Defines whether the ViewGroup should always draw its children using their drawing cache or not. | |||||||||
| int | 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 | angle | Must be a floating point value, such as " |
|||||||||
| int | animateOnClick | Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. | |||||||||
| int | animation | Animation to use on each child. | |||||||||
| int | animationCache | Defines whether layout animations should create a drawing cache for their children. | |||||||||
| int | animationDuration | Sets how long a transition animation should run (in milliseconds) when layout has changed. | |||||||||
| int | animationOrder | The order in which the animations will be started. | |||||||||
| int | antialias | Enables or disables antialiasing. | |||||||||
| int | anyDensity | Indicates whether the application can accommodate any screen density. | |||||||||
| int | apiKey | Value is a string that specifies the Maps API Key to use. | |||||||||
| int | authorities | Specify the authorities under which this content provider can be found. | |||||||||
| int | autoCompleteTextViewStyle | Default AutoCompleteTextView style. | |||||||||
| int | autoLink | Controls whether links such as urls and email addresses are automatically found and converted to clickable links. | |||||||||
| int | autoText | This constant is deprecated. Use inputType instead. | |||||||||
| int | autoUrlDetect | If provided and true, URLs entered in the search dialog while searching
within this activity would be detected and treated as URLs (show a 'go' button in the
keyboard and invoke the browser directly when user launches the URL instead of passing
the URL to the activity). |
|||||||||
| int | background | A drawable to use as the background. | |||||||||
| int | backgroundDimAmount | Default background dim amount when a menu, dialog, or something similar pops up. | |||||||||
| int | backgroundDimEnabled | Control whether dimming behind the window is enabled. | |||||||||
| int | backupAgent | The name of the class implementing BackupAgent to manage
backup and restore of the application's settings to external storage. |
|||||||||
| int | baselineAlignBottom | If true, the image view will be baseline aligned with based on its bottom edge. | |||||||||
| int | baselineAligned | When set to false, prevents the layout from aligning its children's baselines. | |||||||||
| int | 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 | bottom | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | bottomBright | May be a reference to another resource, in the form " |
|||||||||
| int | bottomDark | May be a reference to another resource, in the form " |
|||||||||
| int | bottomLeftRadius | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | bottomMedium | May be a reference to another resource, in the form " |
|||||||||
| int | bottomOffset | Extra offset for the handle at the bottom of the SlidingDrawer. | |||||||||
| int | bottomRightRadius | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | bufferType | Determines the minimum type that getText() will return. | |||||||||
| int | button | Drawable used for the button graphic (e.g. | |||||||||
| int | buttonStyle | Normal Button style. | |||||||||
| int | buttonStyleInset | Button style to inset into an EditText. | |||||||||
| int | buttonStyleSmall | Small Button style. | |||||||||
| int | buttonStyleToggle | ToggleButton style. | |||||||||
| int | cacheColorHint | Indicates that this list will always be drawn on top of solid, single-color opaque background. | |||||||||
| int | candidatesTextStyleSpans | A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. | |||||||||
| int | capitalize | This constant is deprecated. Use inputType instead. | |||||||||
| int | centerBright | May be a reference to another resource, in the form " |
|||||||||
| int | centerColor | Optional center color. | |||||||||
| int | centerDark | May be a reference to another resource, in the form " |
|||||||||
| int | centerMedium | May be a reference to another resource, in the form " |
|||||||||
| int | centerX | May be a floating point value, such as " |
|||||||||
| int | centerY | May be a floating point value, such as " |
|||||||||
| int | checkBoxPreferenceStyle | Default style for CheckBoxPreference. | |||||||||
| int | checkMark | Drawable used for the check mark graphic. | |||||||||
| int | checkable | Whether the item is capable of displaying a check mark. | |||||||||
| int | checkableBehavior | Whether the items are capable of displaying a check mark. | |||||||||
| int | checkboxStyle | Default Checkbox style. | |||||||||
| int | checked | Indicates the initial checked state of this button. | |||||||||
| int | checkedButton | The id of the child radio button that should be checked by default within this radio group. | |||||||||
| int | childDivider | Drawable or color that is used as a divider for children. | |||||||||
| int | childIndicator | Indicator shown beside the child View. | |||||||||
| int | childIndicatorLeft | The left bound for a child's indicator. | |||||||||
| int | childIndicatorRight | The right bound for a child's indicator. | |||||||||
| int | choiceMode | Defines the choice behavior for the ListView. | |||||||||
| int | clearTaskOnLaunch | Specify whether an activity's task should be cleared when it is re-launched from the home screen. | |||||||||
| int | clickable | Defines whether this view reacts to click events. | |||||||||
| int | clipChildren | Defines whether a child is limited to draw inside of its bounds or not. | |||||||||
| int | clipOrientation | The orientation for the clip. | |||||||||
| int | clipToPadding | Defines whether the ViewGroup will clip its drawing surface so as to exclude the padding area. | |||||||||
| int | codes | The unicode value or comma-separated values that this key outputs. | |||||||||
| int | collapseColumns | The zero-based index of the columns to collapse. | |||||||||
| int | color | Must be a color value, in the form of " |
|||||||||
| int | colorBackground | Color that matches (as closely as possible) the window background. | |||||||||
| int | colorBackgroundCacheHint | This is a hint for a solid color that can be used for caching rendered views. | |||||||||
| int | colorForeground | Default color of foreground imagery. | |||||||||
| int | colorForegroundInverse | Default color of foreground imagery on an inverted background. | |||||||||
| int | columnDelay | Fraction of the animation duration used to delay the beginning of the animation of each column. | |||||||||
| int | columnWidth | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | completionHint | Defines the hint displayed in the drop down menu. | |||||||||
| int | completionHintView | Defines the hint view displayed in the drop down menu. | |||||||||
| int | completionThreshold | Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu. | |||||||||
| int | configChanges | Specify one or more configuration changes that the activity will handle itself. | |||||||||
| int | configure | A class name in the AppWidget's package to be launched to configure. | |||||||||
| int | 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 | content | Identifier for the child that represents the drawer's content. | |||||||||
| int | contentAuthority | the authority of a content provider. | |||||||||
| int | contentDescription | Defines text that briefly describes content of the view. | |||||||||
| int | cropToPadding | If true, the image will be cropped to fit within its padding. | |||||||||
| int | cursorVisible | Makes the cursor visible (the default) or invisible. | |||||||||
| int | cycles | Must be a floating point value, such as " |
|||||||||
| int | dashGap | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | dashWidth | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | data | The data URI to assign to the Intent, as per
Intent.setData(). |
|||||||||
| int | debuggable | Flag indicating whether the application can be debugged, even when running on a device that is running in user mode. | |||||||||
| int | 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 | delay | Fraction of the animation duration used to delay the beginning of the animation of each child. | |||||||||
| int | dependency | The key of another Preference that this Preference will depend on. | |||||||||
| int | descendantFocusability | Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus. | |||||||||
| int | description | A longer descriptive text about a particular application or permission that can be granted. | |||||||||
| int | detachWallpaper | Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it. | |||||||||
| int | detailColumn | Column in data table that contains details for this data. | |||||||||
| int | detailSocialSummary | Flag indicating that detail should be built from SocialProvider. | |||||||||
| int | dial | Must be a reference to another resource, in the form " |
|||||||||
| int | dialogIcon | The icon for the dialog. | |||||||||
| int | dialogLayout | A layout to be used as the content View for the dialog. | |||||||||
| int | dialogMessage | The message in the dialog. | |||||||||
| int | dialogPreferenceStyle | Default style for DialogPreference. | |||||||||
| int | dialogTitle | The title in the dialog. | |||||||||
| int | 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 | direction | Direction of the animation in the grid. | |||||||||
| int | directionPriority | Priority of the rows and columns. | |||||||||
| int | disableDependentsState | The state (true for on, or false for off) that causes dependents to be disabled. | |||||||||
| int | disabledAlpha | Default disabled alpha for widgets that set enabled/disabled alpha programmatically. | |||||||||
| int | 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 | divider | Drawable or color to draw between list items. | |||||||||
| int | dividerHeight | Height of the divider. | |||||||||
| int | drawSelectorOnTop | When set to true, the selector will be drawn over the selected item. | |||||||||
| int | drawable | Reference to a drawable resource to use for the frame. | |||||||||
| int | drawableBottom | The drawable to be drawn below the text. | |||||||||
| int | drawableLeft | The drawable to be drawn to the left of the text. | |||||||||
| int | drawablePadding | The padding between the drawables and the text. | |||||||||
| int | drawableRight | The drawable to be drawn to the right of the text. | |||||||||
| int | drawableTop | The drawable to be drawn above the text. | |||||||||
| int | drawingCacheQuality | Defines the quality of translucent drawing caches. | |||||||||
| int | dropDownAnchor | View to anchor the auto-complete dropdown to. | |||||||||
| int | dropDownHeight | Specifies the basic width of the dropdown. | |||||||||
| int | dropDownHintAppearance | Default style for drop down hints. | |||||||||
| int | dropDownHorizontalOffset | Amount of pixels by which the drop down should be offset horizontally. | |||||||||
| int | dropDownItemStyle | Default style for drop down items. | |||||||||
| int | dropDownListViewStyle | Default ListView style for drop downs. | |||||||||
| int | dropDownSelector | Selector in a drop down list. | |||||||||
| int | dropDownVerticalOffset | Amount of pixels by which the drop down should be offset vertically. | |||||||||
| int | dropDownWidth | Specifies the basic width of the dropdown. | |||||||||
| int | 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 | duration | Amount of time (in milliseconds) to display this frame. | |||||||||
| int | editTextPreferenceStyle | Default style for EditTextPreference. | |||||||||
| int | editTextStyle | Default EditText style. | |||||||||
| int | editable | This constant is deprecated. Use inputType instead. | |||||||||
| int | editorExtras | Reference to an
<input-extras>
XML resource containing additional data to
supply to an input method, which is private to the implementation
of the input method. |
|||||||||
| int | ellipsize | Where to ellipsize text. | |||||||||
| int | ems | Makes the TextView be exactly this many ems wide. | |||||||||
| int | enabled | This constant is deprecated. Use state_enabled instead | |||||||||
| int | endColor | Must be a color value, in the form of " |
|||||||||
| int | endYear | The last year (inclusive), for example "2010". | |||||||||
| int | entries | Reference to an array resource that will populate a list/adapter. | |||||||||
| int | entryValues | The array to find the value to save for a preference when an entry from entries is selected. | |||||||||
| int | eventsInterceptionEnabled | Defines whether the overlay should intercept the motion events when a gesture is recognized. | |||||||||
| int | excludeFromRecents | Indicates that an Activity should be excluded from the list of recently launched activities. | |||||||||
| int | expandableListPreferredChildIndicatorLeft | The preferred left bound for an expandable list child's indicator. | |||||||||
| int | expandableListPreferredChildIndicatorRight | The preferred right bound for an expandable list child's indicator. | |||||||||
| int | expandableListPreferredChildPaddingLeft | The preferred left padding for an expandable list item that is a child. | |||||||||
| int | expandableListPreferredItemIndicatorLeft | The preferred left bound for an expandable list item's indicator. | |||||||||
| int | expandableListPreferredItemIndicatorRight | The preferred right bound for an expandable list item's indicator. | |||||||||
| int | expandableListPreferredItemPaddingLeft | The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). | |||||||||
| int | expandableListViewStyle | Default ExpandableListView style. | |||||||||
| int | exported | Flag indicating whether the given application component is available to other applications. | |||||||||
| int | extraTension | This is the amount by which to multiply the tension. | |||||||||
| int | factor | This is the amount of deceleration to add when easing in. | |||||||||
| int | fadeDuration | Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture. | |||||||||
| int | fadeEnabled | Defines whether the gesture will automatically fade out after being recognized. | |||||||||
| int | fadeOffset | Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it. | |||||||||
| int | fadeScrollbars | Defines whether to fade out scrollbars when they are not in use. | |||||||||
| int | fadingEdge | Defines which edges should be fadeded on scrolling. | |||||||||
| int | fadingEdgeLength | Defines the length of the fading edges. | |||||||||
| int | fastScrollEnabled | Enables the fast scroll thumb that can be dragged to quickly scroll through the list. | |||||||||
| int | fillAfter | When set to true, the animation transformation is applied after the animation is over. | |||||||||
| int | fillBefore | When set to true, the animation transformation is applied before the animation has started. | |||||||||
| int | fillEnabled | When set to true, fillAfter is taken into account. | |||||||||
| int | fillViewport | Defines whether the scrollview should stretch its content to fill the viewport. | |||||||||
| int | filter | Enables or disables bitmap filtering. | |||||||||
| int | finishOnCloseSystemDialogs | Specify whether an activity should be finished when a "close system windows" request has been made. | |||||||||
| int | finishOnTaskLaunch | Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen. | |||||||||
| int | fitsSystemWindows | Boolean internal attribute to adjust view layout based on system windows such as the status bar. | |||||||||
| int | flipInterval | Must be an integer value, such as " |
|||||||||
| int | focusable | Boolean that controls whether a view can take focus. | |||||||||
| int | focusableInTouchMode | Boolean that controls whether a view can take focus while in touch mode. | |||||||||
| int | footerDividersEnabled | When set to false, the ListView will not draw the divider before each footer view. | |||||||||
| int | foreground | Defines the drawable to draw over the content. | |||||||||
| int | foregroundGravity | Defines the gravity to apply to the foreground drawable. | |||||||||
| int | 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 | 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 | fromAlpha | Must be a floating point value, such as " |
|||||||||
| int | fromDegrees | Must be a floating point value, such as " |
|||||||||
| int | fromXDelta | May be a floating point value, such as " |
|||||||||
| int | fromXScale | Must be a floating point value, such as " |
|||||||||
| int | fromYDelta | May be a floating point value, such as " |
|||||||||
| int | fromYScale | Must be a floating point value, such as " |
|||||||||
| int | fullBright | May be a reference to another resource, in the form " |
|||||||||
| int | fullDark | May be a reference to another resource, in the form " |
|||||||||
| int | functionalTest | Flag indicating that an Instrumentation class should be run as a functional test. | |||||||||
| int | galleryItemBackground | The preferred background for gallery items. | |||||||||
| int | galleryStyle | Default Gallery style. | |||||||||
| int | gestureColor | Color used to draw a gesture. | |||||||||
| int | gestureStrokeAngleThreshold | Minimum curve angle a stroke must contain before it is recognized as a gesture. | |||||||||
| int | gestureStrokeLengthThreshold | Minimum length of a stroke before it is recognized as a gesture. | |||||||||
| int | gestureStrokeSquarenessThreshold | Squareness threshold of a stroke before it is recognized as a gesture. | |||||||||
| int | gestureStrokeType | Defines the type of strokes that define a gesture. | |||||||||
| int | gestureStrokeWidth | Width of the stroke used to draw the gesture. | |||||||||
| int | glEsVersion | The GLES driver version number needed by an application. | |||||||||
| int | gradientRadius | May be a floating point value, such as " |
|||||||||
| int | grantUriPermissions | If true, the Context.grantUriPermission or corresponding Intent flags can
be used to allow others to access specific URIs in the content
provider, even if they do not have an explicit read or write
permission. |
|||||||||
| int | gravity | Specifies how to place the content of an object, both on the x- and y-axis, within the object itself. | |||||||||
| int | gridViewStyle | Default GridView style. | |||||||||
| int | groupIndicator | Indicator shown beside the group View. | |||||||||
| int | hand_hour | Must be a reference to another resource, in the form " |
|||||||||
| int | hand_minute | Must be a reference to another resource, in the form " |
|||||||||
| int | handle | Identifier for the child that represents the drawer's handle. | |||||||||
| int | 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 | hapticFeedbackEnabled | Boolean that controls whether a view should have haptic feedback enabled for events such as long presses. | |||||||||
| int | hasCode | Indicate whether this application contains code. | |||||||||
| int | headerBackground | Default background for the menu header. | |||||||||
| int | headerDividersEnabled | When set to false, the ListView will not draw the divider after each header view. | |||||||||
| int | height | Makes the TextView be exactly this many pixels tall. | |||||||||
| int | hint | Hint text to display when the text is empty. | |||||||||
| int | horizontalDivider | Default horizontal divider between rows of menu items. | |||||||||
| int | horizontalGap | Default horizontal gap between keys. | |||||||||
| int | horizontalSpacing | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | host | Specify a URI authority host that is handled, as per
IntentFilter.addDataAuthority(). |
|||||||||
| int | icon | A Drawable resource providing a graphical representation of its associated item. | |||||||||
| int | iconPreview | The icon to show in the popup preview. | |||||||||
| int | id | Supply an identifier name for this view, to later retrieve it
with View.findViewById() or
Activity.findViewById(). |
|||||||||
| int | ignoreGravity | Indicates what view should not be affected by gravity. | |||||||||
| int | imageButtonStyle | The style resource to use for an ImageButton. | |||||||||
| int | imageWellStyle | The style resource to use for an ImageButton that is an image well. | |||||||||
| int | imeActionId | Supply a value for
EditorInfo.actionId
used when an input method is connected to the text view. |
|||||||||
| int | imeActionLabel | Supply a value for
EditorInfo.actionLabel
used when an input method is connected to the text view. |
|||||||||
| int | imeExtractEnterAnimation | Animation to use when showing the fullscreen extract UI after it had previously been hidden. | |||||||||
| int | imeExtractExitAnimation | Animation to use when hiding the fullscreen extract UI after it had previously been shown. | |||||||||
| int | 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 | imeOptions | Additional features you can enable in an IME associated with an editor to improve the integration with your application. | |||||||||
| int | inAnimation | Must be a reference to another resource, in the form " |
|||||||||
| int | includeFontPadding | Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly. | |||||||||
| int | includeInGlobalSearch | If provided and true, this searchable activity will be
included in any global lists of search targets. |
|||||||||
| int | indeterminate | Allows to enable the indeterminate mode. | |||||||||
| int | indeterminateBehavior | Defines how the indeterminate mode should behave when the progress reaches max. | |||||||||
| int | indeterminateDrawable | Drawable used for the indeterminate mode. | |||||||||
| int | indeterminateDuration | Duration of the indeterminate animation. | |||||||||
| int | indeterminateOnly | Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). | |||||||||
| int | indicatorLeft | The left bound for an item's indicator. | |||||||||
| int | indicatorRight | The right bound for an item's indicator. | |||||||||
| int | inflatedId | Overrides the id of the inflated View with this value. | |||||||||
| int | initOrder | Specify the order in which content providers hosted by a process are instantiated when that process is created. | |||||||||
| int | initialLayout | A resource id of a layout. | |||||||||
| int | innerRadius | Inner radius of the ring. | |||||||||
| int | innerRadiusRatio | Inner radius of the ring expressed as a ratio of the ring's width. | |||||||||
| int | inputMethod | This constant is deprecated. Use inputType instead. | |||||||||
| int | 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 | insetBottom | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | insetLeft | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | insetRight | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | insetTop | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | interpolator | Must be a reference to another resource, in the form " |
|||||||||
| int | isDefault | Set to true in all of the configurations for which this input method should be considered an option as the default. | |||||||||
| int | isIndicator | Whether this rating bar is an indicator (and non-changeable by the user). | |||||||||
| int | isModifier | Whether this is a modifier key such as Alt or Shift. | |||||||||
| int | isRepeatable | Whether long-pressing on this key will make it repeat. | |||||||||
| int | isScrollContainer | Set this if the view will serve as a scrolling container, meaing that it can be resized to shrink its overall window so that there will be space for an input method. | |||||||||
| int | isSticky | Whether this is a toggle key. | |||||||||
| int | itemBackground | Default background for each menu item. | |||||||||
| int | itemIconDisabledAlpha | Default disabled icon alpha for each menu item that shows an icon. | |||||||||
| int | itemTextAppearance | Default appearance of menu item text. | |||||||||
| int | keepScreenOn | Controls whether the view's window should keep the screen on while visible. | |||||||||
| int | key | The key to store the Preference value. | |||||||||
| int | keyBackground | Image for the key. | |||||||||
| int | keyEdgeFlags | Key edge flags. | |||||||||
| int | keyHeight | Default height of a key, in pixels or percentage of display width. | |||||||||
| int | keyIcon | The icon to display on the key instead of the label. | |||||||||
| int | keyLabel | The label to display on the key. | |||||||||
| int | keyOutputText | The string of characters to output when this key is pressed. | |||||||||
| int | keyPreviewHeight | Height of the key press feedback popup. | |||||||||
| int | keyPreviewLayout | Layout resource for key press feedback. | |||||||||
| int | keyPreviewOffset | Vertical offset of the key press feedback from the key. | |||||||||
| int | keyTextColor | Color to use for the label in a key. | |||||||||
| int | keyTextSize | Size of the text for character keys. | |||||||||
| int | keyWidth | Default width of a key, in pixels or percentage of display width. | |||||||||
| int | keyboardMode | Mode of the keyboard. | |||||||||
| int | keycode | This enum provides the same keycode values as can be found in
KeyEvent. |
|||||||||
| int | killAfterRestore | Whether the application in question should be terminated after its settings have been restored. | |||||||||
| int | label | A user-legible name for the given item. | |||||||||
| int | labelTextSize | Size of the text for custom keys with some text and no icon. | |||||||||
| int | largeScreens | Indicates whether the application supports larger screen form-factors. | |||||||||
| int | launchMode | Specify how an activity should be launched. | |||||||||
| int | layout | Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. | |||||||||
| int | layoutAnimation | Defines the layout animation to use the first time the ViewGroup is laid out. | |||||||||
| int | layout_above | Positions the bottom edge of this view above the given anchor view ID. | |||||||||
| int | layout_alignBaseline | Positions the baseline of this view on the baseline of the given anchor view ID. | |||||||||
| int | layout_alignBottom | Makes the bottom edge of this view match the bottom edge of the given anchor view ID. | |||||||||
| int | layout_alignLeft | Makes the left edge of this view match the left edge of the given anchor view ID. | |||||||||
| int | layout_alignParentBottom | If true, makes the bottom edge of this view match the bottom edge of the parent. | |||||||||
| int | layout_alignParentLeft | If true, makes the left edge of this view match the left edge of the parent. | |||||||||
| int | layout_alignParentRight | If true, makes the right edge of this view match the right edge of the parent. | |||||||||
| int | layout_alignParentTop | If true, makes the top edge of this view match the top edge of the parent. | |||||||||
| int | layout_alignRight | Makes the right edge of this view match the right edge of the given anchor view ID. | |||||||||
| int | layout_alignTop | Makes the top edge of this view match the top edge of the given anchor view ID. | |||||||||
| int | 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 | layout_below | Positions the top edge of this view below the given anchor view ID. | |||||||||
| int | layout_centerHorizontal | If true, centers this child horizontally within its parent. | |||||||||
| int | layout_centerInParent | If true, centers this child horizontally and vertically within its parent. | |||||||||
| int | layout_centerVertical | If true, centers this child vertically within its parent. | |||||||||
| int | layout_column | The index of the column in which this child should be. | |||||||||
| int | layout_gravity | Standard gravity constant that a child can supply to its parent. | |||||||||
| int | layout_height | Specifies the basic height of the view. | |||||||||
| int | layout_margin | Specifies extra space on the left, top, right and bottom sides of this view. | |||||||||
| int | layout_marginBottom | Specifies extra space on the bottom side of this view. | |||||||||
| int | layout_marginLeft | Specifies extra space on the left side of this view. | |||||||||
| int | layout_marginRight | Specifies extra space on the right side of this view. | |||||||||
| int | layout_marginTop | Specifies extra space on the top side of this view. | |||||||||
| int | layout_scale | Must be a floating point value, such as " |
|||||||||
| int | layout_span | Defines how many columns this child should span. | |||||||||
| int | layout_toLeftOf | Positions the right edge of this view to the left of the given anchor view ID. | |||||||||
| int | layout_toRightOf | Positions the left edge of this view to the right of the given anchor view ID. | |||||||||
| int | layout_weight | Must be a floating point value, such as " |
|||||||||
| int | layout_width | Specifies the basic width of the view. | |||||||||
| int | layout_x | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | layout_y | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | left | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | lineSpacingExtra | Extra spacing between lines of text. | |||||||||
| int | lineSpacingMultiplier | Extra spacing between lines of text, as a multiplier. | |||||||||
| int | lines | Makes the TextView be exactly this many lines tall. | |||||||||
| int | 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 | listChoiceIndicatorMultiple | Drawable to use for multiple choice indicators. | |||||||||
| int | listChoiceIndicatorSingle | Drawable to use for single choice indicators. | |||||||||
| int | listDivider | Must be a reference to another resource, in the form " |
|||||||||
| int | listPreferredItemHeight | The preferred list item height. | |||||||||
| int | listSelector | Drawable used to indicate the currently selected item in the list. | |||||||||
| int | listSeparatorTextViewStyle | TextView style for list separators. | |||||||||
| int | listViewStyle | Default ListView style. | |||||||||
| int | listViewWhiteStyle | ListView with white background. | |||||||||
| int | longClickable | Defines whether this view reacts to long click events. | |||||||||
| int | manageSpaceActivity | Name of the activity to be launched to manage application's space on device. | |||||||||
| int | mapViewStyle | Default MapView style. | |||||||||
| int | marqueeRepeatLimit | The number of times to repeat the marquee animation. | |||||||||
| int | max | Defines the maximum value the progress can take. | |||||||||
| int | maxEms | Makes the TextView be at most this many ems wide. | |||||||||
| int | maxHeight | An optional argument to supply a maximum height for this view. | |||||||||
| int | maxItemsPerRow | Defines the maximum number of items per row. | |||||||||
| int | maxLength | Set an input filter to constrain the text length to the specified number. | |||||||||
| int | maxLevel | The maximum level allowed for this item. | |||||||||
| int | maxLines | Makes the TextView be at most this many lines tall. | |||||||||
| int | maxRows | Defines the maximum number of rows displayed. | |||||||||
| int | maxSdkVersion | This is the maximum SDK version number that an application works on. | |||||||||
| int | maxWidth | An optional argument to supply a maximum width for this view. | |||||||||
| int | measureAllChildren | Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring. | |||||||||
| int | menuCategory | The category applied to all items within this group. | |||||||||
| int | mimeType | Specify a MIME type that is handled, as per
IntentFilter.addDataType(). |
|||||||||
| int | minEms | Makes the TextView be at least this many ems wide. | |||||||||
| int | minHeight | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | minLevel | The minimum level allowed for this item. | |||||||||
| int | minLines | Makes the TextView be at least this many lines tall. | |||||||||
| int | minSdkVersion | This is the minimum SDK version number that the application requires. | |||||||||
| int | minWidth | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | mode | Must be one of the following constant values. |
|||||||||
| int | moreIcon | 'More' icon. | |||||||||
| int | multiprocess | Specify whether a component is allowed to have multiple instances of itself running in different processes. | |||||||||
| int | name | A unique name for the given item. | |||||||||
| int | negativeButtonText | The negative button text for the dialog. | |||||||||
| int | nextFocusDown | Defines the next view to give focus to when the next focus is
FOCUS_DOWN
If the reference refers to a view that does not exist or is part
of a hierarchy that is invisible, a RuntimeException
will result when the reference is accessed. |
|||||||||
| int | nextFocusLeft | Defines the next view to give focus to when the next focus is
FOCUS_LEFT. |
|||||||||
| int | nextFocusRight | Defines the next view to give focus to when the next focus is
FOCUS_RIGHT
If the reference refers to a view that does not exist or is part
of a hierarchy that is invisible, a RuntimeException
will result when the reference is accessed. |
|||||||||
| int | nextFocusUp | Defines the next view to give focus to when the next focus is
FOCUS_UP
If the reference refers to a view that does not exist or is part
of a hierarchy that is invisible, a RuntimeException
will result when the reference is accessed. |
|||||||||
| int | noHistory | Specify whether an activity should be kept in its history stack. | |||||||||
| int | normalScreens | Indicates whether an application supports the normal screen form-factors. | |||||||||
| int | numColumns | May be an integer value, such as " |
|||||||||
| int | numStars | The number of stars (or rating items) to show. | |||||||||
| int | numeric | This constant is deprecated. Use inputType instead. | |||||||||
| int | numericShortcut | The numeric shortcut key. | |||||||||
| int | onClick | Name of the method in this View's context to invoke when the view is clicked. | |||||||||
| int | oneshot | If true, the animation will only run a single time and then stop. | |||||||||
| int | order | The order for the Preference (lower values are to be ordered first). | |||||||||
| int | orderInCategory | The order within the category applied to all items within this group. | |||||||||
| int | orderingFromXml | Whether to order the Preference under this group as they appear in the XML file. | |||||||||
| int | orientation | Standard orientation constant. | |||||||||
| int | outAnimation | Must be a reference to another resource, in the form " |
|||||||||
| int | padding | Sets the padding, in pixels, of all four edges. | |||||||||
| int | paddingBottom | Sets the padding, in pixels, of the bottom edge; see padding. |
|||||||||
| int | paddingLeft | Sets the padding, in pixels, of the left edge; see padding. |
|||||||||
| int | paddingRight | Sets the padding, in pixels, of the right edge; see padding. |
|||||||||
| int | paddingTop | Sets the padding, in pixels, of the top edge; see padding. |
|||||||||
| int | panelBackground | The background of a panel when it is inset from the left and right edges of the screen. | |||||||||
| int | panelColorBackground | Color that matches (as closely as possible) the panel background. | |||||||||
| int | panelColorForeground | Default color of foreground panel imagery. | |||||||||
| int | panelFullBackground | The background of a panel when it extends to the left and right edges of the screen. | |||||||||
| int | panelTextAppearance | Default appearance of panel text. | |||||||||
| int | password | This constant is deprecated. Use inputType instead. | |||||||||
| int | path | Specify a URI path that must exactly match, as per
PatternMatcher with
PATTERN_LITERAL. |
|||||||||
| int | pathPattern | Specify a URI path that matches a simple pattern, as per
PatternMatcher with
PATTERN_SIMPLE_GLOB. |
|||||||||
| int | pathPrefix | Specify a URI path that must be a prefix to match, as per
PatternMatcher with
PATTERN_PREFIX. |
|||||||||
| int | permission | Specify a permission that a client is required to have in order to use the associated object. | |||||||||
| int | permissionGroup | Specified the name of a group that this permission is associated with. | |||||||||
| int | persistent | Flag to control special persistent mode of an application. | |||||||||
| int | persistentDrawingCache | Defines the persistence of the drawing cache. | |||||||||
| int | phoneNumber | This constant is deprecated. Use inputType instead. | |||||||||
| int | pivotX | May be a floating point value, such as " |
|||||||||
| int | pivotY | May be a floating point value, such as " |
|||||||||
| int | popupBackground | May be a reference to another resource, in the form " |
|||||||||
| int | popupCharacters | The characters to display in the popup keyboard. | |||||||||
| int | popupKeyboard | The XML keyboard layout of any popup keyboard. | |||||||||
| int | popupLayout | Layout resource for popup keyboards. | |||||||||
| int | popupWindowStyle | Default PopupWindow style. | |||||||||
| int | port | Specify a URI authority port that is handled, as per
IntentFilter.addDataAuthority(). |
|||||||||
| int | positiveButtonText | The positive button text for the dialog. | |||||||||
| int | preferenceCategoryStyle | Default style for PreferenceCategory. | |||||||||
| int | preferenceInformationStyle | Default style for informational Preference. | |||||||||
| int | preferenceLayoutChild | The preference layout that has the child/tabbed effect. | |||||||||
| int | preferenceScreenStyle | Default style for PreferenceScreen. | |||||||||
| int | preferenceStyle | Default style for Preference. | |||||||||
| int | priority | Specify the relative importance or ability in handling a particular Intent. | |||||||||
| int | 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 | process | Specify a specific process that the associated code is to run in. | |||||||||
| int | progress | Defines the default progress value, between 0 and max. | |||||||||
| int | progressBarStyle | Default ProgressBar style. | |||||||||
| int | progressBarStyleHorizontal | Horizontal ProgressBar style. | |||||||||
| int | progressBarStyleInverse | Inverse ProgressBar style. | |||||||||
| int | progressBarStyleLarge | Large ProgressBar style. | |||||||||
| int | progressBarStyleLargeInverse | Large inverse ProgressBar style. | |||||||||
| int | progressBarStyleSmall | Small ProgressBar style. | |||||||||
| int | progressBarStyleSmallInverse | Small inverse ProgressBar style. | |||||||||
| int | progressBarStyleSmallTitle | Small ProgressBar in title style. | |||||||||
| int | progressDrawable | Drawable used for the progress mode. | |||||||||
| int | prompt | The prompt to display when the spinner's dialog is shown. | |||||||||
| int | 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 | queryActionMsg | If you wish to handle an action key during normal search query entry, you must define an action string here. | |||||||||
| int | queryAfterZeroResults | If provided and true, this searchable activity will be invoked for all
queries in a particular session. |
|||||||||
| int | radioButtonStyle | Default RadioButton style. | |||||||||
| int | radius | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | rating | The rating to set by default. | |||||||||
| int | ratingBarStyle | Default RatingBar style. | |||||||||
| int | ratingBarStyleIndicator | Indicator RatingBar style. | |||||||||
| int | ratingBarStyleSmall | Small indicator RatingBar style. | |||||||||
| int | readPermission | A specific permission name for read-only
access to a ContentProvider. |
|||||||||
| int | repeatCount | Defines how many times the animation should repeat. | |||||||||
| int | repeatMode | Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. | |||||||||
| int | reqFiveWayNav | Application's requirement for five way navigation
Must be a boolean value, either " |
|||||||||
| int | reqHardKeyboard | Application's requirement for a hard keyboard
Must be a boolean value, either " |
|||||||||
| int | reqKeyboardType | The input method preferred by an application. | |||||||||
| int | reqNavigation | The navigation device preferred by an application. | |||||||||
| int | reqTouchScreen | The touch screen type used by an application. | |||||||||
| int | required | Specify whether this feature is required for the application. | |||||||||
| int | resizeable | Indicates whether the application can resize itself to newer screen sizes. | |||||||||
| int | resource | Resource identifier to assign to this piece of named meta-data. | |||||||||
| int | restoreNeedsApplication | Whether the application needs to have its own Application subclass active during restore. | |||||||||
| int | right | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | ringtonePreferenceStyle | Default style for RingtonePreference. | |||||||||
| int | ringtoneType | Which ringtone type(s) to show in the picker. | |||||||||
| int | rowDelay | Fraction of the animation duration used to delay the beginning of the animation of each row. | |||||||||
| int | rowEdgeFlags | Row edge flags. | |||||||||
| int | rowHeight | Defines the height of each row. | |||||||||
| int | saveEnabled | If unset, no state will be saved for this view when it is being frozen. | |||||||||
| int | scaleGravity | Specifies where the drawable is positioned after scaling. | |||||||||
| int | scaleHeight | Scale height, expressed as a percentage of the drawable's bound. | |||||||||
| int | scaleType | Controls how the image should be resized or moved to match the size of this ImageView. | |||||||||
| int | scaleWidth | Scale width, expressed as a percentage of the drawable's bound. | |||||||||
| int | scheme | Specify a URI scheme that is handled, as per
IntentFilter.addDataScheme(). |
|||||||||
| int | screenOrientation | Specify the orientation an activity should be run in. | |||||||||
| int | scrollHorizontally | Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally). | |||||||||
| int | scrollViewStyle | Default ScrollView style. | |||||||||
| int | scrollX | The initial horizontal scroll offset, in pixels. | |||||||||
| int | scrollY | The initial vertical scroll offset, in pixels. | |||||||||
| int | scrollbarAlwaysDrawHorizontalTrack | Defines whether the horizontal scrollbar track should always be drawn. | |||||||||
| int | scrollbarAlwaysDrawVerticalTrack | Defines whether the vertical scrollbar track should always be drawn. | |||||||||
| int | scrollbarDefaultDelayBeforeFade | Defines the delay in milliseconds that a scrollbar waits before fade out. | |||||||||
| int | scrollbarFadeDuration | Defines the delay in milliseconds that a scrollbar takes to fade out. | |||||||||
| int | scrollbarSize | Sets the width of vertical scrollbars and height of horizontal scrollbars. | |||||||||
| int | scrollbarStyle | Controls the scrollbar style and position. | |||||||||
| int | scrollbarThumbHorizontal | Defines the horizontal scrollbar thumb drawable. | |||||||||
| int | scrollbarThumbVertical | Defines the vertical scrollbar thumb drawable. | |||||||||
| int | scrollbarTrackHorizontal | Defines the horizontal scrollbar track drawable. | |||||||||
| int | scrollbarTrackVertical | Defines the vertical scrollbar track drawable. | |||||||||
| int | scrollbars | Defines which scrollbars should be displayed on scrolling or not. | |||||||||
| int | scrollingCache | When set to true, the list uses a drawing cache during scrolling. | |||||||||
| int | searchButtonText | This constant is deprecated. This will create a non-standard UI appearance, because the search bar UI is changing to use only icons for its buttons. | |||||||||
| int | searchMode | Additional features are controlled by mode bits in this field. | |||||||||
| int | searchSettingsDescription | If provided, this string will be used to describe the searchable item in the searchable items settings within system search settings. | |||||||||
| int | searchSuggestAuthority | If provided, this is the trigger indicating that the searchable activity provides suggestions as well. | |||||||||
| int | searchSuggestIntentAction | If provided, and not overridden by an action in the selected suggestion, this
string will be placed in the action field of the Intent
when the user clicks a suggestion. |
|||||||||
| int | searchSuggestIntentData | If provided, and not overridden by an action in the selected suggestion, this
string will be placed in the data field of the Intent
when the user clicks a suggestion. |
|||||||||
| int | 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 | searchSuggestSelection | If provided, suggestion queries will be passed into your query function as the selection parameter. | |||||||||
| int | searchSuggestThreshold | If provided, this is the minimum number of characters needed to trigger search suggestions. | |||||||||
| int | secondaryProgress | Defines the secondary progress value, between 0 and max. | |||||||||
| int | seekBarStyle | Default SeekBar style. | |||||||||
| int | selectAllOnFocus | If the text is selectable, select it all when the view takes focus instead of moving the cursor to the start or end. | |||||||||
| int | selectable | Whether the Preference is selectable. | |||||||||
| int | settingsActivity | Component name of an activity that allows the user to modify the settings for this input method. | |||||||||
| int | shadowColor | Place a shadow of the specified color behind the text. | |||||||||
| int | shadowDx | Horizontal offset of the shadow. | |||||||||
| int | shadowDy | Vertical offset of the shadow. | |||||||||
| int | shadowRadius | Radius of the shadow. | |||||||||
| int | shape | Must be one of the following constant values. |
|||||||||
| int | shareInterpolator | Must be a boolean value, either " |
|||||||||
| int | sharedUserId | Specify the name of a user ID that will be shared between multiple packages. | |||||||||
| int | sharedUserLabel | Specify a label for the shared user UID of this package. | |||||||||
| int | shouldDisableView | Whether the view of this Preference should be disabled when this Preference is disabled. | |||||||||
| int | showDefault | Whether to show an item for a default sound. | |||||||||
| int | showSilent | Whether to show an item for 'Silent'. | |||||||||
| int | shrinkColumns | The zero-based index of the columns to shrink. | |||||||||
| int | singleLine | This constant is deprecated. This attribute is deprecated and is replaced by the textMultiLine flag in the inputType attribute. Use caution when altering existing layouts, as the default value of singeLine is false (multi-line mode), but if you specify any value for inputType, the default is single-line mode. (If both singleLine and inputType attributes are found, the inputType flags will override the value of singleLine.) | |||||||||
| int | smallIcon | Smaller icon of the authenticator. | |||||||||
| int | smallScreens | Indicates whether the application supports smaller screen form-factors. | |||||||||
| int | 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 | soundEffectsEnabled | Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching. | |||||||||
| int | spacing | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | spinnerDropDownItemStyle | Default style for spinner drop down items. | |||||||||
| int | spinnerItemStyle | Default spinner item style. | |||||||||
| int | spinnerStyle | Default Spinner style. | |||||||||
| int | src | Sets a drawable as the content of this ImageView. | |||||||||
| int | stackFromBottom | Used by ListView and GridView to stack their content from the bottom. | |||||||||
| int | starStyle | Default Star style. | |||||||||
| int | startColor | Must be a color value, in the form of " |
|||||||||
| int | startOffset | Delay in milliseconds before the animation runs, once start time is reached. | |||||||||
| int | startYear | The first year (inclusive), for example "1940". | |||||||||
| int | stateNotNeeded | Indicates that an Activity does not need to have its freeze state
(as returned by onSaveInstanceState(Bundle)
retained in order to be restarted. |
|||||||||
| int | state_above_anchor | State identifier indicating the popup will be above the anchor. | |||||||||
| int | state_active | State value for StateListDrawable. |
|||||||||
| int | state_checkable | State identifier indicating that the object may display a check mark. | |||||||||
| int | state_checked | State identifier indicating that the object is currently checked. | |||||||||
| int | state_empty | State identifier indicating the group is empty (has no children). | |||||||||
| int | state_enabled | State value for StateListDrawable. |
|||||||||
| int | state_expanded | State identifier indicating the group is expanded. | |||||||||
| int | state_first | State value for StateListDrawable. |
|||||||||
| int | state_focused | State value for StateListDrawable. |
|||||||||
| int | state_last | State value for StateListDrawable. |
|||||||||
| int | state_long_pressable | State for KeyboardView
key preview background. |
|||||||||
| int | state_middle | State value for StateListDrawable. |
|||||||||
| int | state_pressed | State value for StateListDrawable. |
|||||||||
| int | state_selected | State value for StateListDrawable. |
|||||||||
| int | state_single | State value for StateListDrawable. |
|||||||||
| int | state_window_focused | State value for StateListDrawable. |
|||||||||
| int | stepSize | The step size of the rating. | |||||||||
| int | streamType | Different audio stream types. | |||||||||
| int | stretchColumns | The zero-based index of the columns to stretch. | |||||||||
| int | stretchMode | Must be one of the following constant values. |
|||||||||
| int | 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 | 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 | summary | The summary for the Preference in a PreferenceActivity screen. | |||||||||
| int | summaryColumn | Column in data table that summarizes this data. | |||||||||
| int | summaryOff | The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. | |||||||||
| int | summaryOn | The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. | |||||||||
| int | supportsUploading | Must be a boolean value, either " |
|||||||||
| int | syncable | Flag indicating whether this content provider would like to participate in data synchronization. | |||||||||
| int | tabWidgetStyle | Default TabWidget style. | |||||||||
| int | tag | Supply a tag for this view containing a String, to be retrieved
later with View.getTag() or
searched for with View.findViewWithTag(). |
|||||||||
| int | targetActivity | The name of the activity this alias should launch. | |||||||||
| int | targetClass | The class part of the ComponentName to assign to the Intent, as per
Intent.setComponent(). |
|||||||||
| int | targetPackage | The name of the application package that an Instrumentation object will run against. | |||||||||
| int | targetSdkVersion | This is the SDK version number that the application is targeting. | |||||||||
| int | taskAffinity | Specify a task name that activities have an "affinity" to. | |||||||||
| int | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | tension | This is the amount of tension. | |||||||||
| int | testOnly | Option to indicate this application is only for testing purposes. | |||||||||
| int | text | Text to display. | |||||||||
| int | textAppearance | Default appearance of text: color, typeface, size, and style. | |||||||||
| int | textAppearanceButton | Text color, typeface, size, and style for the text inside of a button. | |||||||||
| int | textAppearanceInverse | Default appearance of text against an inverted background: color, typeface, size, and style. | |||||||||
| int | textAppearanceLarge | Text color, typeface, size, and style for "large" text. | |||||||||
| int | textAppearanceLargeInverse | Text color, typeface, size, and style for "large" inverse text. | |||||||||
| int | textAppearanceMedium | Text color, typeface, size, and style for "medium" text. | |||||||||
| int | textAppearanceMediumInverse | Text color, typeface, size, and style for "medium" inverse text. | |||||||||
| int | textAppearanceSearchResultSubtitle | Text color, typeface, size, and style for system search result subtitle. | |||||||||
| int | textAppearanceSearchResultTitle | Text color, typeface, size, and style for system search result title. | |||||||||
| int | textAppearanceSmall | Text color, typeface, size, and style for "small" text. | |||||||||
| int | textAppearanceSmallInverse | Text color, typeface, size, and style for "small" inverse text. | |||||||||
| int | textCheckMark | Drawable to use for check marks. | |||||||||
| int | textCheckMarkInverse | Must be a reference to another resource, in the form " |
|||||||||
| int | textColor | Color of text (usually same as colorForeground). | |||||||||
| int | textColorHighlight | Color of highlighted text. | |||||||||
| int | textColorHint | Color of hint text (displayed when the field is empty). | |||||||||
| int | textColorHintInverse | Inverse hint text color. | |||||||||
| int | textColorLink | Color of link text (URLs). | |||||||||
| int | textColorPrimary | The most prominent text color. | |||||||||
| int | textColorPrimaryDisableOnly | Bright text color. | |||||||||
| int | textColorPrimaryInverse | Primary inverse text color, useful for inverted backgrounds. | |||||||||
| int | textColorPrimaryInverseDisableOnly | Bright inverse text color. | |||||||||
| int | textColorPrimaryInverseNoDisable | Bright inverse text color. | |||||||||
| int | textColorPrimaryNoDisable | Bright text color. | |||||||||
| int | textColorSecondary | Secondary text color. | |||||||||
| int | textColorSecondaryInverse | Secondary inverse text color, useful for inverted backgrounds. | |||||||||
| int | textColorSecondaryInverseNoDisable | Dim inverse text color. | |||||||||
| int | textColorSecondaryNoDisable | Dim text color. | |||||||||
| int | textColorTertiary | Tertiary text color. | |||||||||
| int | textColorTertiaryInverse | Tertiary inverse text color, useful for inverted backgrounds. | |||||||||
| int | textFilterEnabled | When set to true, the list will filter results as the user types. | |||||||||
| int | textOff | The text for the button when it is not checked. | |||||||||
| int | textOn | The text for the button when it is checked. | |||||||||
| int | textScaleX | Sets the horizontal scaling factor for the text. | |||||||||
| int | textSize | Size of text. | |||||||||
| int | textStyle | Default text typeface style. | |||||||||
| int | textViewStyle | Default TextView style. | |||||||||
| int | theme | The overall theme to use for an activity. | |||||||||
| int | thickness | Thickness of the ring. | |||||||||
| int | thicknessRatio | Thickness of the ring expressed as a ratio of the ring's width. | |||||||||
| int | thumb | Draws the thumb on a seekbar. | |||||||||
| int | thumbOffset | An offset for the thumb that allows it to extend out of the range of the track. | |||||||||
| int | thumbnail | Reference to a the wallpaper's thumbnail bitmap. | |||||||||
| int | tileMode | Defines the tile mode. | |||||||||
| int | tint | Set a tinting color for the image. | |||||||||
| int | title | The title associated with the item. | |||||||||
| int | titleCondensed | The condensed title associated with the item. | |||||||||
| int | toAlpha | Must be a floating point value, such as " |
|||||||||
| int | toDegrees | Must be a floating point value, such as " |
|||||||||
| int | toXDelta | May be a floating point value, such as " |
|||||||||
| int | toXScale | Must be a floating point value, such as " |
|||||||||
| int | toYDelta | May be a floating point value, such as " |
|||||||||
| int | toYScale | Must be a floating point value, such as " |
|||||||||
| int | top | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | topBright | May be a reference to another resource, in the form " |
|||||||||
| int | topDark | May be a reference to another resource, in the form " |
|||||||||
| int | topLeftRadius | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | topOffset | Extra offset for the handle at the top of the SlidingDrawer. | |||||||||
| int | topRightRadius | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | transcriptMode | Sets the transcript mode for the list. | |||||||||
| int | type | Must be one of the following constant values. |
|||||||||
| int | typeface | Default text typeface. | |||||||||
| int | uncertainGestureColor | Color used to draw the user's strokes until we are sure it's a gesture. | |||||||||
| int | unselectedAlpha | Sets the alpha on the items that are not selected. | |||||||||
| int | updatePeriodMillis | Update period in milliseconds, or 0 if the AppWidget will update itself. | |||||||||
| int | useLevel | Must be a boolean value, either " |
|||||||||
| int | userVisible | Must be a boolean value, either " |
|||||||||
| int | value | Concrete value to assign to this piece of named meta-data. | |||||||||
| int | variablePadding | If true, allows the drawable's padding to change based on the current state that is selected. | |||||||||
| int | versionCode | Internal version code. | |||||||||
| int | versionName | The text shown to the user to indicate the version they have. | |||||||||
| int | verticalCorrection | Amount to offset the touch Y coordinate by, for bias correction. | |||||||||
| int | verticalDivider | Default vertical divider between menu items. | |||||||||
| int | verticalGap | Default vertical gap between rows of keys. | |||||||||
| int | verticalSpacing | Must be a dimension value, which is a floating point number appended with a unit such as " |
|||||||||
| int | visibility | Controls the initial visibility of the view. | |||||||||
| int | visible | Provides initial visibility state of the drawable; the default value is false. | |||||||||
| int | voiceLanguage | If provided, this specifies the spoken language to be expected, and that it will be
different than the one set in the getDefault(). |
|||||||||
| int | voiceLanguageModel | If provided, this specifies the language model that should be used by the voice recognition system. | |||||||||
| int | 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 | voicePromptText | If provided, this specifies a prompt that will be displayed during voice input. | |||||||||
| int | voiceSearchMode | Voice search features are controlled by mode bits in this field. | |||||||||
| int | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | webViewStyle | Default WebView style. | |||||||||
| int | weightSum | Defines the maximum weight sum. | |||||||||
| int | widgetLayout | The layout for the controllable widget portion of a Preference. | |||||||||
| int | width | Makes the TextView be exactly this many pixels wide. | |||||||||
| int | windowAnimationStyle | Reference to a style resource holding
the set of window animations to use, which can be
any of the attributes defined by
WindowAnimation. |
|||||||||
| int | windowBackground | Drawable to use as the overall window background. | |||||||||
| int | windowContentOverlay | This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title. | |||||||||
| int | windowDisablePreview | Flag allowing you to disable the preview animation for a window. | |||||||||
| int | windowEnterAnimation | The animation used when a window is being added. | |||||||||
| int | windowExitAnimation | The animation used when a window is being removed. | |||||||||
| int | windowFrame | Drawable to use as a frame around the window. | |||||||||
| int | windowFullscreen | Flag indicating whether this window should fill the entire screen. | |||||||||
| int | windowHideAnimation | The animation used when a window is going from VISIBLE to INVISIBLE. | |||||||||
| int | windowIsFloating | Flag indicating whether this is a floating window. | |||||||||
| int | windowIsTranslucent | Flag indicating whether this is a translucent window. | |||||||||
| int | windowNoDisplay | Flag indicating that this window should not be displayed at all. | |||||||||
| int | windowNoTitle | Flag indicating whether there should be no title on this window. | |||||||||
| int | windowShowAnimation | The animation used when a window is going from INVISIBLE to VISIBLE. | |||||||||
| int | windowShowWallpaper | Flag indicating that this window's background should be the user's current wallpaper. | |||||||||
| int | windowSoftInputMode | Defines the default soft input state that this window would like when it is displayed. | |||||||||
| int | windowTitleBackgroundStyle | The style resource to use for a window's title area. | |||||||||
| int | windowTitleSize | The style resource to use for a window's title bar height. | |||||||||
| int | windowTitleStyle | The style resource to use for a window's title text. | |||||||||
| int | writePermission | A specific permission name for write
access to a ContentProvider. |
|||||||||
| int | x | A coordinate in the X dimension. | |||||||||
| int | y | A coordinate in the Y dimension. | |||||||||
| int | yesNoPreferenceStyle | Default style for YesNoPreference. | |||||||||
| int | zAdjustment | Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
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".
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".
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.
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.
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".
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".
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".
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".
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.
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.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
This is not the attribute you are looking 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.
Option to let applications specify that user data can/cannot be cleared. Some applications might not want to clear user data. Such applications can explicitly set this value to false. This flag is turned on by default unless explicitly set to false by applications.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
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.
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.
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.
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.
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.
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.
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.
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".
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.
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.
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. |
Enables or disables antialiasing.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
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.
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.
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.
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".
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 constant is deprecated.
Use inputType instead.
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.
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.
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".
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.
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.
The name of the class implementing BackupAgent to manage
backup and restore of the application's settings to 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.
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.
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.
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.
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.
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".
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".
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.
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".
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.
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.
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. |
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".
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".
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".
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".
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".
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.
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 constant is deprecated.
Use inputType instead.
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. |
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".
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.
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".
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".
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.
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.
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".
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".
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.
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. |
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".
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.
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.
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".
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".
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.
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.
Defines the choice behavior for the ListView. By default, lists do not have any choice behavior. By setting the choiceMode to singleChoice, the List allows up to one item to be in a chosen state. By setting the choiceMode to multipleChoice, the list allows any number of items to be chosen.
Must be one of the following constant values.
| 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. |
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.
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.
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.
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. |
Defines whether the ViewGroup will clip its drawing surface so as to exclude the padding area. This property is set to true by default.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
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.
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.
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.
Color that matches (as closely as possible) the window background.
Must be a color value, in the form of "#rgb", "#argb",
"#rrggbb", or "#aarrggbb".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
This is a hint for a solid color that can be used for caching rendered views. This will be the color of the background when there is a solid background color; it will be null when the background is a texture or translucent.
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.
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.
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.
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.
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.
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.
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".
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.
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 inspite of 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 orientation has changed, that is the user has rotated the device. |
fontScale | 0x40000000 | The font scaling factor has changed, that is the user has selected a new global font size. |
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.
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.
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".
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.
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.
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.
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.
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.
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.
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.
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.
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.
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".
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.
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.
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. |
A longer descriptive text about a particular application or
permission that can be granted. This must be a reference
to a string resource; unlike
the label attribute, this can not be a
raw string.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
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.
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.
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.
Must be a reference to another resource, in the form "@[+][package:]type:name"
or to a theme attribute in the form "?[package:][type:]name".
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".
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".
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.
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".
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.
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.
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. |
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. |
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.
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.
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.
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".
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.
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.
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".
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".
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".
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.
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".
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".
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. |
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".
Specifies the basic width of the dropdown. Its value may be a dimension (such as "12dip") for a constant width, fill_parent to fill the width 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 fill the width of the screen. |
wrap_content | -2 | The dropdown should fit the width of its anchor. |
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".
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.
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".
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".
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".
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.
Specifies the basic width of the dropdown. Its value may be a dimension (such as "12dip") for a constant width, fill_parent to fill 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. |
wrap_content | -2 | The dropdown should fit the width of its anchor. |
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.
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.
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".
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 constant is deprecated.
Use inputType instead.
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.
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".
Where to ellipsize text.
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
start | 1 | |
middle | 2 | |
end | 3 | |
marquee | 4 |
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 constant is deprecated.
Use state_enabled instead
Specifies whether the TextView is enabled 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.
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.
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.
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".
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".
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.
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.
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.
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.
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.
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.
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.
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.
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".
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 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 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.
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.
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.
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.
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.
Defines which edges should be fadeded 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. |
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.
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.
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.
When set to true, the animation transformation is applied before the animation has started. The default value is true. If fillEnabled is not set to true, fillBefore is assumed to be true.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
When set to true, fillAfter is taken into account.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
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.
Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its apperance.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
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 like recent apps 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.
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.
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.
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.
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.
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.
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.
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".
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. |
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.
If set, the text view will include its current complete text inside of its frozen icicle in addition to meta-data such as the current cursor position. By default this is disabled; it can be useful when the contents of a text view is not stored in a persistent place such as a content provider.
Must be a boolean value, either "true" or "false".
This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
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.
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.
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.
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.
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.
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.
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".
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".
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.
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".