Build 1.0_r1(from source)

android
Class R.attr

java.lang.Object
  extended by android.R.attr
Enclosing class:
R

public static final class R.attr
extends Object


Field Summary
static int absListViewStyle
          Default AbsListView style.
static int action
          The action name to assign to the Intent, as per Intent.setAction().
static int activityCloseEnterAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int activityCloseExitAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int activityOpenEnterAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int activityOpenExitAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int addStatesFromChildren
          Sets whether this ViewGroup's drawable states also include its children's drawable states.
static int adjustViewBounds
          Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
static int alertDialogStyle
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int allowClearUserData
          Option to let applications specify that user data can/cannot be cleared.
static 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.
static int alphabeticShortcut
          The alphabetic shortcut key.
static int alwaysDrawnWithCache
          Defines whether the ViewGroup should always draw its children using their drawing cache or not.
static 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.
static int angle
          Must be a floating point value, such as "1.2".
static int animation
          Animation to use on each child.
static int animationCache
          Defines whether layout animations should create a drawing cache for their children.
static int animationDuration
          Sets how long a transition animation should run (in milliseconds) when layout has changed.
static int animationOrder
          The order in which the animations will be started.
static int antialias
          Enables or disables antialiasing.
static int apiKey
          An API Key required to use MapView.
static int authorities
          Specify the authorities under which this content provider can be found.
static int autoCompleteTextViewStyle
          Default AutoCompleteTextView style.
static int autoLink
          Controls whether links such as urls and email addresses are automatically found and converted to clickable links.
static int autoText
          If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors.
static int background
          A drawable to use as the background.
static int backgroundDimAmount
          Default background dim amount when a menu, dialog, or something similar pops up.
static int baselineAlignBottom
          If true, the image view will be baseline aligned with based on its bottom edge
static int baselineAligned
          When set to false, prevents the layout from aligning its children's baselines.
static 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 (i.e which child TextView).
static int bottom
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int bottomBright
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int bottomDark
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int bottomLeftRadius
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int bottomMedium
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int bottomRightRadius
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int bufferType
          Determines the minimum type that getText() will return.
static int button
          Drawable used for the button graphic (e.g.
static int buttonStyle
          Normal Button style.
static int buttonStyleInset
          Button style to inset into an EditText.
static int buttonStyleSmall
          Small Button style.
static int buttonStyleToggle
          ToggleButton style.
static int cacheColorHint
          Indicates that this list will always be drawn on top of solid, single-color opaque background.
static int capitalize
          If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types.
static int centerBright
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int centerColor
          Optional center color.
static int centerDark
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int centerMedium
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int centerX
          May be a floating point value, such as "1.2".
static int centerY
          May be a floating point value, such as "1.2".
static int checkable
          Whether the item is capable of displaying a check mark.
static int checkableBehavior
          Whether the items are capable of displaying a check mark.
static int checkBoxPreferenceStyle
          Default style for CheckBoxPreference.
static int checkboxStyle
          Default Checkbox style.
static int checked
          Indicates the initial checked state of this button
static int checkedButton
          The id of the child radio button that should be checked by default within this radio group.
static int checkMark
          Drawable used for the check mark graphic
static int childDivider
          Drawable or color that is used as a divider for children.
static int childIndicator
          Indicator shown beside the child View.
static int childIndicatorLeft
          The left bound for a child's indicator.
static int childIndicatorRight
          The right bound for a child's indicator.
static int choiceMode
          Defines the choice behavior for the List.
static int clearTaskOnLaunch
          Specify whether an activity's task should be cleared when it is re-launched from the home screen.
static int clickable
          Defines whether this view reacts to click events.
static int clipChildren
          Defines whether a child is limited to draw inside of its bounds or not.
static int clipOrientation
          The orientation for the clip.
static int clipToPadding
          Defines whether the ViewGroup will clip its drawing surface so as to exclude the padding area.
static int collapseColumns
          The 0 based index of the columns to collapse.
static int color
          Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
static int colorBackground
          Color that matches (as closely as possible) the window background.
static int colorForeground
          Default color of foreground imagery.
static int colorForegroundInverse
          Default color of foreground imagery on an inverted background.
static int columnDelay
          Fraction of the animation duration used to delay the beginning of the animation of each column.
static int columnWidth
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int completionHint
          Defines the hint displayed in the drop down menu.
static int completionHintView
          Defines the hint view displayed in the drop down menu.
static int completionThreshold
          Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu.
static int configChanges
          Specify one or more configuration changes that the activity will handle itself.
static 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.
static int cropToPadding
          If true, the image will be cropped to fit within its padding
static int cursorVisible
          Makes the cursor visible (the default) or invisible
static int cycles
          Must be a floating point value, such as "1.2".
static int dashGap
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int dashWidth
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int data
          The data URI to assign to the Intent, as per Intent.setData().
static int debuggable
          Flag indicating whether the application can be debugged, even when running on a device that is running in user mode.
static 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.
static int delay
          Fraction of the animation duration used to delay the beginning of the animation of each child.
static int dependency
          The key of another Preference that this Preference will depend on.
static int descendantFocusability
          Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.
static int description
          A longer descriptive text about a particular application or permission that can be granted.
static int dial
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int dialogIcon
          The icon for the dialog.
static int dialogLayout
          A layout to be used as the content View for the dialog.
static int dialogMessage
          The message in the dialog.
static int dialogPreferenceStyle
          Default style for DialogPreference.
static int dialogTitle
          The title in the dialog.
static 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.
static int direction
          Direction of the animation in the grid.
static int directionPriority
          Priority of the rows and columns.
static int disabledAlpha
          Default disabled alpha for widgets that set enabled/disabled alpha programmatically.
static int disableDependentsState
          The state (true for on, or false for off) that causes dependents to be disabled.
static 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.)
static int divider
          Drawable or color to draw between list items.
static int dividerHeight
          Height of the divider.
static int drawable
          Reference to a drawable resource to use for the frame.
static int drawableBottom
          The drawable to be drawn below the text.
static int drawableLeft
          The drawable to be drawn to the left of the text.
static int drawablePadding
          The padding between the drawables and the text.
static int drawableRight
          The drawable to be drawn to the right of the text.
static int drawableTop
          The drawable to be drawn above the text.
static int drawingCacheQuality
          Defines the quality of translucent drawing caches.
static int drawSelectorOnTop
          When set to true, the selector will be drawn over the selected item.
static int dropDownHintAppearance
          Default style for drop down hints.
static int dropDownItemStyle
          Default style for drop down items.
static int dropDownListViewStyle
          Default ListView style for drop downs.
static int dropDownSelector
          Selector in a drop down list.
static 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.
static int duration
          Amount of time (in milliseconds) to display this frame.
static int editable
          If set, specifies that this TextView has an input method.
static int editTextPreferenceStyle
          Default style for EditTextPreference.
static int editTextStyle
          Default EditText style.
static int ellipsize
          Where to ellipsize text.
static int ems
          Makes the TextView be exactly this many ems wide
static int enabled
          Deprecated: use state_enabled instead.
static int endColor
          Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
static int endYear
          The last year (inclusive) i.e.
static int entries
          Reference to an array resource that will populate a list/adapter
static int entryValues
          The array to find the value to save for a preference when an entry from entries is selected.
static int excludeFromRecents
          Indicates that an Activity should be excluded from the list of recently launched activities.
static int expandableListPreferredChildIndicatorLeft
          The preferred left bound for an expandable list child's indicator.
static int expandableListPreferredChildIndicatorRight
          The preferred right bound for an expandable list child's indicator.
static int expandableListPreferredChildPaddingLeft
          The preferred left padding for an expandable list item that is a child.
static int expandableListPreferredItemIndicatorLeft
          The preferred left bound for an expandable list item's indicator.
static int expandableListPreferredItemIndicatorRight
          The preferred right bound for an expandable list item's indicator.
static int expandableListPreferredItemPaddingLeft
          The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft).
static int expandableListViewStyle
          Default ExpandableListView style.
static int exported
          Flag indicating whether the given application component is available to other applications.
static int factor
          This is the amount of deceleration to ad when easing in.
static int fadingEdge
          Defines which edges should be fadeded on scrolling.
static int fadingEdgeLength
          Defines the length of the fading edges.
static int fillAfter
          When set to true, the animation transformation is applied after the animation is over.
static int fillBefore
          When set to true, the animation transformation is applied before the animation has started.
static int fillViewport
          Defines whether the scrollview should stretch its content to fill the viewport.
static int filter
          Enables or disables bitmap filtering.
static int finishOnTaskLaunch
          Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen.
static int fitsSystemWindows
          Boolean internal attribute to adjust view layout based on system windows such as the status bar.
static int flipInterval
          Must be an integer value, such as "100".
static int focusable
          Boolean that controls whether a view can take focus.
static int focusableInTouchMode
          Boolean that controls whether a view can take focus while in touch mode.
static int foreground
          Defines the drawable to draw over the content.
static int foregroundGravity
          Defines the gravity to apply to the foreground drawable.
static 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.
static 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.
static int fromAlpha
          Must be a floating point value, such as "1.2".
static int fromDegrees
          Must be a floating point value, such as "1.2".
static int fromXDelta
          May be a floating point value, such as "1.2".
static int fromXScale
          Must be a floating point value, such as "1.2".
static int fromYDelta
          May be a floating point value, such as "1.2".
static int fromYScale
          Must be a floating point value, such as "1.2".
static int fullBright
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int fullDark
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int functionalTest
          Flag indicating that an Instrumentation class should be run as a functional test.
static int galleryItemBackground
          The preferred background for gallery items.
static int galleryStyle
          Default Gallery style.
static int gradientRadius
          May be a floating point value, such as "1.2".
static 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.
static int gravity
          Specifies how to place an object, both its x and y axis, within a larger containing object.
static int gridViewStyle
          Default GridView style.
static int groupIndicator
          Indicator shown beside the group View.
static int hand_hour
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int hand_minute
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static 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.
static int hasCode
          Indicate whether this application contains code.
static int headerBackground
          Default background for the menu header.
static int height
          Makes the TextView be exactly this many pixels tall.
static int hint
          Hint text to display when the text is empty.
static int horizontalDivider
          Default horizontal divider between rows of menu items.
static int horizontalSpacing
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int host
          Specify a URI authority host that is handled, as per IntentFilter.addDataAuthority().
static int icon
          A Drawable resource providing a graphical representation of its associated item.
static int id
          Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
static int ignoreGravity
          Indicates what view should not be affected by gravity.
static int imageButtonStyle
          The style resource to use for an ImageButton
static int imageWellStyle
          The style resource to use for an ImageButton that is an image well
static int inAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int includeFontPadding
          Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly.
static int indeterminate
          Allows to enable the indeterminate mode.
static int indeterminateBehavior
          Defines how the indeterminate mode should behave when the progress reaches max.
static int indeterminateDrawable
          Drawable used for the indeterminate mode.
static int indeterminateDuration
          Duration of the indeterminate animation.
static int indeterminateOnly
          Restricts to ONLY indeterminate mode (state-keeping progress mode will not work).
static int indicatorLeft
          The left bound for an item's indicator.
static int indicatorRight
          The right bound for an item's indicator.
static int inflatedId
          Overrides the id of the inflated View with this value.
static int initOrder
          Specify the order in which content providers hosted by a process are instantiated when that process is created.
static int innerRadiusRatio
          Must be a floating point value, such as "1.2".
static int inputMethod
          If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name).
static int insetBottom
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int insetLeft
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int insetRight
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int insetTop
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int interpolator
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int isIndicator
          Whether this rating bar is an indicator (and non-changeable by the user).
static int itemBackground
          Default background for each menu item.
static int itemIconDisabledAlpha
          Default disabled icon alpha for each menu item that shows an icon.
static int itemTextAppearance
          Default appearance of menu item text.
static int keepScreenOn
          Controls whether the view's window should keep the screen on while visible.
static int key
          The key to store the Preference value.
static int keycode
          This enum provides the same keycode values as can be found in KeyEvent
static int label
          A user-legible name for the given item.
static int launchMode
          Specify how an activity should be launched.
static int layout
          Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.
static int layout_above
          Positions the bottom edge of this view above the given anchor view ID.
static int layout_alignBaseline
          Positions the baseline of this view on the baseline of the given anchor view ID.
static int layout_alignBottom
          Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
static int layout_alignLeft
          Makes the left edge of this view match the left edge of the given anchor view ID.
static int layout_alignParentBottom
          f true, makes the bottom edge of this view match the bottom edge of the parent.
static int layout_alignParentLeft
          If true, makes the left edge of this view match the left edge of the parent.
static int layout_alignParentRight
          If true, makes the right edge of this view match the right edge of the parent.
static int layout_alignParentTop
          If true, makes the top edge of this view match the top edge of the parent.
static int layout_alignRight
          Makes the right edge of this view match the right edge of the given anchor view ID.
static int layout_alignTop
          Makes the top edge of this view match the top edge of the given anchor view ID.
static 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.
static int layout_below
          Positions the top edge of this view below the given anchor view ID.
static int layout_centerHorizontal
          If true, centers this child horizontally within its parent.
static int layout_centerInParent
          If true, centers this child horizontally and vertically within its parent.
static int layout_centerVertical
          If true, centers this child vertically within its parent.
static int layout_column
          The index of the column in which this child should be.
static int layout_gravity
          Standard gravity constant that a child can supply to its parent.
static int layout_height
          Specifies the basic height of the view.
static int layout_margin
          Specifies extra space on the left, top, right and bottom sides of this view.
static int layout_marginBottom
          Specifies extra space on the bottom side of this view.
static int layout_marginLeft
          Specifies extra space on the left side of this view.
static int layout_marginRight
          Specifies extra space on the right side of this view.
static int layout_marginTop
          Specifies extra space on the top side of this view.
static int layout_scale
          Must be a floating point value, such as "1.2".
static int layout_span
          Defines how many columns this child should span.
static int layout_toLeftOf
          Positions the right edge of this view to the left of the given anchor view ID.
static int layout_toRightOf
          Positions the left edge of this view to the right of the given anchor view ID.
static int layout_weight
          Must be a floating point value, such as "1.2".
static int layout_width
          Specifies the basic width of the view.
static int layout_x
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int layout_y
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int layoutAnimation
          Defines the layout animation to use the first time the ViewGroup is laid out.
static int left
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int lines
          Makes the TextView be exactly this many lines tall
static int lineSpacingExtra
          Extra spacing between lines of text.
static int lineSpacingMultiplier
          Extra spacing between lines of text, as a multiplier.
static 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.
static int listChoiceIndicatorMultiple
          Drawable to use for multiple choice indicators
static int listChoiceIndicatorSingle
          Drawable to use for single choice indicators
static int listDivider
          The drawable for the list divider
static int listPreferredItemHeight
          The preferred list item height
static int listSelector
          Drawable used to indicate the currently selected item in the list.
static int listSeparatorTextViewStyle
          TextView style for list separators.
static int listViewStyle
          Default ListView style.
static int listViewWhiteStyle
          ListView with white background.
static int longClickable
          Defines whether this view reacts to long click events.
static int manageSpaceActivity
          Name of the activity to be launched to manage application's space on device.
static int mapViewStyle
          Default MapView style.
static int max
          Defines the maximum value the progress can take.
static int maxEms
          Makes the TextView be at most this many ems wide
static int maxHeight
          An optional argument to supply a maximum height for this view.
static int maxItemsPerRow
          Defines the maximum number of items per row.
static int maxLength
          Set an input filter to constrain the text length to the specified number.
static int maxLevel
          Must be an integer value, such as "100".
static int maxLines
          Makes the TextView be at most this many lines tall
static int maxRows
          Defines the maximum number of rows displayed.
static int maxWidth
          An optional argument to supply a maximum width for this view.
static int measureAllChildren
          Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring.
static int menuCategory
          The category applied to all items within this group.
static int mimeType
          Specify a MIME type that is handled, as per IntentFilter.addDataType().
static int minEms
          Makes the TextView be at least this many ems wide
static int minHeight
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int minLevel
          Must be an integer value, such as "100".
static int minLines
          Makes the TextView be at least this many lines tall
static int minSdkVersion
          This is the minimum SDK version number that the application requires.
static int minWidth
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int mode
          Must be one of the following constant values.
static int moreIcon
          'More' icon
static int multiprocess
          Specify whether a component is allowed to have multiple instances of itself running in different processes.
static int name
          A unique name for the given item.
static int negativeButtonText
          The negative button text for the dialog.
static int nextFocusDown
          Defines the next view to give focus to when the next focus is View.FOCUS_DOWN If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.
static int nextFocusLeft
          Defines the next view to give focus to when the next focus is View.FOCUS_LEFT.
static int nextFocusRight
          Defines the next view to give focus to when the next focus is View.FOCUS_RIGHT If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.
static int nextFocusUp
          Defines the next view to give focus to when the next focus is View.FOCUS_UP If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.
static int numColumns
          May be an integer value, such as "100".
static int numeric
          If set, specifies that this TextView has a numeric input method.
static int numericShortcut
          The numeric shortcut key.
static int numStars
          The number of stars (or rating items) to show.
static int oneshot
          If true, the animation will only run a single time and then stop.
static int order
          The order for the Preference (lower values are to be ordered first).
static int orderInCategory
          The order within the category applied to all items within this group.
static int orderingFromXml
          Whether to order the Preference under this group as they appear in the XML file.
static int orientation
          Standard orientation constant.
static int outAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int padding
          Sets the padding, in pixels, of all four edges.
static int paddingBottom
          Sets the padding, in pixels, of the bottom edge; see padding.
static int paddingLeft
          Sets the padding, in pixels, of the left edge; see padding.
static int paddingRight
          Sets the padding, in pixels, of the right edge; see padding.
static int paddingTop
          Sets the padding, in pixels, of the top edge; see padding.
static int panelBackground
          The background of a panel when it is inset from the left and right edges of the screen.
static int panelColorBackground
          Color that matches (as closely as possible) the panel background.
static int panelColorForeground
          Default color of foreground panel imagery.
static int panelFullBackground
          The background of a panel when it extends to the left and right edges of the screen.
static int panelTextAppearance
          Default appearance of panel text.
static int password
          Whether the characters of the field are displayed as password dots instead of themselves.
static int path
          Specify a URI path that must exactly match, as per PatternMatcher with PatternMatcher.PATTERN_LITERAL.
static int pathPattern
          Specify a URI path that matches a simple pattern, as per PatternMatcher with PatternMatcher.PATTERN_SIMPLE_GLOB.
static int pathPrefix
          Specify a URI path that must be a prefix to match, as per PatternMatcher with PatternMatcher.PATTERN_PREFIX.
static int permission
          Specify a permission that a client is required to have in order to use the associated object.
static int permissionGroup
          Specified the name of a group that this permission is associated with.
static int persistent
          Flag to control special persistent mode of an application.
static int persistentDrawingCache
          Defines the persistence of the drawing cache.
static int phoneNumber
          If set, specifies that this TextView has a phone number input method.
static int pivotX
          May be a floating point value, such as "1.2".
static int pivotY
          May be a floating point value, such as "1.2".
static int popupBackground
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int popupWindowStyle
          Default PopupWindow style.
static int port
          Specify a URI authority port that is handled, as per IntentFilter.addDataAuthority().
static int positiveButtonText
          The positive button text for the dialog.
static int preferenceCategoryStyle
          Default style for PreferenceCategory.
static int preferenceInformationStyle
          Default style for informational Preference.
static int preferenceLayoutChild
          The preference layout that has the child/tabbed effect.
static int preferenceScreenStyle
          Default style for PreferenceScreen.
static int preferenceStyle
          Default style for Preference.
static int priority
          Specify the relative importance or ability in handling a particular Intent.
static int process
          Specify a specific process that the associated code is to run in.
static int progress
          Defines the default progress value, between 0 and max.
static int progressBarStyle
          Default ProgressBar style.
static int progressBarStyleHorizontal
          Horizontal ProgressBar style.
static int progressBarStyleLarge
          Large ProgressBar style.
static int progressBarStyleSmall
          Small ProgressBar style.
static int progressBarStyleSmallTitle
          Small ProgressBar in title style.
static int progressDrawable
          Drawable used for the progress mode.
static int prompt
          The prompt to display when the spinner's dialog is shown.
static 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.
static int queryActionMsg
          If you wish to handle an action key during normal search query entry, you must define an action string here.
static int radioButtonStyle
          Default RadioButton style.
static int radius
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int rating
          The rating to set by default.
static int ratingBarStyle
          Default RatingBar style.
static int ratingBarStyleIndicator
          Indicator RatingBar style.
static int ratingBarStyleSmall
          Small indicator RatingBar style.
static int readPermission
          A specific permission name for read-only access to a ContentProvider.
static int repeatCount
          Defines how many times the animation should repeat.
static int repeatMode
          Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite.
static int resource
          Resource identifier to assign to this piece of named meta-data.
static int right
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int ringtonePreferenceStyle
          Default style for RingtonePreference.
static int ringtoneType
          Which ringtone type(s) to show in the picker.
static int rowDelay
          Fraction of the animation duration used to delay the beginning of the animation of each row.
static int rowHeight
          Defines the height of each row.
static int saveEnabled
          If unset, no state will be saved for this view when it is being frozen.
static int scaleGravity
          Specifies where the drawable is positioned after scaling.
static int scaleHeight
          Scale height, expressed as a percentage of the drawable's bound.
static int scaleType
          Controls how the image should be resized or moved to match the size of this ImageView.
static int scaleWidth
          Scale width, expressed as a percentage of the drawable's bound.
static int scheme
          Specify a URI scheme that is handled, as per IntentFilter.addDataScheme().
static int screenOrientation
          Specify the orientation an activity should be run in.
static int scrollbarAlwaysDrawHorizontalTrack
          Defines whether the horizontal scrollbar track should always be drawn.
static int scrollbarAlwaysDrawVerticalTrack
          Defines whether the vertical scrollbar track should always be drawn
static int scrollbars
          Defines which scrollbars should be displayed on scrolling or not.
static int scrollbarSize
          Sets the width of vertical scrollbars and height of horizontal scrollbars.
static int scrollbarStyle
          Controls the scrollbar style and position.
static int scrollbarThumbHorizontal
          Defines the horizontal scrollbar thumb drawable.
static int scrollbarThumbVertical
          Defines the vertical scrollbar thumb drawable.
static int scrollbarTrackHorizontal
          Defines the horizontal scrollbar track drawable.
static int scrollbarTrackVertical
          Defines the vertical scrollbar track drawable.
static int scrollHorizontally
          Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally).
static int scrollingCache
          When set to true, the list uses a drawing cache during scrolling.
static int scrollViewStyle
          Default ScrollView style.
static int scrollX
          The initial horizontal scroll offset, in pixels.
static int scrollY
          The initial vertical scroll offset, in pixels.
static int searchButtonText
          If supplied, this string will be displayed as the text of the "Search" button.
static int searchMode
          Additional features are controlled by mode bits in this field.
static int searchSuggestAuthority
          If provided, this is the trigger indicating that the searchable activity provides suggestions as well.
static 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.
static 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.
static 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.
static int searchSuggestSelection
          If provided, suggestion queries will be passed into your query function as the selection parameter.
static int secondaryProgress
          Defines the secondary progress value, between 0 and max.
static int seekBarStyle
          Default SeekBar style.
static int selectable
          Whether the Preference is selectable.
static 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.
static int shadowColor
          Place a shadow of the specified color behind the text.
static int shadowDx
          Horizontal offset of the shadow.
static int shadowDy
          Vertical offset of the shadow.
static int shadowRadius
          Radius of the shadow.
static int shape
          Must be one of the following constant values.
static int sharedUserId
          Specify the name of a user ID that will be shared between multiple packages.
static int shareInterpolator
          Must be a boolean value, either "true" or "false".
static int shouldDisableView
          Whether the view of this Preference should be disabled when this Preference is disabled.
static int showDefault
          Whether to show an item for a default sound.
static int showSilent
          Whether to show an item for 'Silent'.
static int shrinkColumns
          The 0 based index of the columns to shrink.
static int singleLine
          Constrains the text to a single horizontally scrolling line instead of letting it wrap onto multiple lines, and advances focus instead of inserting a newline when you press the enter key.
static int soundEffectsEnabled
          Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching.
static int spacing
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int spinnerDropDownItemStyle
          Default style for spinner drop down items.
static int spinnerItemStyle
          Default spinner item style.
static int spinnerStyle
          Default Spinner style.
static int src
          Sets a drawable as the content of this ImageView.
static int stackFromBottom
          Used by ListView and GridView to stack their content from the bottom.
static int starStyle
          Default Star style.
static int startColor
          Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
static int startOffset
          Delay in milliseconds before the animation runs, once start time is reached.
static int startYear
          The first year (inclusive) i.e.
static int state_above_anchor
          State identifier indicating the popup will be above the anchor.
static int state_active
          State value for StateListDrawable.
static int state_checkable
          State identifier indicating that the object may display a check mark.
static int state_checked
          State identifier indicating that the object is currently checked.
static int state_empty
          State identifier indicating the group is empty (has no children).
static int state_enabled
          State value for StateListDrawable.
static int state_expanded
          State identifier indicating the group is expanded.
static int state_first
          State value for StateListDrawable.
static int state_focused
          State value for StateListDrawable.
static int state_last
          State value for StateListDrawable.
static int state_middle
          State value for StateListDrawable.
static int state_pressed
          State value for StateListDrawable.
static int state_selected
          State value for StateListDrawable.
static int state_single
          State value for StateListDrawable.
static int state_window_focused
          State value for StateListDrawable.
static int stateNotNeeded
          Indicates that an Activity does not need to have its freeze state (as returned by Activity.onSaveInstanceState(android.os.Bundle) retained in order to be restarted.
static int stepSize
          The step size of the rating.
static int streamType
          Different audio stream types.
static int stretchColumns
          The 0 based index of the columns to stretch.
static int stretchMode
          Must be one of the following constant values.
static 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.
static 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.
static int summary
          The summary for the Preference in a PreferenceActivity screen.
static int summaryOff
          The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.
static int summaryOn
          The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.
static int syncable
          Flag indicating whether this content provider would like to participate in data synchronization.
static int tabWidgetStyle
          Default TabWidget style.
static int tag
          Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().
static int targetActivity
          The name of the activity this alias should launch.
static int targetClass
          The class part of the ComponentName to assign to the Intent, as per Intent.setComponent().
static int targetPackage
          The name of the application package that an Instrumentation object will run against.
static int taskAffinity
          Specify a task name that activities have an "affinity" to.
static int taskCloseEnterAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int taskCloseExitAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int taskOpenEnterAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int taskOpenExitAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int taskToBackEnterAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int taskToBackExitAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int taskToFrontEnterAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int taskToFrontExitAnimation
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int text
          Text to display.
static int textAppearance
          Default appearance of text: color, typeface, size, and style
static int textAppearanceButton
          Text color, typeface, size, and style for the text inside of a button.
static int textAppearanceInverse
          Default appearance of text against an inverted background: color, typeface, size, and style
static int textAppearanceLarge
          Text color, typeface, size, and style for "large" text.
static int textAppearanceLargeInverse
          Text color, typeface, size, and style for "large" inverse text.
static int textAppearanceMedium
          Text color, typeface, size, and style for "medium" text.
static int textAppearanceMediumInverse
          Text color, typeface, size, and style for "medium" inverse text.
static int textAppearanceSmall
          Text color, typeface, size, and style for "small" text.
static int textAppearanceSmallInverse
          Text color, typeface, size, and style for "small" inverse text.
static int textCheckMark
          Drawable to use for check marks
static int textCheckMarkInverse
          Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int textColor
          Color of text (usually same as colorForeground).
static int textColorHighlight
          Color of highlighted text.
static int textColorHint
          Color of hint text (displayed when the field is empty).
static int textColorHintInverse
          Inverse hint text color
static int textColorLink
          Color of link text (URLs).
static int textColorPrimary
          The most prominent text color, for the
static int textColorPrimaryDisableOnly
          Bright text color.
static int textColorPrimaryInverse
          Primary inverse text color, useful for inverted backgrounds
static int textColorPrimaryInverseNoDisable
          Bright inverse text color.
static int textColorPrimaryNoDisable
          Bright text color.
static int textColorSecondary
          Secondary text color
static int textColorSecondaryInverse
          Secondary inverse text color, useful for inverted backgrounds
static int textColorSecondaryInverseNoDisable
          Dim inverse text color.
static int textColorSecondaryNoDisable
          Dim text color.
static int textColorTertiary
          Tertiary text color
static int textColorTertiaryInverse
          Tertiary inverse text color, useful for inverted backgrounds
static int textFilterEnabled
          When set to true, the list will filter results as the user types.
static int textOff
          The text for the button when it is not checked.
static int textOn
          The text for the button when it is checked.
static int textScaleX
          Sets the horizontal scaling factor for the text
static int textSize
          Size of text (example: 15sp).
static int textStyle
          Default text typeface style.
static int textViewStyle
          Default TextView style.
static int theme
          The overall theme to use for an activity.
static int thicknessRatio
          Must be a floating point value, such as "1.2".
static int thumb
          Draws the thumb on a seekbar
static int thumbOffset
          An offset for the thumb that allows it to extend out of the range of the track.
static int tileMode
          Defines the tile mode.
static int tint
          Set a tinting color for the image
static int title
          The title associated with the item.
static int titleCondensed
          The condensed title associated with the item.
static int toAlpha
          Must be a floating point value, such as "1.2".
static int toDegrees
          Must be a floating point value, such as "1.2".
static int top
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int topBright
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int topDark
          May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".
static int topLeftRadius
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int topRightRadius
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int toXDelta
          May be a floating point value, such as "1.2".
static int toXScale
          Must be a floating point value, such as "1.2".
static int toYDelta
          May be a floating point value, such as "1.2".
static int toYScale
          Must be a floating point value, such as "1.2".
static int transcriptMode
          Sets the transcript mode for the list.
static int type
          Must be one of the following constant values.
static int typeface
          Default text typeface.
static int unselectedAlpha
          Sets the alpha on the items that are not selected.
static int useLevel
          Must be a boolean value, either "true" or "false".
static int value
          Concrete value to assign to this piece of named meta-data.
static int variablePadding
          If true, allows the drawable's padding to change based on the current state that is selected.
static int versionCode
          Internal version code.
static int versionName
          The text shown to the user to indicate the version they have.
static int verticalDivider
          Default vertical divider between menu items.
static int verticalSpacing
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int visibility
          Controls the initial visibility of the view.
static int visible
          Provides initial visibility state of the drawable; the default value is false.
static int webViewStyle
          Default WebView style.
static int weightSum
          Defines the maximum weight sum.
static int widgetLayout
          The layout for the controllable widget portion of a Preference.
static int width
          Makes the TextView be exactly this many pixels wide.
static int windowAnimationStyle
          Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by R.styleable.WindowAnimation.
static int windowBackground
          Drawable to use as the overall window background.
static int windowContentOverlay
          This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.
static int windowEnterAnimation
          The animation used when a window is being added.
static int windowExitAnimation
          The animation used when a window is being removed.
static int windowFrame
          Drawable to use as a frame around the window.
static int windowFullscreen
          Flag indicating whether this window should fill the entire screen.
static int windowHideAnimation
          The animation used when a window is going from VISIBLE to INVISIBLE.
static int windowIsFloating
          Flag indicating whether this is a floating window.
static int windowIsTranslucent
          Flag indicating whether this is a translucent window.
static int windowNoTitle
          Flag indicating whether there should be no title on this window.
static int windowShowAnimation
          The animation used when a window is going from INVISIBLE to VISIBLE.
static int windowTitleBackgroundStyle
          The style resource to use for a window's title area.
static int windowTitleSize
          The style resource to use for a window's title bar height.
static int windowTitleStyle
          The style resource to use for a window's title text.
static int writePermission
          A specific permission name for write access to a ContentProvider.
static int x
          A coordinate in the X dimension.
static int y
          A coordinate in the Y dimension.
static int yesNoPreferenceStyle
          Default style for YesNoPreference.
static int zAdjustment
          Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation.
 
Constructor Summary
R.attr()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

absListViewStyle

public static final int absListViewStyle
Default AbsListView style.

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

See Also:
Constant Field Values

action

public static final int action
The action name to assign to the Intent, as per Intent.setAction().

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

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

See Also:
Constant Field Values

activityCloseEnterAnimation

public static final int activityCloseEnterAnimation

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

See Also:
Constant Field Values

activityCloseExitAnimation

public static final int activityCloseExitAnimation

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

See Also:
Constant Field Values

activityOpenEnterAnimation

public static final int activityOpenEnterAnimation

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

See Also:
Constant Field Values

activityOpenExitAnimation

public static final int activityOpenExitAnimation

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

See Also:
Constant Field Values

addStatesFromChildren

public static final int addStatesFromChildren
Sets whether this ViewGroup's drawable states also include its children's drawable states. This is used, for example, to make a group appear to be focused when its child EditText or button is focused.

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

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

See Also:
Constant Field Values

adjustViewBounds

public static final int adjustViewBounds
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.

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

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

See Also:
Constant Field Values

alertDialogStyle

public static final int alertDialogStyle

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

See Also:
Constant Field Values

allowClearUserData

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

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

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

See Also:
Constant Field Values

allowTaskReparenting

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

See Also:
Constant Field Values

alphabeticShortcut

public static final int alphabeticShortcut
The alphabetic shortcut key. This is the shortcut when using a keyboard with alphabetic keys.

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

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

See Also:
Constant Field Values

alwaysDrawnWithCache

public static final int alwaysDrawnWithCache
Defines whether the ViewGroup should always draw its children using their drawing cache or not. The default value is true.

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

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

See Also:
Constant Field Values

alwaysRetainTaskState

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

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.

See Also:
Constant Field Values

angle

public static final int angle

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.

See Also:
Constant Field Values

animation

public static final int animation
Animation to use on each child.

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

See Also:
Constant Field Values

animationCache

public static final int animationCache
Defines whether layout animations should create a drawing cache for their children. Enabling the animation cache consumes more memory and requires a longer initialization but provides better performance. The animation cache is enabled by default.

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

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

See Also:
Constant Field Values

animationDuration

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

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

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

See Also:
Constant Field Values

animationOrder

public static final int animationOrder
The order in which the animations will be started.

Must be one of the following constant values.

ConstantValueDescription
normal0 Animations are started in the natural order.
reverse1 Animations are started in the reverse order.
random2 Animations are started randomly.

See Also:
Constant Field Values

antialias

public static final int antialias
Enables or disables antialiasing.

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

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

See Also:
Constant Field Values

apiKey

public static final int apiKey
An API Key required to use MapView. Currently, this can be an arbitrary string. In order to run on actual devices, though, your app will need an authentic key, but the process for issuing keys is not ready at this time.

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

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

See Also:
Constant Field Values

authorities

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

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

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

See Also:
Constant Field Values

autoCompleteTextViewStyle

public static final int autoCompleteTextViewStyle
Default AutoCompleteTextView style.

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

See Also:
Constant Field Values

autoLink

public static final int autoLink
Controls whether links such as urls and email addresses are automatically found and converted to clickable links. The default value is "none", disabling this feature.

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

ConstantValueDescription
none0x00 Match no patterns (default)
web0x01 Match Web URLs
email0x02 Match email addresses
phone0x04 Match phone numbers
map0x08 Match map addresses
all0x0f Match all patterns (equivalent to web|email|phone|map)

See Also:
Constant Field Values

autoText

public static final int autoText
If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors. The default is "false".

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

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

See Also:
Constant Field Values

background

public static final int background
A drawable to use as the background. This can be either a reference to a full drawable resource (such as a PNG image, 9-patch, XML state list description, etc), or a solid color such as "#ff000000" (black).

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

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

See Also:
Constant Field Values

backgroundDimAmount

public static final int backgroundDimAmount
Default background dim amount when a menu, dialog, or something similar pops up.

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

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

See Also:
Constant Field Values

baselineAlignBottom

public static final int baselineAlignBottom
If true, the image view will be baseline aligned with based on its bottom edge

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

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

See Also:
Constant Field Values

baselineAligned

public static final int baselineAligned
When set to false, prevents the layout from aligning its children's baselines. This attribute is particularly useful when the children use different values for gravity. The default value is true.

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

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

See Also:
Constant Field Values

baselineAlignedChildIndex

public static final 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 (i.e which child TextView).

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

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

See Also:
Constant Field Values

bottom

public static final int bottom

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

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

See Also:
Constant Field Values

bottomBright

public static final int bottomBright

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

See Also:
Constant Field Values

bottomDark

public static final int bottomDark

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

See Also:
Constant Field Values

bottomLeftRadius

public static final int bottomLeftRadius

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

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

See Also:
Constant Field Values

bottomMedium

public static final int bottomMedium

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

See Also:
Constant Field Values

bottomRightRadius

public static final int bottomRightRadius

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

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

See Also:
Constant Field Values

bufferType

public static final int bufferType
Determines the minimum type that getText() will return. The default is "normal". Note that EditText and LogTextBox always return Editable, even if you specify something less powerful here.

Must be one of the following constant values.

ConstantValueDescription
normal0 Can return any CharSequence, possibly a Spanned one if the source text was Spanned.
spannable1 Can only return Spannable.
editable2 Can only return Spannable and Editable.

See Also:
Constant Field Values

button

public static final int button
Drawable used for the button graphic (e.g. checkbox, radio button, etc).

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

See Also:
Constant Field Values

buttonStyle

public static final int buttonStyle
Normal Button style.

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

See Also:
Constant Field Values

buttonStyleInset

public static final int buttonStyleInset
Button style to inset into an EditText.

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

See Also:
Constant Field Values

buttonStyleSmall

public static final int buttonStyleSmall
Small Button style.

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

See Also:
Constant Field Values

buttonStyleToggle

public static final int buttonStyleToggle
ToggleButton style.

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

See Also:
Constant Field Values

cacheColorHint

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

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

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

See Also:
Constant Field Values

capitalize

public static final int capitalize
If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. The default is "none".

Must be one of the following constant values.

ConstantValueDescription
none0 Don't automatically capitalize anything.
sentences1 Capitalize the first word of each sentence.
words2 Capitalize the first letter of every word.
characters3 Capitalize every character.

See Also:
Constant Field Values

centerBright

public static final int centerBright

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

See Also:
Constant Field Values

centerColor

public static final int centerColor
Optional center color. For linear gradients, use centerX or centerY to place the center color.

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

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

See Also:
Constant Field Values

centerDark

public static final int centerDark

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

See Also:
Constant Field Values

centerMedium

public static final int centerMedium

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

See Also:
Constant Field Values

centerX

public static final int centerX

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.

See Also:
Constant Field Values

centerY

public static final int centerY

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.

See Also:
Constant Field Values

checkBoxPreferenceStyle

public static final int checkBoxPreferenceStyle
Default style for CheckBoxPreference.

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

See Also:
Constant Field Values

checkMark

public static final int checkMark
Drawable used for the check mark graphic

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

See Also:
Constant Field Values

checkable

public static final int checkable
Whether the item is capable of displaying a check mark.

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

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

See Also:
Constant Field Values

checkableBehavior

public static final int checkableBehavior
Whether the items are capable of displaying a check mark.

Must be one of the following constant values.

ConstantValueDescription
none0 The items are not checkable.
all1 The items are all checkable.
single2 The items are checkable and there will only be a single checked item in this group.

See Also:
Constant Field Values

checkboxStyle

public static final int checkboxStyle
Default Checkbox style.

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

See Also:
Constant Field Values

checked

public static final int checked
Indicates the initial checked state of this button

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

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

See Also:
Constant Field Values

checkedButton

public static final int checkedButton
The id of the child radio button that should be checked by default within this radio group.

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

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

See Also:
Constant Field Values

childDivider

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

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

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

See Also:
Constant Field Values

childIndicator

public static final int childIndicator
Indicator shown beside the child View. This can be a stateful Drawable.

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

See Also:
Constant Field Values

childIndicatorLeft

public static final int childIndicatorLeft
The left bound for a child's indicator.

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

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

See Also:
Constant Field Values

childIndicatorRight

public static final int childIndicatorRight
The right bound for a child's indicator.

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

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

See Also:
Constant Field Values

choiceMode

public static final int choiceMode
Defines the choice behavior for the List. By default, Lists do not have any choice behavior. By setting the choiceMode to singleChoice, the List allows up to one item to be in a chosen state. By setting the choiceMode to multipleChoice, the list allows any number of items to be chosen.

Must be one of the following constant values.

ConstantValueDescription
none0 Normal list that does not indicate choices
singleChoice1 The list allows up to one choice
multipleChoice2 The list allows multiple choices

See Also:
Constant Field Values

clearTaskOnLaunch

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

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

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

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

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

See Also:
Constant Field Values

clickable

public static final int clickable
Defines whether this view reacts to click events.

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

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

See Also:
Constant Field Values

clipChildren

public static final int clipChildren
Defines whether a child is limited to draw inside of its bounds or not. This is useful with animations that scale the size of the children to more than 100% for instance. In such a case, this property should be set to false to allow the children to draw outside of their bounds. The default value of this property is true.

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

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

See Also:
Constant Field Values

clipOrientation

public static final int clipOrientation
The orientation for the clip.

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

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

See Also:
Constant Field Values

clipToPadding

public static final int clipToPadding
Defines whether the ViewGroup will clip its drawing surface so as to exclude the padding area. This property is set to true by default.

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

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

See Also:
Constant Field Values

collapseColumns

public static final int collapseColumns
The 0 based index of the columns to collapse. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored.

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

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

See Also:
Constant Field Values

color

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

See Also:
Constant Field Values

colorBackground

public static final int colorBackground
Color that matches (as closely as possible) the window background.

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

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

See Also:
Constant Field Values

colorForeground

public static final int colorForeground
Default color of foreground imagery.

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

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

See Also:
Constant Field Values

colorForegroundInverse

public static final int colorForegroundInverse
Default color of foreground imagery on an inverted background.

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

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

See Also:
Constant Field Values

columnDelay

public static final int columnDelay
Fraction of the animation duration used to delay the beginning of the animation of each column.

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

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

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

See Also:
Constant Field Values

columnWidth

public static final int columnWidth

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

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

See Also:
Constant Field Values

completionHint

public static final int completionHint
Defines the hint displayed in the drop down menu.

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

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

See Also:
Constant Field Values

completionHintView

public static final int completionHintView
Defines the hint view displayed in the drop down menu.

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

See Also:
Constant Field Values

completionThreshold

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

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

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

See Also:
Constant Field Values

configChanges

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

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

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

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

ConstantValueDescription
mcc0x0001 The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code.
mnc0x0002 The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code.
locale0x0004 The locale has changed, that is the user has selected a new language that text should be displayed in.
touchscreen0x0008 The touchscreen has changed. Should never normally happen.
keyboard0x0010 The keyboard type has changed, for example the user has plugged in an external keyboard.
keyboardHidden0x0020 The keyboard accessibility has changed, for example the user has slid the keyboard out to expose it.
navigation0x0040 The navigation type has changed. Should never normally happen.
orientation0x0080 The screen orientation has changed, that is the user has rotated the device.
fontScale0x40000000 The font scaling factor has changed, that is the user has selected a new global font size.

See Also:
Constant Field Values

constantSize

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

See Also:
Constant Field Values

cropToPadding

public static final int cropToPadding
If true, the image will be cropped to fit within its padding

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

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

See Also:
Constant Field Values

cursorVisible

public static final int cursorVisible
Makes the cursor visible (the default) or invisible

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

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

See Also:
Constant Field Values

cycles

public static final int cycles

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.

See Also:
Constant Field Values

dashGap

public static final int dashGap

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

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

See Also:
Constant Field Values

dashWidth

public static final int dashWidth

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

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

See Also:
Constant Field Values

data

public static final int data
The data URI to assign to the Intent, as per Intent.setData().

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

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

See Also:
Constant Field Values

debuggable

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

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

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

See Also:
Constant Field Values

defaultValue

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

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

See Also:
Constant Field Values

delay

public static final int delay
Fraction of the animation duration used to delay the beginning of the animation of each child.

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

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

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

See Also:
Constant Field Values

dependency

public static final int dependency
The key of another Preference that this Preference will depend on. If the other Preference is not set or is off, this Preference will be disabled.

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

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

See Also:
Constant Field Values

descendantFocusability

public static final int descendantFocusability
Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.

Must be one of the following constant values.

ConstantValueDescription
beforeDescendants0 The ViewGroup will get focus before any of its descendants.
afterDescendants1 The ViewGroup will get focus only if none of its descendants want it.
blocksDescendants2 The ViewGroup will block its descendants from receiving focus.

See Also:
Constant Field Values

description

public static final int description
A longer descriptive text about a particular application or permission that can be granted. This must be a reference to a string resource; unlike the label attribute, this can not be a raw string.

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

See Also:
Constant Field Values

dial

public static final int dial

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

See Also:
Constant Field Values

dialogIcon

public static final int dialogIcon
The icon for the dialog.

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

See Also:
Constant Field Values

dialogLayout

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

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

See Also:
Constant Field Values

dialogMessage

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

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

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

See Also:
Constant Field Values

dialogPreferenceStyle

public static final int dialogPreferenceStyle
Default style for DialogPreference.

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

See Also:
Constant Field Values

dialogTitle

public static final int dialogTitle
The title in the dialog.

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

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

See Also:
Constant Field Values

digits

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

See Also:
Constant Field Values

direction

public static final int direction
Direction of the animation in the grid.

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

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

See Also:
Constant Field Values

directionPriority

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

Must be one of the following constant values.

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

See Also:
Constant Field Values

disableDependentsState

public static final int disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.

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

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

See Also:
Constant Field Values

disabledAlpha

public static final int disabledAlpha
Default disabled alpha for widgets that set enabled/disabled alpha programmatically.

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

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

See Also:
Constant Field Values

dither

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

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

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

See Also:
Constant Field Values

divider

public static final int divider
Drawable or color to draw between list items.

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

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

See Also:
Constant Field Values

dividerHeight

public static final int dividerHeight
Height of the divider. Will use the intrinsic height of the divider if this is not specified.

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

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

See Also:
Constant Field Values

drawSelectorOnTop

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

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

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

See Also:
Constant Field Values

drawable

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

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

See Also:
Constant Field Values

drawableBottom

public static final int drawableBottom
The drawable to be drawn below the text.

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

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

See Also:
Constant Field Values

drawableLeft

public static final int drawableLeft
The drawable to be drawn to the left of the text.

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

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

See Also:
Constant Field Values

drawablePadding

public static final int drawablePadding
The padding between the drawables and the text.

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

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

See Also:
Constant Field Values

drawableRight

public static final int drawableRight
The drawable to be drawn to the right of the text.

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

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

See Also:
Constant Field Values

drawableTop

public static final int drawableTop
The drawable to be drawn above the text.

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

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

See Also:
Constant Field Values

drawingCacheQuality

public static final int drawingCacheQuality
Defines the quality of translucent drawing caches. This property is used only when the drawing cache is enabled and translucent. The default value is auto.

Must be one of the following constant values.

ConstantValueDescription
auto0 Lets the framework decide what quality level should be used for the drawing cache.
low1 Low quality. When set to low quality, the drawing cache uses a lower color depth, thus losing precision in rendering gradients, but uses less memory.
high2 High quality. When set to high quality, the drawing cache uses a higher color depth but uses more memory.

See Also:
Constant Field Values

dropDownHintAppearance

public static final int dropDownHintAppearance
Default style for drop down hints.

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

See Also:
Constant Field Values

dropDownItemStyle

public static final int dropDownItemStyle
Default style for drop down items.

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

See Also:
Constant Field Values

dropDownListViewStyle

public static final int dropDownListViewStyle
Default ListView style for drop downs.

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

See Also:
Constant Field Values

dropDownSelector

public static final int dropDownSelector
Selector in a drop down list.

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

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

See Also:
Constant Field Values

duplicateParentState

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

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

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

See Also:
Constant Field Values

duration

public static final int duration
Amount of time (in milliseconds) to display this frame.

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

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

See Also:
Constant Field Values

editTextPreferenceStyle

public static final int editTextPreferenceStyle
Default style for EditTextPreference.

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

See Also:
Constant Field Values

editTextStyle

public static final int editTextStyle
Default EditText style.

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

See Also:
Constant Field Values

editable

public static final int editable
If set, specifies that this TextView has an input method. It will be a textual one unless it has otherwise been specified. For TextView, this is false by default. For EditText, it is true by default.

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

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

See Also:
Constant Field Values

ellipsize

public static final int ellipsize
Where to ellipsize text.

Must be one of the following constant values.

ConstantValueDescription
none0
start1
middle2
end3

See Also:
Constant Field Values

ems

public static final int ems
Makes the TextView be exactly this many ems wide

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

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

See Also:
Constant Field Values

enabled

public static final int enabled
Deprecated: use state_enabled instead.

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

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

See Also:
Constant Field Values

endColor

public static final int endColor

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.

See Also:
Constant Field Values

endYear

public static final int endYear
The last year (inclusive) i.e. 2010

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

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

See Also:
Constant Field Values

entries

public static final int entries
Reference to an array resource that will populate a list/adapter

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

See Also:
Constant Field Values

entryValues

public static final int entryValues
The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.

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

See Also:
Constant Field Values

excludeFromRecents

public static final int excludeFromRecents
Indicates that an Activity should be excluded from the list of recently launched activities.

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

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

See Also:
Constant Field Values

expandableListPreferredChildIndicatorLeft

public static final int expandableListPreferredChildIndicatorLeft
The preferred left bound for an expandable list child's indicator.

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

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

See Also:
Constant Field Values

expandableListPreferredChildIndicatorRight

public static final int expandableListPreferredChildIndicatorRight
The preferred right bound for an expandable list child's indicator.

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

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

See Also:
Constant Field Values

expandableListPreferredChildPaddingLeft

public static final int expandableListPreferredChildPaddingLeft
The preferred left padding for an expandable list item that is a child. If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft.

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

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

See Also:
Constant Field Values

expandableListPreferredItemIndicatorLeft

public static final int expandableListPreferredItemIndicatorLeft
The preferred left bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorLeft.

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

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

See Also:
Constant Field Values

expandableListPreferredItemIndicatorRight

public static final int expandableListPreferredItemIndicatorRight
The preferred right bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorRight.

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

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

See Also:
Constant Field Values

expandableListPreferredItemPaddingLeft

public static final int expandableListPreferredItemPaddingLeft
The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). This takes into account the indicator that will be shown to next to the item.

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

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

See Also:
Constant Field Values

expandableListViewStyle

public static final int expandableListViewStyle
Default ExpandableListView style.

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

See Also:
Constant Field Values

exported

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

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

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

See Also:
Constant Field Values

factor

public static final int factor
This is the amount of deceleration to ad when easing in.

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

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

See Also:
Constant Field Values

fadingEdge

public static final int fadingEdge
Defines which edges should be fadeded on scrolling.

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

ConstantValueDescription
none0x00000000 No edge is faded.
horizontal0x00001000 Fades horizontal edges only.
vertical0x00002000 Fades vertical edges only.

See Also:
Constant Field Values

fadingEdgeLength

public static final int fadingEdgeLength
Defines the length of the fading edges.

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

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

See Also:
Constant Field Values

fillAfter

public static final int fillAfter
When set to true, the animation transformation is applied after the animation is over. The default value is false.

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

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

See Also:
Constant Field Values

fillBefore

public static final int fillBefore
When set to true, the animation transformation is applied before the animation has started. The default value is true.

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

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

See Also:
Constant Field Values

fillViewport

public static final int fillViewport
Defines whether the scrollview should stretch its content to fill the viewport.

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

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

See Also:
Constant Field Values

filter

public static final int filter
Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its apperance.

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

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

See Also:
Constant Field Values

finishOnTaskLaunch

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

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

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

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

See Also:
Constant Field Values

fitsSystemWindows

public static final int fitsSystemWindows
Boolean internal attribute to adjust view layout based on system windows such as the status bar. If true, adjusts the padding of this view to leave space for the system windows. Will only take effect if this view is in a non-embedded activity.

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

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

See Also:
Constant Field Values

flipInterval

public static final int flipInterval

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.

See Also:
Constant Field Values

focusable

public static final int focusable
Boolean that controls whether a view can take focus. By default the user can not move focus to a view; by setting this attribute to true the view is allowed to take focus. This value does not impact the behavior of directly calling View.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.

See Also:
Constant Field Values

focusableInTouchMode

public static final int focusableInTouchMode
Boolean that controls whether a view can take focus while in touch mode. If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.

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

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

See Also:
Constant Field Values

foreground

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

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

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

See Also:
Constant Field Values

foregroundGravity

public static final int foregroundGravity
Defines the gravity to apply to the foreground drawable. The gravity defaults to fill.

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

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.

See Also:
Constant Field Values

format

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

See Also:
Constant Field Values

freezesText

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

See Also:
Constant Field Values

fromAlpha

public static final int fromAlpha

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.

See Also:
Constant Field Values

fromDegrees

public static final int fromDegrees

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.

See Also:
Constant Field Values

fromXDelta

public static final int fromXDelta

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.

See Also:
Constant Field Values

fromXScale

public static final int fromXScale

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.

See Also:
Constant Field Values

fromYDelta

public static final int fromYDelta

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.

See Also:
Constant Field Values

fromYScale

public static final int fromYScale

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.

See Also:
Constant Field Values

fullBright

public static final int fullBright

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

See Also:
Constant Field Values

fullDark

public static final int fullDark

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

See Also:
Constant Field Values

functionalTest

public static final int functionalTest
Flag indicating that an Instrumentation class should be run as a functional test.

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

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

See Also:
Constant Field Values

galleryItemBackground

public static final int galleryItemBackground
The preferred background for gallery items. This should be set as the background of any Views you provide from the Adapter.

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

See Also:
Constant Field Values

galleryStyle

public static final int galleryStyle
Default Gallery style.

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

See Also:
Constant Field Values

gradientRadius

public static final int gradientRadius

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.

See Also:
Constant Field Values

grantUriPermissions

public static final 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. If you are supporting this feature, you must be sure to call Context.revokeUriPermission when URIs are deleted from your provider.

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

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

See Also:
Constant Field Values

gravity

public static final int gravity
Specifies how to place an object, both its x and y axis, within a larger containing object.

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

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.

See Also:
Constant Field Values

gridViewStyle

public static final int gridViewStyle
Default GridView style.

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

See Also:
Constant Field Values

groupIndicator

public static final int groupIndicator
Indicator shown beside the group View. This can be a stateful Drawable.

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

See Also:
Constant Field Values

hand_hour

public static final int hand_hour

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

See Also:
Constant Field Values

hand_minute

public static final int hand_minute

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

See Also:
Constant Field Values

handleProfiling

public static final 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. This allows it to target profiling data at a specific set of operations.

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

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

See Also:
Constant Field Values

hasCode

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

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

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

See Also:
Constant Field Values

headerBackground

public static final int headerBackground
Default background for the menu header.

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

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

See Also:
Constant Field Values

height

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

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

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

See Also:
Constant Field Values

hint

public static final int hint
Hint text to display when the text is empty.

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

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

See Also:
Constant Field Values

horizontalDivider

public static final int horizontalDivider
Default horizontal divider between rows of menu items.

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

See Also:
Constant Field Values

horizontalSpacing

public static final int horizontalSpacing

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

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

See Also:
Constant Field Values

host

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

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

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

See Also:
Constant Field Values

icon

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

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

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

See Also:
Constant Field Values

id

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

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

See Also:
Constant Field Values

ignoreGravity

public static final int ignoreGravity
Indicates what view should not be affected by gravity.

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

See Also:
Constant Field Values

imageButtonStyle

public static final int imageButtonStyle
The style resource to use for an ImageButton

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

See Also:
Constant Field Values

imageWellStyle

public static final int imageWellStyle
The style resource to use for an ImageButton that is an image well

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

See Also:
Constant Field Values

inAnimation

public static final int inAnimation

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

See Also:
Constant Field Values

includeFontPadding

public static final int includeFontPadding
Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly. (Normally true).

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

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

See Also:
Constant Field Values

indeterminate

public static final int indeterminate
Allows to enable the indeterminate mode. In this mode the progress bar plays an infinite looping animation.

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

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

See Also:
Constant Field Values

indeterminateBehavior

public static final int indeterminateBehavior
Defines how the indeterminate mode should behave when the progress reaches max.

Must be one of the following constant values.

ConstantValueDescription
repeat1 Progress starts over from 0.
cycle2 Progress keeps the current value and goes back to 0.

See Also:
Constant Field Values

indeterminateDrawable

public static final int indeterminateDrawable
Drawable used for the indeterminate mode.

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

See Also:
Constant Field Values

indeterminateDuration

public static final int indeterminateDuration
Duration of the indeterminate animation.

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

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

See Also:
Constant Field Values

indeterminateOnly

public static final int indeterminateOnly
Restricts to ONLY indeterminate mode (state-keeping progress mode will not work).

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

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

See Also:
Constant Field Values

indicatorLeft

public static final int indicatorLeft
The left bound for an item's indicator. To specify a left bound specific to children, use childIndicatorLeft.

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

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

See Also:
Constant Field Values

indicatorRight

public static final int indicatorRight
The right bound for an item's indicator. To specify a right bound specific to children, use childIndicatorRight.

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

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

See Also:
Constant Field Values

inflatedId

public static final int inflatedId
Overrides the id of the inflated View with this value.

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

See Also:
Constant Field Values

initOrder

public static final int initOrder
Specify the order in which content providers hosted by a process are instantiated when that process is created. Not needed unless you have providers with dependencies between each other, to make sure that they are created in the order needed by those dependencies. The value is a simple integer, with higher numbers being initialized first.

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

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

See Also:
Constant Field Values

innerRadiusRatio

public static final int innerRadiusRatio

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.

See Also:
Constant Field Values

inputMethod

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

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

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

See Also:
Constant Field Values

insetBottom

public static final int insetBottom

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

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

See Also:
Constant Field Values

insetLeft

public static final int insetLeft

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

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

See Also:
Constant Field Values

insetRight

public static final int insetRight

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

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

See Also:
Constant Field Values

insetTop

public static final int insetTop

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

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

See Also:
Constant Field Values

interpolator

public static final int interpolator

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

See Also:
Constant Field Values

isIndicator

public static final int isIndicator
Whether this rating bar is an indicator (and non-changeable by the user).

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

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

See Also:
Constant Field Values

itemBackground

public static final int itemBackground
Default background for each menu item.

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

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

See Also:
Constant Field Values

itemIconDisabledAlpha

public static final int itemIconDisabledAlpha
Default disabled icon alpha for each menu item that shows an icon.

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

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

See Also:
Constant Field Values

itemTextAppearance

public static final int itemTextAppearance
Default appearance of menu item text.

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

See Also:
Constant Field Values

keepScreenOn

public static final int keepScreenOn
Controls whether the view's window should keep the screen on while visible.

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

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

See Also:
Constant Field Values

key

public static final int key
The key to store the Preference value.

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

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

See Also:
Constant Field Values

keycode

public static final int keycode
This enum provides the same keycode values as can be found in KeyEvent

Must be one of the following constant values.

ConstantValueDescription
KEYCODE_UNKNOWN0
KEYCODE_SOFT_LEFT1
KEYCODE_SOFT_RIGHT2
KEYCODE_HOME3
KEYCODE_BACK4
KEYCODE_CALL5
KEYCODE_ENDCALL6
KEYCODE_07
KEYCODE_18
KEYCODE_29
KEYCODE_310
KEYCODE_411
KEYCODE_512
KEYCODE_613
KEYCODE_714
KEYCODE_815
KEYCODE_916
KEYCODE_STAR17
KEYCODE_POUND18
KEYCODE_DPAD_UP19
KEYCODE_DPAD_DOWN20
KEYCODE_DPAD_LEFT21
KEYCODE_DPAD_RIGHT22
KEYCODE_DPAD_CENTER23
KEYCODE_VOLUME_UP24
KEYCODE_VOLUME_DOWN25
KEYCODE_POWER26
KEYCODE_CAMERA27
KEYCODE_CLEAR28
KEYCODE_A29
KEYCODE_B30
KEYCODE_C31
KEYCODE_D32
KEYCODE_E33
KEYCODE_F34
KEYCODE_G35
KEYCODE_H36
KEYCODE_I37
KEYCODE_J38
KEYCODE_K39
KEYCODE_L40
KEYCODE_M41
KEYCODE_N42
KEYCODE_O43
KEYCODE_P44
KEYCODE_Q45
KEYCODE_R46
KEYCODE_S47
KEYCODE_T48
KEYCODE_U49
KEYCODE_V50
KEYCODE_W51
KEYCODE_X52
KEYCODE_Y53
KEYCODE_Z54
KEYCODE_COMMA55
KEYCODE_PERIOD56
KEYCODE_ALT_LEFT57
KEYCODE_ALT_RIGHT58
KEYCODE_SHIFT_LEFT59
KEYCODE_SHIFT_RIGHT60
KEYCODE_TAB61
KEYCODE_SPACE62
KEYCODE_SYM63
KEYCODE_EXPLORER64
KEYCODE_ENVELOPE65
KEYCODE_ENTER66
KEYCODE_DEL67
KEYCODE_GRAVE68
KEYCODE_MINUS69
KEYCODE_EQUALS70
KEYCODE_LEFT_BRACKET71
KEYCODE_RIGHT_BRACKET72
KEYCODE_BACKSLASH73
KEYCODE_SEMICOLON74
KEYCODE_APOSTROPHE75
KEYCODE_SLASH76
KEYCODE_AT77
KEYCODE_NUM78
KEYCODE_HEADSETHOOK79
KEYCODE_FOCUS80
KEYCODE_PLUS81
KEYCODE_MENU82
KEYCODE_NOTIFICATION83
KEYCODE_SEARCH84

See Also:
Constant Field Values

label

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

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

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

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

See Also:
Constant Field Values

launchMode

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

If this attribute is not specified, standard launch mode will be used. Note that the particular launch behavior can be changed in some ways at runtime through the Intent flags Intent.FLAG_ACTIVITY_SINGLE_TOP, Intent.FLAG_ACTIVITY_NEW_TASK, and Intent.FLAG_ACTIVITY_MULTIPLE_TASK.

Must be one of the following constant values.

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

See Also:
Constant Field Values

layout

public static final int layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.

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

See Also:
Constant Field Values

layoutAnimation

public static final int layoutAnimation
Defines the layout animation to use the first time the ViewGroup is laid out. Layout animations can also be started manually after the first layout.

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

See Also:
Constant Field Values

layout_above

public static final int layout_above
Positions the bottom edge of this view above the given anchor view ID. Accommodates bottom margin of this view and top margin of anchor view.

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

See Also:
Constant Field Values

layout_alignBaseline

public static final int layout_alignBaseline
Positions the baseline of this view on the baseline of the given anchor view ID.

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

See Also:
Constant Field Values

layout_alignBottom

public static final int layout_alignBottom
Makes the bottom edge of this view match the bottom edge of the given anchor view ID. Accommodates bottom margin.

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

See Also:
Constant Field Values

layout_alignLeft

public static final int layout_alignLeft
Makes the left edge of this view match the left edge of the given anchor view ID. Accommodates left margin.

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

See Also:
Constant Field Values

layout_alignParentBottom

public static final int layout_alignParentBottom
f true, makes the bottom edge of this view match the bottom edge of the parent. Accommodates top margin.

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

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

See Also:
Constant Field Values

layout_alignParentLeft

public static final int layout_alignParentLeft
If true, makes the left edge of this view match the left edge of the parent. Accommodates left margin.

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

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

See Also:
Constant Field Values

layout_alignParentRight

public static final int layout_alignParentRight
If true, makes the right edge of this view match the right edge of the parent. Accommodates top margin.

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

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

See Also:
Constant Field Values

layout_alignParentTop

public static final int layout_alignParentTop
If true, makes the top edge of this view match the top edge of the parent. Accommodates top margin.

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

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

See Also:
Constant Field Values

layout_alignRight

public static final int layout_alignRight
Makes the right edge of this view match the right edge of the given anchor view ID. Accommodates right margin.

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

See Also:
Constant Field Values

layout_alignTop

public static final int layout_alignTop
Makes the top edge of this view match the top edge of the given anchor view ID. Accommodates top margin.

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

See Also:
Constant Field Values

layout_alignWithParentIfMissing

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

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

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

See Also:
Constant Field Values

layout_below

public static final int layout_below
Positions the top edge of this view below the given anchor view ID. Accommodates top margin of this view and bottom margin of anchor view.

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

See Also:
Constant Field Values

layout_centerHorizontal

public static final int layout_centerHorizontal
If true, centers this child horizontally within its parent.

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

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

See Also:
Constant Field Values

layout_centerInParent

public static final int layout_centerInParent
If true, centers this child horizontally and vertically within its parent.

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

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

See Also:
Constant Field Values

layout_centerVertical

public static final int layout_centerVertical
If true, centers this child vertically within its parent.

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

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

See Also:
Constant Field Values

layout_column

public static final int layout_column
The index of the column in which this child should be.

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

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

See Also:
Constant Field Values

layout_gravity

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

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

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.

See Also:
Constant Field Values

layout_height

public static final int layout_height
Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

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

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

May be one of the following constant values.

ConstantValueDescription
fill_parent-1 The view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

See Also:
Constant Field Values

layout_margin

public static final int layout_margin
Specifies extra space on the left, top, right and bottom sides of this view. This space is outside this view's bounds.

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

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

See Also:
Constant Field Values

layout_marginBottom

public static final int layout_marginBottom
Specifies extra space on the bottom side of this view. This space is outside this view's bounds.

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

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

See Also:
Constant Field Values

layout_marginLeft

public static final int layout_marginLeft
Specifies extra space on the left side of this view. This space is outside this view's bounds.

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

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

See Also:
Constant Field Values

layout_marginRight

public static final int layout_marginRight
Specifies extra space on the right side of this view. This space is outside this view's bounds.

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

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

See Also:
Constant Field Values

layout_marginTop

public static final int layout_marginTop
Specifies extra space on the top side of this view. This space is outside this view's bounds.

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

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

See Also:
Constant Field Values

layout_scale

public static final int layout_scale

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.

See Also:
Constant Field Values

layout_span

public static final int layout_span
Defines how many columns this child should span. Must be >= 1.

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

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

See Also:
Constant Field Values

layout_toLeftOf

public static final int layout_toLeftOf
Positions the right edge of this view to the left of the given anchor view ID. Accommodates right margin of this view and left margin of anchor view.

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

See Also:
Constant Field Values

layout_toRightOf

public static final int layout_toRightOf
Positions the left edge of this view to the right of the given anchor view ID. Accommodates left margin of this view and right margin of anchor view.

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

See Also:
Constant Field Values

layout_weight

public static final int layout_weight

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.

See Also:
Constant Field Values

layout_width

public static final int layout_width
Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

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

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

May be one of the following constant values.

ConstantValueDescription
fill_parent-1 The view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

See Also:
Constant Field Values

layout_x

public static final int layout_x

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

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

See Also:
Constant Field Values

layout_y

public static final int layout_y

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

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

See Also:
Constant Field Values

left

public static final int left

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

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

See Also:
Constant Field Values

lineSpacingExtra

public static final int lineSpacingExtra
Extra spacing between lines of text.

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

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

See Also:
Constant Field Values

lineSpacingMultiplier

public static final int lineSpacingMultiplier
Extra spacing between lines of text, as a multiplier.

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

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

See Also:
Constant Field Values

lines

public static final int lines
Makes the TextView be exactly this many lines tall

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

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

See Also:
Constant Field Values

linksClickable

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

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

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

See Also:
Constant Field Values

listChoiceIndicatorMultiple

public static final int listChoiceIndicatorMultiple
Drawable to use for multiple choice indicators

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

See Also:
Constant Field Values

listChoiceIndicatorSingle

public static final int listChoiceIndicatorSingle
Drawable to use for single choice indicators

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

See Also:
Constant Field Values

listDivider

public static final int listDivider
The drawable for the list divider

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

See Also:
Constant Field Values

listPreferredItemHeight

public static final int listPreferredItemHeight
The preferred list item height

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

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

See Also:
Constant Field Values

listSelector

public static final int listSelector
Drawable used to indicate the currently selected item in the list.

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

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

See Also:
Constant Field Values

listSeparatorTextViewStyle

public static final int listSeparatorTextViewStyle
TextView style for list separators.

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

See Also:
Constant Field Values

listViewStyle

public static final int listViewStyle
Default ListView style.

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

See Also:
Constant Field Values

listViewWhiteStyle

public static final int listViewWhiteStyle
ListView with white background.

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

See Also:
Constant Field Values

longClickable

public static final int longClickable
Defines whether this view reacts to long click events.

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

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

See Also:
Constant Field Values

manageSpaceActivity

public static final int manageSpaceActivity
Name of the activity to be launched to manage application's space on device. The specified activity gets automatically launched when the application's space needs to be managed and is usually invoked through user actions. Applications can thus provide their own custom behavior for managing space for various scenarios like out of memory conditions. This is an optional attribute and applications can choose not to specify a default activity to manage space.

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

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

See Also:
Constant Field Values

mapViewStyle

public static final int mapViewStyle
Default MapView style.

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

See Also:
Constant Field Values

max

public static final int max
Defines the maximum value the progress can take.

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

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

See Also:
Constant Field Values

maxEms

public static final int maxEms
Makes the TextView be at most this many ems wide

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

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

See Also:
Constant Field Values

maxHeight

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

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

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

See Also:
Constant Field Values

maxItemsPerRow

public static final int maxItemsPerRow
Defines the maximum number of items per row.

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

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

See Also:
Constant Field Values

maxLength

public static final int maxLength
Set an input filter to constrain the text length to the specified number.

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

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

See Also:
Constant Field Values

maxLevel

public static final int maxLevel

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.

See Also:
Constant Field Values

maxLines

public static final int maxLines
Makes the TextView be at most this many lines tall

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

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

See Also:
Constant Field Values

maxRows

public static final int maxRows
Defines the maximum number of rows displayed.

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

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

See Also:
Constant Field Values

maxWidth

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

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

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

See Also:
Constant Field Values

measureAllChildren

public static final int measureAllChildren
Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring. Defaults to false.

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

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

See Also:
Constant Field Values

menuCategory

public static final int menuCategory
The category applied to all items within this group. (This will be or'ed with the orderInCategory attribute.)

Must be one of the following constant values.

ConstantValueDescription
container0x00010000 Items are part of a container.
system0x00020000 Items are provided by the system.
secondary0x00030000 Items are user-supplied secondary (infrequently used).
alternative0x00040000 Items are alternative actions.

See Also:
Constant Field Values

mimeType

public static final int mimeType
Specify a MIME type that is handled, as per IntentFilter.addDataType().

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

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

See Also:
Constant Field Values

minEms

public static final int minEms
Makes the TextView be at least this many ems wide

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

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

See Also:
Constant Field Values

minHeight

public static final int minHeight

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

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

See Also:
Constant Field Values

minLevel

public static final int minLevel

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.

See Also:
Constant Field Values

minLines

public static final int minLines
Makes the TextView be at least this many lines tall

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

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

See Also:
Constant Field Values

minSdkVersion

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

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

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

See Also:
Constant Field Values

minWidth

public static final int minWidth

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

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

See Also:
Constant Field Values

mode

public static final int mode

Must be one of the following constant values.

ConstantValueDescription
oneLine1 Always show only the first line.
collapsing2 When selected show both lines, otherwise show only the first line. This is the default mode
twoLine3 Always show both lines.

See Also:
Constant Field Values

moreIcon

public static final int moreIcon
'More' icon

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

See Also:
Constant Field Values

multiprocess

public static final int multiprocess
Specify whether a component is allowed to have multiple instances of itself running in different processes. Use with the activity and provider tags.

Normally the system will ensure that all instances of a particular component are only running in a single process. You can use this attribute to disable that behavior, allowing the system to create instances wherever they are used (provided permissions allow it). This is most often used with content providers, so that instances of a provider can be created in each client process, allowing them to be used without performing IPC.

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

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

See Also:
Constant Field Values

name

public static final int name
A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".

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

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

See Also:
Constant Field Values

negativeButtonText

public static final int negativeButtonText
The negative button text for the dialog. Set to @null to hide the negative button.

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

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

See Also:
Constant Field Values

nextFocusDown

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

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

See Also:
Constant Field Values

nextFocusLeft

public static final int nextFocusLeft
Defines the next view to give focus to when the next focus is View.FOCUS_LEFT. If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

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

See Also:
Constant Field Values

nextFocusRight

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

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

See Also:
Constant Field Values

nextFocusUp

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

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

See Also:
Constant Field Values

numColumns

public static final int numColumns

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

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

May be one of the following constant values.

ConstantValueDescription
auto_fit-1

See Also:
Constant Field Values

numStars

public static final int numStars
The number of stars (or rating items) to show.

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

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

See Also:
Constant Field Values

numeric

public static final int numeric
If set, specifies that this TextView has a numeric input method. The default is false.

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

ConstantValueDescription
integer0x01 Input is numeric.
signed0x003 Input is numeric, with sign allowed.
decimal0x05 Input is numeric, with decimals allowed.

See Also:
Constant Field Values

numericShortcut

public static final int numericShortcut
The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) keyboard.

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

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

See Also:
Constant Field Values

oneshot

public static final int oneshot
If true, the animation will only run a single time and then stop. If false (the default), it will continually run, restarting at the first frame after the last has finished.

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

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

See Also:
Constant Field Values

order

public static final int order
The order for the Preference (lower values are to be ordered first). If this is not specified, the default orderin will be alphabetic.

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

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

See Also:
Constant Field Values

orderInCategory

public static final int orderInCategory
The order within the category applied to all items within this group. (This will be or'ed with the category attribute.)

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

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

See Also:
Constant Field Values

orderingFromXml

public static final int orderingFromXml
Whether to order the Preference under this group as they appear in the XML file. If this is false, the ordering will follow the Preference order attribute and default to alphabetic for those without the order attribute.

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

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

See Also:
Constant Field Values

orientation

public static final int orientation
Standard orientation constant.

Must be one of the following constant values.

ConstantValueDescription
horizontal0 Defines an horizontal widget.
vertical1 Defines a vertical widget.

See Also:
Constant Field Values

outAnimation

public static final int outAnimation

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

See Also:
Constant Field Values

padding

public static final int padding
Sets the padding, in pixels, of all four edges. Padding is defined as space between the edges of the view and the view's content. A views size will include it's padding. If a background is provided, the padding will initially be set to that (0 if the drawable does not have padding). Explicitly setting a padding value will override the corresponding padding found in the background.

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

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

See Also:
Constant Field Values

paddingBottom

public static final int paddingBottom
Sets the padding, in pixels, of the bottom edge; see padding.

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

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

See Also:
Constant Field Values

paddingLeft

public static final int paddingLeft
Sets the padding, in pixels, of the left edge; see padding.

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

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

See Also:
Constant Field Values

paddingRight

public static final int paddingRight
Sets the padding, in pixels, of the right edge; see padding.

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

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

See Also:
Constant Field Values

paddingTop

public static final int paddingTop
Sets the padding, in pixels, of the top edge; see padding.

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

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

See Also:
Constant Field Values

panelBackground

public static final int panelBackground
The background of a panel when it is inset from the left and right edges of the screen.

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

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

See Also:
Constant Field Values

panelColorBackground

public static final int panelColorBackground
Color that matches (as closely as possible) the panel background.

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

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

See Also:
Constant Field Values

panelColorForeground

public static final int panelColorForeground
Default color of foreground panel imagery.

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

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

See Also:
Constant Field Values

panelFullBackground

public static final int panelFullBackground
The background of a panel when it extends to the left and right edges of the screen.

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

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

See Also:
Constant Field Values

panelTextAppearance

public static final int panelTextAppearance
Default appearance of panel text.

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

See Also:
Constant Field Values

password

public static final int password
Whether the characters of the field are displayed as password dots instead of themselves.

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

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

See Also:
Constant Field Values

path

public static final int path
Specify a URI path that must exactly match, as per PatternMatcher with PatternMatcher.PATTERN_LITERAL.

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

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

See Also:
Constant Field Values

pathPattern

public static final int pathPattern
Specify a URI path that matches a simple pattern, as per PatternMatcher with PatternMatcher.PATTERN_SIMPLE_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

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

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

See Also:
Constant Field Values

pathPrefix

public static final int pathPrefix
Specify a URI path that must be a prefix to match, as per PatternMatcher with PatternMatcher.PATTERN_PREFIX.

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

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

See Also:
Constant Field Values

permission

public static final int permission
Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security Model document for more information on permissions.

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

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

See Also:
Constant Field Values

permissionGroup

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

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

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

See Also:
Constant Field Values

persistent

public static final int persistent
Flag to control special persistent mode of an application. This should not normally be used by applications; it requires that the system keep your application running at all times.

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

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

See Also:
Constant Field Values

persistentDrawingCache

public static final int persistentDrawingCache
Defines the persistence of the drawing cache. The drawing cache might be enabled by a ViewGroup for all its children in specific situations (for instance during a scrolling.) This property lets you persist the cache in memory after its initial usage. Persisting the cache consumes more memory but may prevent frequent garbage collection is the cache is created over and over again. By default the persistence is set to scrolling.

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

ConstantValueDescription
none0x0 The drawing cache is not persisted after use.
animation0x1 The drawing cache is persisted after a layout animation.
scrolling0x2 The drawing cache is persisted after a scroll.
all0x3 The drawing cache is always persisted.

See Also:
Constant Field Values

phoneNumber

public static final int phoneNumber
If set, specifies that this TextView has a phone number input method. The default is false.

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

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

See Also:
Constant Field Values

pivotX

public static final int pivotX

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.

See Also:
Constant Field Values

pivotY

public static final int pivotY

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.

See Also:
Constant Field Values

popupBackground

public static final int popupBackground

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

See Also:
Constant Field Values

popupWindowStyle

public static final int popupWindowStyle
Default PopupWindow style.

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

See Also:
Constant Field Values

port

public static final int port
Specify a URI authority port that is handled, as per IntentFilter.addDataAuthority(). If a host is supplied but not a port, any port is matched.

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

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

See Also:
Constant Field Values

positiveButtonText

public static final int positiveButtonText
The positive button text for the dialog. Set to @null to hide the positive button.

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

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

See Also:
Constant Field Values

preferenceCategoryStyle

public static final int preferenceCategoryStyle
Default style for PreferenceCategory.

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

See Also:
Constant Field Values

preferenceInformationStyle

public static final int preferenceInformationStyle
Default style for informational Preference.

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

See Also:
Constant Field Values

preferenceLayoutChild

public static final int preferenceLayoutChild
The preference layout that has the child/tabbed effect.

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

See Also:
Constant Field Values

preferenceScreenStyle

public static final int preferenceScreenStyle
Default style for PreferenceScreen.

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

See Also:
Constant Field Values

preferenceStyle

public static final int preferenceStyle
Default style for Preference.

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

See Also:
Constant Field Values

priority

public static final int priority
Specify the relative importance or ability in handling a particular Intent. For receivers, this controls the order in which they are executed to receive a broadcast (note that for asynchronous broadcasts, this order is ignored). For activities, this provides information about how good an activity is handling an Intent; when multiple activities match an intent and have different priorities, only those with the higher priority value will be considered a match.

Only use if you really need to impose some specific order in which the broadcasts are received, or want to forcibly place an activity to always be preferred over others. The value is a single integer, with higher numbers considered to be better.

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

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

See Also:
Constant Field Values

process

public static final int process
Specify a specific process that the associated code is to run in. Use with the application tag (to supply a default process for all application components), or with the activity, receiver, service, or provider tag (to supply a specific icon for that component).

Application components are normally run in a single process that is created for the entire application. You can use this tag to modify where they run. If the process name begins with a ':' character, a new process private to that application will be created when needed to run that component (allowing you to spread your application across multiple processes). If the process name begins with a lower-case character, the component will be run in a global process of that name, provided that you have permission to do so, allowing multiple applications to share one process to reduce resource usage.

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

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

See Also:
Constant Field Values

progress

public static final int progress
Defines the default progress value, between 0 and max.

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

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

See Also:
Constant Field Values

progressBarStyle

public static final int progressBarStyle
Default ProgressBar style. This is a medium circular progress bar.

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

See Also:
Constant Field Values

progressBarStyleHorizontal

public static final int progressBarStyleHorizontal
Horizontal ProgressBar style. This is a horizontal progress bar.

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

See Also:
Constant Field Values

progressBarStyleLarge

public static final int progressBarStyleLarge
Large ProgressBar style. This is a large circular progress bar.

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

See Also:
Constant Field Values

progressBarStyleSmall

public static final int progressBarStyleSmall
Small ProgressBar style. This is a small circular progress bar.

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

See Also:
Constant Field Values

progressBarStyleSmallTitle

public static final int progressBarStyleSmallTitle
Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars.

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

See Also:
Constant Field Values

progressDrawable

public static final int progressDrawable
Drawable used for the progress mode.

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

See Also:
Constant Field Values

prompt

public static final int prompt
The prompt to display when the spinner's dialog is shown.

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

See Also:
Constant Field Values

protectionLevel

public static final 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. Standard permissions have a predefined and permanent protectionLevel. If you are creating a custom permission in an application, you can define a protectionLevel attribute with one of the values listed below. If no protectionLevel is defined for a custom permission, the system assigns the default ("normal").

Must be one of the following constant values.

ConstantValueDescription
normal0 A lower-risk permission that gives an application access to isolated application-level features, with minimal risk to other applications, the system, or the user. The system automatically grants this type of permission to a requesting application at installation, without asking for the user's explicit approval (though the user always has the option to review these permissions before installing).
dangerous1 A higher-risk permission that would give a requesting application access to private user data or control over the device that can negatively impact the user. Because this type of permission introduces potential risk, the system may not automatically grant it to the requesting application. For example, any dangerous permissions requested by an application may be displayed to the user and require confirmation before proceeding, or some other approach may be taken to avoid the user automatically allowing the use of such facilities.
signature2 A permission that the system is to grant only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval.
signatureOrSystem3 A permission that the system is to grant only to packages in the Android system image or that are signed with the same certificates. Please avoid using this option, as the signature protection level should be sufficient for most needs and works regardless of exactly where applications are installed. This permission is used for certain special situations where multiple vendors have applications built in to a system image which need to share specific features explicitly because they are being built together.

See Also:
Constant Field Values

queryActionMsg

public static final int queryActionMsg
If you wish to handle an action key during normal search query entry, you must define an action string here. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). Optional attribute.

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

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

See Also:
Constant Field Values

radioButtonStyle

public static final int radioButtonStyle
Default RadioButton style.

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

See Also:
Constant Field Values

radius

public static final int radius

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

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

See Also:
Constant Field Values

rating

public static final int rating
The rating to set by default.

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

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

See Also:
Constant Field Values

ratingBarStyle

public static final int ratingBarStyle
Default RatingBar style.

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

See Also:
Constant Field Values

ratingBarStyleIndicator

public static final int ratingBarStyleIndicator
Indicator RatingBar style.

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

See Also:
Constant Field Values

ratingBarStyleSmall

public static final int ratingBarStyleSmall
Small indicator RatingBar style.

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

See Also:
Constant Field Values

readPermission

public static final int readPermission
A specific permission name for read-only access to a ContentProvider. See the Security Model document for more information on permissions.

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

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

See Also:
Constant Field Values

repeatCount

public static final int repeatCount
Defines how many times the animation should repeat. The default value is 0.

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

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

May be one of the following constant values.

ConstantValueDescription
infinite-1

See Also:
Constant Field Values

repeatMode

public static final int repeatMode
Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. The default value is restart.

Must be one of the following constant values.

ConstantValueDescription
restart1 The animation starts again from the beginning.
reverse2 The animation plays backward.

See Also:
Constant Field Values

resource

public static final int resource
Resource identifier to assign to this piece of named meta-data. The resource identifier can later be retrieved from the meta data Bundle through Bundle.getInt.

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

See Also:
Constant Field Values

right

public static final int right

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

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

See Also:
Constant Field Values

ringtonePreferenceStyle

public static final int ringtonePreferenceStyle
Default style for RingtonePreference.

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

See Also:
Constant Field Values

ringtoneType

public static final int ringtoneType
Which ringtone type(s) to show in the picker.

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

ConstantValueDescription
ringtone1 Ringtones.
notification2 Notification sounds.
alarm4 Alarm sounds.
all7 All available ringtone sounds.

See Also:
Constant Field Values

rowDelay

public static final int rowDelay
Fraction of the animation duration used to delay the beginning of the animation of each row.

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

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

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

See Also:
Constant Field Values

rowHeight

public static final int rowHeight
Defines the height of each row.

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

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

See Also:
Constant Field Values

saveEnabled

public static final int saveEnabled
If unset, no state will be saved for this view when it is being frozen. The default is true, allowing the view to be saved (however it also must have an ID assigned to it for its state to be saved). Setting this to false only disables the state for this view, not for its children which may still be saved.

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

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

See Also:
Constant Field Values

scaleGravity

public static final int scaleGravity
Specifies where the drawable is positioned after scaling. The default value is left.

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

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.

See Also:
Constant Field Values

scaleHeight

public static final int scaleHeight
Scale height, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.

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

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

See Also:
Constant Field Values

scaleType

public static final int scaleType
Controls how the image should be resized or moved to match the size of this ImageView.

Must be one of the following constant values.

ConstantValueDescription
matrix0
fitXY1
fitStart2
fitCenter3
fitEnd4
center5
centerCrop6
centerInside7

See Also:
Constant Field Values

scaleWidth

public static final int scaleWidth
Scale width, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.

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

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

See Also:
Constant Field Values

scheme

public static final int scheme
Specify a URI scheme that is handled, as per IntentFilter.addDataScheme().

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

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

See Also:
Constant Field Values

screenOrientation

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

Must be one of the following constant values.

ConstantValueDescription
unspecified-1 No preference specified: let the system decide the best orientation. This will either be the orientation selected by the activity below, or the user's preferred orientation if this activity is the bottom of a task. If the user explicitly turned off sensor based orientation through settings sensor based device rotation will be ignored. If not by default sensor based orientation will be taken into account and the orientation will changed based on how the user rotates the device
landscape0 Would like to have the screen in a landscape orientation: that is, with the display wider than it is tall.
portrait1 Would like to have the screen in a portrait orientation: that is, with the display taller than it is wide.
user2 Use the user's current preferred orientation of the handset.
behind3 Keep the screen in the same orientation as whatever is behind this activity.
sensor4 Orientation is determined by a physical orientation sensor: the display will rotate based on how the user moves the device.
nosensor5 Always ignore orientation determined by orientation sensor: tthe display will not rotate when the user moves the device.

See Also:
Constant Field Values

scrollHorizontally

public static final int scrollHorizontally
Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally).

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

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

See Also:
Constant Field Values

scrollViewStyle

public static final int scrollViewStyle
Default ScrollView style.

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

See Also:
Constant Field Values

scrollX

public static final int scrollX
The initial horizontal scroll offset, in pixels.

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

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

See Also:
Constant Field Values

scrollY

public static final int scrollY
The initial vertical scroll offset, in pixels.

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

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

See Also:
Constant Field Values

scrollbarAlwaysDrawHorizontalTrack

public static final int scrollbarAlwaysDrawHorizontalTrack
Defines whether the horizontal scrollbar track should always be drawn.

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

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

See Also:
Constant Field Values

scrollbarAlwaysDrawVerticalTrack

public static final int scrollbarAlwaysDrawVerticalTrack
Defines whether the vertical scrollbar track should always be drawn

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

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

See Also:
Constant Field Values

scrollbarSize

public static final int scrollbarSize
Sets the width of vertical scrollbars and height of horizontal scrollbars.

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

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

See Also:
Constant Field Values

scrollbarStyle

public static final int scrollbarStyle
Controls the scrollbar style and position. The scrollbars can be overlaid or inset. When inset, they add to the padding of the view. And the scrollbars can be drawn inside the padding area or on the edge of the view. For example, if a view has a background drawable and you want to draw the scrollbars inside the padding specified by the drawable, you can use insideOverlay or insideInset. If you want them to appear at the edge of the view, ignoring the padding, then you can use outsideOverlay or outsideInset.

Must be one of the following constant values.

ConstantValueDescription
insideOverlay0x0 Inside the padding and overlaid
insideInset0x01000000 Inside the padding and inset
outsideOverlay0x02000000 Edge of the view and overlaid
outsideInset0x03000000 Edge of the view and inset

See Also:
Constant Field Values

scrollbarThumbHorizontal

public static final int scrollbarThumbHorizontal
Defines the horizontal scrollbar thumb drawable.

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

See Also:
Constant Field Values

scrollbarThumbVertical

public static final int scrollbarThumbVertical
Defines the vertical scrollbar thumb drawable.

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

See Also:
Constant Field Values

scrollbarTrackHorizontal

public static final int scrollbarTrackHorizontal
Defines the horizontal scrollbar track drawable.

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

See Also:
Constant Field Values

scrollbarTrackVertical

public static final int scrollbarTrackVertical
Defines the vertical scrollbar track drawable.

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

See Also:
Constant Field Values

scrollbars

public static final int scrollbars
Defines which scrollbars should be displayed on scrolling or not.

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

ConstantValueDescription
none0x00000000 No scrollbar is displayed.
horizontal0x00000100 Displays horizontal scrollbar only.
vertical0x00000200 Displays vertical scrollbar only.

See Also:
Constant Field Values

scrollingCache

public static final int scrollingCache
When set to true, the list uses a drawing cache during scrolling. This makes the rendering faster but uses more memory. The default value is true.

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

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

See Also:
Constant Field Values

searchButtonText

public static final int searchButtonText
If supplied, this string will be displayed as the text of the "Search" button. Optional attribute.

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

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

See Also:
Constant Field Values

searchMode

public static final int searchMode
Additional features are controlled by mode bits in this field. Omitting this field, or setting to zero, provides default behavior. Optional attribute.

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

ConstantValueDescription
showSearchLabelAsBadge0x04 If set, this flag enables the display of the search target (label) within the search bar. If neither bad mode is selected, no badge will be shown.
showSearchIconAsBadge0x08 If set, this flag enables the display of the search target (icon) within the search bar. (Note, overrides showSearchLabel) If neither bad mode is selected, no badge will be shown.
queryRewriteFromData0x10 If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to be considered as the text for suggestion query rewriting. This should only be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user inspection and editing - typically, HTTP/HTTPS Uri's.
queryRewriteFromText0x20 If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to be considered as the text for suggestion query rewriting. This should be used for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA values are not suitable for user inspection and editing.

See Also:
Constant Field Values

searchSuggestAuthority

public static final int searchSuggestAuthority
If provided, this is the trigger indicating that the searchable activity provides suggestions as well. The value must be a fully-qualified content provider authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the "android:authorities" tag in your content provider's manifest entry. Optional attribute.

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

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

See Also:
Constant Field Values

searchSuggestIntentAction

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

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

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

See Also:
Constant Field Values

searchSuggestIntentData

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

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

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

See Also:
Constant Field Values

searchSuggestPath

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

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

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

See Also:
Constant Field Values

searchSuggestSelection

public static final int searchSuggestSelection
If provided, suggestion queries will be passed into your query function as the selection parameter. Typically this will be a WHERE clause for your database, and will contain a single question mark, which represents the actual query string that has been typed by the user. If not provided, then the user query text will be appended to the query Uri (after an additional "/".) Optional attribute.

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

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

See Also:
Constant Field Values

secondaryProgress

public static final int secondaryProgress
Defines the secondary progress value, between 0 and max. This progress is drawn between the primary progress and the background. It can be ideal for media scenarios such as showing the buffering progress while the default progress shows the play progress.

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

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

See Also:
Constant Field Values

seekBarStyle

public static final int seekBarStyle
Default SeekBar style.

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

See Also:
Constant Field Values

selectAllOnFocus

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

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

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

See Also:
Constant Field Values

selectable

public static final int selectable
Whether the Preference is selectable.

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

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

See Also:
Constant Field Values

shadowColor

public static final int shadowColor
Place a shadow of the specified color behind the text.

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

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

See Also:
Constant Field Values

shadowDx

public static final int shadowDx
Horizontal offset of the shadow.

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

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

See Also:
Constant Field Values

shadowDy

public static final int shadowDy
Vertical offset of the shadow.

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

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

See Also:
Constant Field Values

shadowRadius

public static final int shadowRadius
Radius of the shadow.

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

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

See Also:
Constant Field Values

shape

public static final int shape

Must be one of the following constant values.

ConstantValueDescription
rectangle0
oval1
line2
ring3

See Also:
Constant Field Values

shareInterpolator

public static final int shareInterpolator

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

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

See Also:
Constant Field Values

sharedUserId

public static final int sharedUserId
Specify the name of a user ID that will be shared between multiple packages. By default, each package gets its own unique user-id. By setting this value on two or more packages, each of these packages will be given a single shared user ID, so they can for example run in the same process. Note that for them to actually get the same user ID, they must also be signed with the same signature.

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

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

See Also:
Constant Field Values

shouldDisableView

public static final int shouldDisableView
Whether the view of this Preference should be disabled when this Preference is disabled.

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

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

See Also:
Constant Field Values

showDefault

public static final int showDefault
Whether to show an item for a default sound.

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

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

See Also:
Constant Field Values

showSilent

public static final int showSilent
Whether to show an item for 'Silent'.

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

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

See Also:
Constant Field Values

shrinkColumns

public static final int shrinkColumns
The 0 based index of the columns to shrink. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can shrink all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.

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

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

See Also:
Constant Field Values

singleLine

public static final int singleLine
Constrains the text to a single horizontally scrolling line instead of letting it wrap onto multiple lines, and advances focus instead of inserting a newline when you press the enter key.

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

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

See Also:
Constant Field Values

soundEffectsEnabled

public static final int soundEffectsEnabled
Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching.

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

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

See Also:
Constant Field Values

spacing

public static final int spacing

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

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

See Also:
Constant Field Values

spinnerDropDownItemStyle

public static final int spinnerDropDownItemStyle
Default style for spinner drop down items.

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

See Also:
Constant Field Values

spinnerItemStyle

public static final int spinnerItemStyle
Default spinner item style.

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

See Also:
Constant Field Values

spinnerStyle

public static final int spinnerStyle
Default Spinner style.

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

See Also:
Constant Field Values

src

public static final int src
Sets a drawable as the content of this ImageView.

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

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

See Also:
Constant Field Values

stackFromBottom

public static final int stackFromBottom
Used by ListView and GridView to stack their content from the bottom.

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

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

See Also:
Constant Field Values

starStyle

public static final int starStyle
Default Star style.

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

See Also:
Constant Field Values

startColor

public static final int startColor

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.

See Also:
Constant Field Values

startOffset

public static final int startOffset
Delay in milliseconds before the animation runs, once start time is reached.

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

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

See Also:
Constant Field Values

startYear

public static final int startYear
The first year (inclusive) i.e. 1940

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

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

See Also:
Constant Field Values

stateNotNeeded

public static final int stateNotNeeded
Indicates that an Activity does not need to have its freeze state (as returned by Activity.onSaveInstanceState(android.os.Bundle) retained in order to be restarted. Generally you use this for activities that do not store any state. When this flag is set, if for some reason the activity is killed before it has a chance to save its state, then the system will not remove it from the activity stack like it normally would. Instead, the next time the user navigates to it its Activity.onCreate(android.os.Bundle) method will be called with a null icicle, just like it was starting for the first time.

This is used by the Home activity to make sure it does not get removed if it crashes for some reason.

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

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

See Also:
Constant Field Values

state_above_anchor

public static final int state_above_anchor
State identifier indicating the popup will be above the anchor.

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

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

See Also:
Constant Field Values

state_active

public static final int state_active
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_checkable

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

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

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

See Also:
Constant Field Values

state_checked

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

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

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

See Also:
Constant Field Values

state_empty

public static final int state_empty
State identifier indicating the group is empty (has no children).

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

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

See Also:
Constant Field Values

state_enabled

public static final int state_enabled
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_expanded

public static final int state_expanded
State identifier indicating the group is expanded.

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

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

See Also:
Constant Field Values

state_first

public static final int state_first
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_focused

public static final int state_focused
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_last

public static final int state_last
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_middle

public static final int state_middle
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_pressed

public static final int state_pressed
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_selected

public static final int state_selected
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_single

public static final int state_single
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

state_window_focused

public static final int state_window_focused
State value for StateListDrawable.

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

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

See Also:
Constant Field Values

stepSize

public static final int stepSize
The step size of the rating.

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

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

See Also:
Constant Field Values

streamType

public static final int streamType
Different audio stream types.

Must be one of the following constant values.

ConstantValueDescription
voice0
system1
ring2
music3
alarm4

See Also:
Constant Field Values

stretchColumns

public static final int stretchColumns
The 0 based index of the columns to stretch. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can stretch all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.

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

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

See Also:
Constant Field Values

stretchMode

public static final int stretchMode

Must be one of the following constant values.

ConstantValueDescription
none0
spacingWidth1
columnWidth2

See Also:
Constant Field Values

suggestActionMsg

public static final 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. If all of your suggestions can handle the action key, you can simply define the action message using this attribute. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). Optional attribute.

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

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

See Also:
Constant Field Values

suggestActionMsgColumn

public static final 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. First, you must define a column (and name it here) where your suggestions will include the action string. Then, in your content provider, you must provide this column, and when desired, provide data in this column. The search manager will look at your suggestion cursor, using the string provided here in order to select a column, and will use that to select a string from the cursor. That string will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). If the data does not exist for the selection suggestion, the action key will be ignored.Optional attribute.

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

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

See Also:
Constant Field Values

summary

public static final int summary
The summary for the Preference in a PreferenceActivity screen.

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

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

See Also:
Constant Field Values

summaryOff

public static final int summaryOff
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.

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

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

See Also:
Constant Field Values

summaryOn

public static final int summaryOn
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.

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

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

See Also:
Constant Field Values

syncable

public static final int syncable
Flag indicating whether this content provider would like to participate in data synchronization.

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

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

See Also:
Constant Field Values

tabWidgetStyle

public static final int tabWidgetStyle
Default TabWidget style.

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

See Also:
Constant Field Values

tag

public static final int tag
Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag(). It is generally preferable to use IDs (through the android:id attribute) instead of tags because they are faster and allow for compile-time type checking.

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

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

See Also:
Constant Field Values

targetActivity

public static final int targetActivity
The name of the activity this alias should launch. The activity must be in the same manifest as the alias, and have been defined in that manifest before the alias here. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".

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

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

See Also:
Constant Field Values

targetClass

public static final int targetClass
The class part of the ComponentName to assign to the Intent, as per Intent.setComponent().

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

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

See Also:
Constant Field Values

targetPackage

public static final int targetPackage
The name of the application package that an Instrumentation object will run against.

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

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

See Also:
Constant Field Values

taskAffinity

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

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

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

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

See Also:
Constant Field Values

taskCloseEnterAnimation

public static final int taskCloseEnterAnimation

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

See Also:
Constant Field Values

taskCloseExitAnimation

public static final int taskCloseExitAnimation

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

See Also:
Constant Field Values

taskOpenEnterAnimation

public static final int taskOpenEnterAnimation

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

See Also:
Constant Field Values

taskOpenExitAnimation

public static final int taskOpenExitAnimation

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

See Also:
Constant Field Values

taskToBackEnterAnimation

public static final int taskToBackEnterAnimation

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

See Also:
Constant Field Values

taskToBackExitAnimation

public static final int taskToBackExitAnimation

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

See Also:
Constant Field Values

taskToFrontEnterAnimation

public static final int taskToFrontEnterAnimation

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

See Also:
Constant Field Values

taskToFrontExitAnimation

public static final int taskToFrontExitAnimation

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

See Also:
Constant Field Values

text

public static final int text
Text to display.

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

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

See Also:
Constant Field Values

textAppearance

public static final int textAppearance
Default appearance of text: color, typeface, size, and style

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

See Also:
Constant Field Values

textAppearanceButton

public static final int textAppearanceButton
Text color, typeface, size, and style for the text inside of a button.

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

See Also:
Constant Field Values

textAppearanceInverse

public static final int textAppearanceInverse
Default appearance of text against an inverted background: color, typeface, size, and style

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

See Also:
Constant Field Values

textAppearanceLarge

public static final int textAppearanceLarge
Text color, typeface, size, and style for "large" text. Defaults to primary text color.

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

See Also:
Constant Field Values

textAppearanceLargeInverse

public static final int textAppearanceLargeInverse
Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color.

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

See Also:
Constant Field Values

textAppearanceMedium

public static final int textAppearanceMedium
Text color, typeface, size, and style for "medium" text. Defaults to primary text color.

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

See Also:
Constant Field Values

textAppearanceMediumInverse

public static final int textAppearanceMediumInverse
Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color.

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

See Also:
Constant Field Values

textAppearanceSmall

public static final int textAppearanceSmall
Text color, typeface, size, and style for "small" text. Defaults to secondary text color.

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

See Also:
Constant Field Values

textAppearanceSmallInverse

public static final int textAppearanceSmallInverse
Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color.

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

See Also:
Constant Field Values

textCheckMark

public static final int textCheckMark
Drawable to use for check marks

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

See Also:
Constant Field Values

textCheckMarkInverse

public static final int textCheckMarkInverse

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

See Also:
Constant Field Values

textColor

public static final int textColor
Color of text (usually same as colorForeground).

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

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

See Also:
Constant Field Values

textColorHighlight

public static final int textColorHighlight
Color of highlighted 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".

See Also:
Constant Field Values

textColorHint

public static final int textColorHint
Color of hint text (displayed when the field is empty).

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

See Also:
Constant Field Values

textColorHintInverse

public static final int textColorHintInverse
Inverse hint text color

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

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

See Also:
Constant Field Values

textColorLink

public static final int textColorLink
Color of link text (URLs).

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

See Also:
Constant Field Values

textColorPrimary

public static final int textColorPrimary
The most prominent text color, for the

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

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

See Also:
Constant Field Values

textColorPrimaryDisableOnly

public static final int textColorPrimaryDisableOnly
Bright text color. Only differentiates based on the disabled state.

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

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

See Also:
Constant Field Values

textColorPrimaryInverse

public static final int textColorPrimaryInverse
Primary inverse text color, useful for inverted backgrounds

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

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

See Also:
Constant Field Values

textColorPrimaryInverseNoDisable

public static final int textColorPrimaryInverseNoDisable
Bright inverse text color. This does not differentiate the disabled state.

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

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

See Also:
Constant Field Values

textColorPrimaryNoDisable

public static final int textColorPrimaryNoDisable
Bright text color. This does not differentiate the disabled state. As an example, buttons use this since they display the disabled state via the background and not the foreground text color.

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

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

See Also:
Constant Field Values

textColorSecondary

public static final int textColorSecondary
Secondary text color

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

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

See Also:
Constant Field Values

textColorSecondaryInverse

public static final int textColorSecondaryInverse
Secondary inverse text color, useful for inverted backgrounds

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

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

See Also:
Constant Field Values

textColorSecondaryInverseNoDisable

public static final int textColorSecondaryInverseNoDisable
Dim inverse text color. This does not differentiate the disabled state.

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

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

See Also:
Constant Field Values

textColorSecondaryNoDisable

public static final int textColorSecondaryNoDisable
Dim text color. This does not differentiate the disabled state.

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

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

See Also:
Constant Field Values

textColorTertiary

public static final int textColorTertiary
Tertiary text color

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

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

See Also:
Constant Field Values

textColorTertiaryInverse

public static final int textColorTertiaryInverse
Tertiary inverse text color, useful for inverted backgrounds

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

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

See Also:
Constant Field Values

textFilterEnabled

public static final int textFilterEnabled
When set to true, the list will filter results as the user types. The List's adapter must support the Filterable interface for this to work

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

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

See Also:
Constant Field Values

textOff

public static final int textOff
The text for the button when it is not checked.

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

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

See Also:
Constant Field Values

textOn

public static final int textOn
The text for the button when it is checked.

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

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

See Also:
Constant Field Values

textScaleX

public static final int textScaleX
Sets the horizontal scaling factor for the text

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

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

See Also:
Constant Field Values

textSize

public static final int textSize
Size of text (example: 15sp). Supported values include the following:

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

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

See Also:
Constant Field Values

textStyle

public static final int textStyle
Default text typeface style.

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

ConstantValueDescription
normal0
bold1
italic2

See Also:
Constant Field Values

textViewStyle

public static final int textViewStyle
Default TextView style.

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

See Also:
Constant Field Values

theme

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

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

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

See Also:
Constant Field Values

thicknessRatio

public static final int thicknessRatio

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.

See Also:
Constant Field Values

thumb

public static final int thumb
Draws the thumb on a seekbar

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

See Also:
Constant Field Values

thumbOffset

public static final int thumbOffset
An offset for the thumb that allows it to extend out of the range of the track.

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

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

See Also:
Constant Field Values

tileMode

public static final int tileMode
Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled.

Must be one of the following constant values.

ConstantValueDescription
disabled-1 Do not tile the bitmap. This is the default value.
clamp0 Replicates the edge color.
repeat1 Repeats the bitmap in both direction.
mirror2 Repeats the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.

See Also:
Constant Field Values

tint

public static final int tint
Set a tinting color for the image

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

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

See Also:
Constant Field Values

title

public static final int title
The title associated with the item.

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

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

See Also:
Constant Field Values

titleCondensed

public static final int titleCondensed
The condensed title associated with the item. This is used in situations where the normal title may be too long to be displayed.

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

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

See Also:
Constant Field Values

toAlpha

public static final int toAlpha

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.

See Also:
Constant Field Values

toDegrees

public static final int toDegrees

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.

See Also:
Constant Field Values

toXDelta

public static final int toXDelta

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.

See Also:
Constant Field Values

toXScale

public static final int toXScale

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.

See Also:
Constant Field Values

toYDelta

public static final int toYDelta

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.

See Also:
Constant Field Values

toYScale

public static final int toYScale

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.

See Also:
Constant Field Values

top

public static final int top

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

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

See Also:
Constant Field Values

topBright

public static final int topBright

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

See Also:
Constant Field Values

topDark

public static final int topDark

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

See Also:
Constant Field Values

topLeftRadius

public static final int topLeftRadius

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

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

See Also:
Constant Field Values

topRightRadius

public static final int topRightRadius

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

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

transcriptMode

public static final int transcriptMode
Sets the transcript mode for the list. In transcript mode, the list scrolls to the bottom to make new items visible when they are added.

Must be one of the following constant values.

ConstantValueDescription
disabled0 Disables transcript mode. This is the default value.
normal1 The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen.
alwaysScroll2 The list will automatically scroll to the bottom, no matter what items are currently visible.

See Also:
Constant Field Values

type

public static final int type

Must be one of the following constant values.

ConstantValueDescription
linear0
radial1
sweep2

See Also:
Constant Field Values

typeface

public static final int typeface
Default text typeface.

Must be one of the following constant values.

ConstantValueDescription
normal0
sans1
serif2
monospace3

See Also:
Constant Field Values

unselectedAlpha

public static final int unselectedAlpha
Sets the alpha on the items that are not selected.

Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

useLevel

public static final int useLevel

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

value

public static final int value
Concrete value to assign to this piece of named meta-data. The data can later be retrieved from the meta data Bundle through Bundle.getString, Bundle.getInt, Bundle.getBoolean, or Bundle.getFloat depending on the type used here.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

May be an integer value, such as "100".

May be a boolean value, either "true" or "false".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

May be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

variablePadding

public static final int variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. If false, the padding will stay the same (based on the maximum padding of all the states). Enabling this feature requires that the owner of the drawable deal with performing layout when the state changes, which is often not supported.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

versionCode

public static final int versionCode
Internal version code. This is the number used to determine whether one version is more recent than another: it has no other meaning than that higher numbers are more recent. You could use this number to encode a "x.y" in the lower and upper 16 bits, make it a build number, simply increase it by one each time a new version is released, or define it however else you want, as long as each successive version has a higher number. This is not a version number generally shown to the user, that is usually supplied with versionName.

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.

See Also:
Constant Field Values

versionName

public static final int versionName
The text shown to the user to indicate the version they have. This is used for no other purpose than display to the user; the actual significant version number is given by versionCode.

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

verticalDivider

public static final int verticalDivider
Default vertical divider between menu items.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

verticalSpacing

public static final int verticalSpacing

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

visibility

public static final int visibility
Controls the initial visibility of the view.

Must be one of the following constant values.

ConstantValueDescription
visible0 Visible on screen; the default value.
invisible1 Not displayed, but taken into account during layout (space is left for it).
gone2 Completely hidden, as if the view had not been added.

See Also:
Constant Field Values

visible

public static final int visible
Provides initial visibility state of the drawable; the default value is false. See Drawable.setVisible(boolean, boolean)

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

webViewStyle

public static final int webViewStyle
Default WebView style.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

weightSum

public static final int weightSum
Defines the maximum weight sum. If unspecified, the sum is computed by adding the layout_weight of all of the children. This can be used for instance to give a single child 50% of the total available space by giving it a layout_weight of 0.5 and setting the weightSum to 1.0.

Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

widgetLayout

public static final int widgetLayout
The layout for the controllable widget portion of a Preference. This is inflated into the layout for a Preference and should be used more frequently than the layout attribute. For example, a checkbox preference would specify a custom layout (consisting of just the CheckBox) here.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

width

public static final int width
Makes the TextView be exactly this many pixels wide. You could get the same effect by specifying this number in the layout parameters.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

windowAnimationStyle

public static final int windowAnimationStyle
Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by R.styleable.WindowAnimation.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowBackground

public static final int windowBackground
Drawable to use as the overall window background. There are a few special considerations you should use when settings this 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".

See Also:
Constant Field Values

windowContentOverlay

public static final int windowContentOverlay
This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowEnterAnimation

public static final int windowEnterAnimation
The animation used when a window is being added.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowExitAnimation

public static final int windowExitAnimation
The animation used when a window is being removed.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowFrame

public static final int windowFrame
Drawable to use as a frame around the window.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowFullscreen

public static final int windowFullscreen
Flag indicating whether this window should fill the entire screen.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

windowHideAnimation

public static final int windowHideAnimation
The animation used when a window is going from VISIBLE to INVISIBLE.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowIsFloating

public static final int windowIsFloating
Flag indicating whether this is a floating window.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

windowIsTranslucent

public static final int windowIsTranslucent
Flag indicating whether this is a translucent window.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

windowNoTitle

public static final int windowNoTitle
Flag indicating whether there should be no title on this window.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

windowShowAnimation

public static final int windowShowAnimation
The animation used when a window is going from INVISIBLE to VISIBLE.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowTitleBackgroundStyle

public static final int windowTitleBackgroundStyle
The style resource to use for a window's title area.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

windowTitleSize

public static final int windowTitleSize
The style resource to use for a window's title bar height.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

windowTitleStyle

public static final int windowTitleStyle
The style resource to use for a window's title text.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

writePermission

public static final int writePermission
A specific permission name for write access to a ContentProvider. See the Security Model document for more information on permissions.

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

x

public static final int x
A coordinate in the X dimension.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

y

public static final int y
A coordinate in the Y dimension.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

See Also:
Constant Field Values

yesNoPreferenceStyle

public static final int yesNoPreferenceStyle
Default style for YesNoPreference.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

See Also:
Constant Field Values

zAdjustment

public static final int zAdjustment
Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation. The default value is normal.

Must be one of the following constant values.

ConstantValueDescription
normal0 The content being animated be kept in its current Z order.
top1 The content being animated is forced on top of all other content for the duration of the animation.
bottom-1 The content being animated is forced under all other content for the duration of the animation.

See Also:
Constant Field Values
Constructor Detail

R.attr

public R.attr()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature