org.solovyev.android.menu
Class R.attr

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

public static final class R.attr
extends Object


Field Summary
static int actionBarDivider
          Custom divider drawable to use for elements in the action bar.
static int actionBarItemBackground
          Custom item state list drawable background for action bar items.
static int actionBarSize
          Size of the Action Bar, including the contextual bar used to present Action Modes.
static int actionBarSplitStyle
          Reference to a style for the split Action Bar.
static int actionBarStyle
          Reference to a style for the Action Bar
static int actionBarTabBarStyle
          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 actionBarTabStyle
          Default style for tabs within an action bar
static int actionBarTabTextStyle
          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 actionBarWidgetTheme
          Reference to a theme that should be used to inflate widgets and layouts destined for the action bar.
static int actionButtonStyle
          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 actionDropDownStyle
          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 actionMenuTextAppearance
          TextAppearance style that will be applied to text that appears within action menu items.
static int actionMenuTextColor
          Color for text that appears within action menu items.
static int actionModeBackground
          Background drawable to use for action mode UI
static int actionModeCloseButtonStyle
          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 actionModeCloseDrawable
          Drawable to use for the close action mode button
static int actionModePopupWindowStyle
          PopupWindow style to use for action modes when showing as a window overlay.
static int actionModeShareDrawable
          Drawable to use for the Share action button in WebView selection action modes
static int actionModeSplitBackground
          Background drawable to use for action mode UI in the lower split bar
static int actionModeStyle
          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 actionOverflowButtonStyle
          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 actionSpinnerItemStyle
          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 activatedBackgroundIndicator
          Drawable used as a background for activated items.
static int activityChooserViewStyle
          Default ActivityChooserView style.
static int 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".
static int backgroundSplit
          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 backgroundStacked
          Specifies a background drawable for a second stacked row of the action bar.
static int boundaries
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int buttonStyleSmall
          Small Button style.
static int customNavigationLayout
          Specifies a layout for custom navigation.
static int debugDraw
          Must be a boolean value, either "true" or "false".
static int defaultButtonStyle
          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 directionTextAlpha
          Must be an integer value, such as "100".
static int directionTextColor
          Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
static int directionTextScale
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int displayOptions
          Options affecting how the action bar is displayed.
static int 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".
static int dividerVertical
          Drawable to use for generic vertical dividers.
static int dropDownHintAppearance
          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 dropdownListPreferredItemHeight
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int dropDownListViewStyle
          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 expandActivityOverflowButtonDrawable
          The drawable to show in the button for expanding the activities overflow popup.
static int headerBackground
          Default background for the menu header.
static int height
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int homeAsUpIndicator
          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 homeLayout
          Specifies a layout to use for the "home" section of the action bar.
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 hTextPosition
          Must be a floating point value, such as "1.2".
static int icon
          Specifies the drawable used for the application icon.
static int iconifiedByDefault
          The default state of the SearchView.
static int indeterminateProgressStyle
          Specifies a style resource to use for an indeterminate progress spinner.
static int initialActivityCount
          The maximal number of items initially shown in the activity list.
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 itemPadding
          Specifies padding that should be applied to the left and right sides of system-provided items in the bar.
static int itemTextAppearance
          Default appearance of menu item text.
static int layout_horizontalSpacing
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int layout_newLine
          Must be a boolean value, either "true" or "false".
static int layout_verticalSpacing
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int listPopupWindowStyle
          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 listPreferredItemHeightSmall
          A smaller, sleeker list item height.
static int listPreferredItemPaddingLeft
          The preferred padding along the left edge of list items.
static int listPreferredItemPaddingRight
          The preferred padding along the right edge of list items.
static int logo
          Specifies the drawable used for the application logo.
static int mainViewId
          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 navigationMode
          The type of navigation to use.
static int orientation
          Must be one of the following constant values.
static int popupMenuStyle
          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 preserveIconSpacing
          Whether space should be reserved in layout when an icon is missing.
static int progressBarPadding
          Specifies the horizontal padding on either end for an embedded progress bar.
static int progressBarStyle
          Specifies a style resource to use for an embedded progress bar.
static int queryHint
          An optional query hint string to be displayed in the empty query field.
static int searchAutoCompleteTextView
          SearchView AutoCompleteTextView style
static int searchDropdownBackground
          SearchView dropdown background
static int searchResultListItemHeight
          The list item height for search results.
static int searchViewCloseIcon
          SearchView close button icon
static int searchViewEditQuery
          SearchView query refinement icon
static int searchViewEditQueryBackground
          SearchView query refinement icon background
static int searchViewGoIcon
          SearchView Go button icon
static int searchViewSearchIcon
          SearchView Search icon
static int searchViewTextField
          SearchView text field background for the left section
static int searchViewTextFieldRight
          SearchView text field background for the right section
static int searchViewVoiceIcon
          SearchView Voice button icon
static int selectableItemBackground
          Background drawable for standalone items that need focus/pressed states.
static int separator
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int slidingViewId
          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 slidingViewLedge
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int slidingViewPosition
          May be an integer value, such as "100".
static int slidingViewStyle
          May be an integer value, such as "100".
static int spinnerDropDownItemStyle
          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 spinnerItemStyle
          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 step
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int subtitle
          Specifies subtitle text used for navigationMode="normal"
static int subtitleTextStyle
          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 textAppearanceLargePopupMenu
          Text color, typeface, size, and style for the text inside of a popup menu.
static int textAppearanceListItemSmall
          The preferred TextAppearance for the primary text of small list items.
static int textAppearanceSearchResultSubtitle
          Text color, typeface, size, and style for system search result subtitle.
static int textAppearanceSearchResultTitle
          Text color, typeface, size, and style for system search result title.
static int textAppearanceSmall
          Text color, typeface, size, and style for "small" text.
static int textAppearanceSmallPopupMenu
          Text color, typeface, size, and style for small text inside of a popup menu.
static int textColorPrimary
          Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
static int textColorPrimaryDisableOnly
          Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
static int textColorPrimaryInverse
          Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
static int textColorSearchUrl
          Text color for urls in search suggestions, used by things like global search and the browser.
static int textDown
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int textLeft
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int textRight
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int textUp
          Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
static int title
          Specifies title text used for navigationMode="normal"
static int titleTextStyle
          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 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 windowActionBar
          Must be a boolean value, either "true" or "false".
static int windowActionBarOverlay
          Must be a boolean value, either "true" or "false".
static int windowActionModeOverlay
          Must be a boolean value, either "true" or "false".
static int windowAnimationStyle
          Default animations for the menu.
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 windowMinWidthMajor
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int windowMinWidthMinor
          Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".
static int windowNoTitle
          Must be a boolean value, either "true" or "false".
static int windowSplitActionBar
          Must be a boolean value, either "true" or "false".
 
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

actionBarDivider

public static int actionBarDivider
Custom divider drawable to use for elements in the action bar.

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


actionBarItemBackground

public static int actionBarItemBackground
Custom item state list drawable background for action bar items.

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


actionBarSize

public static int actionBarSize
Size of the Action Bar, including the contextual bar used to present Action Modes.

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

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

May be one of the following constant values.

ConstantValueDescription
wrap_content0


actionBarSplitStyle

public static int actionBarSplitStyle
Reference to a style for the split Action Bar. This style controls the split component that holds the menu/action buttons. actionBarStyle is still used for the primary bar.

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


actionBarStyle

public static int actionBarStyle
Reference to a style for the Action Bar

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


actionBarTabBarStyle

public static int actionBarTabBarStyle

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


actionBarTabStyle

public static int actionBarTabStyle
Default style for tabs within an action bar

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


actionBarTabTextStyle

public static int actionBarTabTextStyle

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


actionBarWidgetTheme

public static int actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. Most of the time this will be a reference to the current theme, but when the action bar has a significantly different contrast profile than the rest of the activity the difference can become important. If this is set to @null the current theme will be used.

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


actionButtonStyle

public static int actionButtonStyle

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


actionDropDownStyle

public static int actionDropDownStyle

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


actionMenuTextAppearance

public static int actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action menu items.

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


actionMenuTextColor

public static int actionMenuTextColor
Color for text that appears within action menu items.

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

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


actionModeBackground

public static int actionModeBackground
Background drawable to use for action mode UI

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


actionModeCloseButtonStyle

public static int actionModeCloseButtonStyle

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


actionModeCloseDrawable

public static int actionModeCloseDrawable
Drawable to use for the close action mode button

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


actionModePopupWindowStyle

public static int actionModePopupWindowStyle
PopupWindow style to use for action modes when showing as a window overlay.

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


actionModeShareDrawable

public static int actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes

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


actionModeSplitBackground

public static int actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar

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


actionModeStyle

public static int actionModeStyle

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


actionOverflowButtonStyle

public static int actionOverflowButtonStyle

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


actionSpinnerItemStyle

public static int actionSpinnerItemStyle

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


activatedBackgroundIndicator

public static int activatedBackgroundIndicator
Drawable used as a background for activated items.

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


activityChooserViewStyle

public static int activityChooserViewStyle
Default ActivityChooserView 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".


background

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


backgroundSplit

public static int backgroundSplit

May be a 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".


backgroundStacked

public static int backgroundStacked
Specifies a background drawable for a second stacked row of the action bar.

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

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


boundaries

public static int boundaries

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

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


buttonStyleSmall

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


customNavigationLayout

public static int customNavigationLayout
Specifies a layout for custom navigation. Overrides navigationMode.

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


debugDraw

public static int debugDraw

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

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


defaultButtonStyle

public static int defaultButtonStyle

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


directionTextAlpha

public static int directionTextAlpha

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.


directionTextColor

public static int directionTextColor

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.


directionTextScale

public static int directionTextScale

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

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


displayOptions

public static int displayOptions
Options affecting how the action bar is displayed.

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

ConstantValueDescription
useLogo0x1
showHome0x2
homeAsUp0x4
showTitle0x8
showCustom0x10
disableHome0x20


divider

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


dividerVertical

public static int dividerVertical
Drawable to use for generic vertical dividers.

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


dropDownHintAppearance

public static int dropDownHintAppearance

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


dropDownListViewStyle

public static int dropDownListViewStyle

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


dropdownListPreferredItemHeight

public static int dropdownListPreferredItemHeight

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

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


expandActivityOverflowButtonDrawable

public static int expandActivityOverflowButtonDrawable
The drawable to show in the button for expanding the activities overflow popup. Note: Clients would like to set this drawable as a clue about the action the chosen activity will perform. For example, if share activity is to be chosen the drawable should give a clue that sharing is to be performed.

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


hTextPosition

public static int hTextPosition

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.


headerBackground

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


height

public static int height

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

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


homeAsUpIndicator

public static int homeAsUpIndicator

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


homeLayout

public static int homeLayout
Specifies a layout to use for the "home" section of the action bar.

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


horizontalDivider

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


horizontalSpacing

public static 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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


icon

public static int icon
Specifies the drawable used for the application icon.

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


iconifiedByDefault

public static int iconifiedByDefault
The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.

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

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


indeterminateProgressStyle

public static int indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner.

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


initialActivityCount

public static int initialActivityCount
The maximal number of items initially shown in the activity list.

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

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


itemBackground

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


itemIconDisabledAlpha

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


itemPadding

public static int itemPadding
Specifies padding that should be applied to the left and right sides of system-provided items in the bar.

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

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


itemTextAppearance

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


layout_horizontalSpacing

public static int layout_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), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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


layout_newLine

public static int layout_newLine

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

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


layout_verticalSpacing

public static int layout_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), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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


listPopupWindowStyle

public static int listPopupWindowStyle

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


listPreferredItemHeightSmall

public static int listPreferredItemHeightSmall
A smaller, sleeker list item height.

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

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


listPreferredItemPaddingLeft

public static int listPreferredItemPaddingLeft
The preferred padding along the left edge of list items.

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

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


listPreferredItemPaddingRight

public static int listPreferredItemPaddingRight
The preferred padding along the right edge of list items.

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

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


logo

public static int logo
Specifies the drawable used for the application logo.

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


mainViewId

public static int mainViewId

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


navigationMode

public static int navigationMode
The type of navigation to use.

Must be one of the following constant values.

ConstantValueDescription
normal0 Normal static title text
listMode1 The action bar will use a selection list for navigation.
tabMode2 The action bar will use a series of horizontal tabs for navigation.


orientation

public static int orientation

Must be one of the following constant values.

ConstantValueDescription
horizontal0
vertical1


popupMenuStyle

public static int popupMenuStyle

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


preserveIconSpacing

public static int preserveIconSpacing
Whether space should be reserved in layout when an icon is missing.

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

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


progressBarPadding

public static int progressBarPadding
Specifies the horizontal padding on either end for an embedded progress bar.

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

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


progressBarStyle

public static int progressBarStyle
Specifies a style resource to use for an embedded progress bar.

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


queryHint

public static int queryHint
An optional query hint string to be displayed in the empty query field.

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

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


searchAutoCompleteTextView

public static int searchAutoCompleteTextView
SearchView 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".


searchDropdownBackground

public static int searchDropdownBackground
SearchView dropdown 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".


searchResultListItemHeight

public static int searchResultListItemHeight
The list item height for search results. @hide

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

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


searchViewCloseIcon

public static int searchViewCloseIcon
SearchView close button icon

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


searchViewEditQuery

public static int searchViewEditQuery
SearchView query refinement 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".


searchViewEditQueryBackground

public static int searchViewEditQueryBackground
SearchView query refinement icon 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".


searchViewGoIcon

public static int searchViewGoIcon
SearchView Go button icon

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


searchViewSearchIcon

public static int searchViewSearchIcon
SearchView Search icon

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


searchViewTextField

public static int searchViewTextField
SearchView text field background for the left section

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


searchViewTextFieldRight

public static int searchViewTextFieldRight
SearchView text field background for the right section

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


searchViewVoiceIcon

public static int searchViewVoiceIcon
SearchView Voice button icon

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


selectableItemBackground

public static int selectableItemBackground
Background drawable for standalone items that need focus/pressed states.

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


separator

public static int separator

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

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


slidingViewId

public static int slidingViewId

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


slidingViewLedge

public static int slidingViewLedge

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

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


slidingViewPosition

public static int slidingViewPosition

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
left0
top1
right2
bottom3


slidingViewStyle

public static int slidingViewStyle

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
hover0
push1


spinnerDropDownItemStyle

public static int spinnerDropDownItemStyle

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


spinnerItemStyle

public static int spinnerItemStyle

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


step

public static int step

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

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


subtitle

public static int subtitle
Specifies subtitle text used for navigationMode="normal"

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

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


subtitleTextStyle

public static int subtitleTextStyle

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


textAppearanceLargePopupMenu

public static int textAppearanceLargePopupMenu
Text color, typeface, size, and style for the text inside of a popup menu.

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


textAppearanceListItemSmall

public static int textAppearanceListItemSmall
The preferred TextAppearance for the primary text of small list items.

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


textAppearanceSearchResultSubtitle

public static int textAppearanceSearchResultSubtitle
Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color.

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


textAppearanceSearchResultTitle

public static int textAppearanceSearchResultTitle
Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color.

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


textAppearanceSmall

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


textAppearanceSmallPopupMenu

public static int textAppearanceSmallPopupMenu
Text color, typeface, size, and style for small text inside of a popup menu.

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


textColorPrimary

public static int textColorPrimary

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.


textColorPrimaryDisableOnly

public static int textColorPrimaryDisableOnly

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.


textColorPrimaryInverse

public static int textColorPrimaryInverse

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.


textColorSearchUrl

public static int textColorSearchUrl
Text color for urls in search suggestions, used by things like global search and the browser. @hide

May be a 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".


textDown

public static int textDown

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

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


textLeft

public static int textLeft

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

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


textRight

public static int textRight

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

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


textUp

public static int textUp

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

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


title

public static int title
Specifies title text used for navigationMode="normal"

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

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


titleTextStyle

public static int titleTextStyle

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


verticalDivider

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


verticalSpacing

public static 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), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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


windowActionBar

public static int windowActionBar

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

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


windowActionBarOverlay

public static int windowActionBarOverlay

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

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


windowActionModeOverlay

public static int windowActionModeOverlay

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

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


windowAnimationStyle

public static int windowAnimationStyle
Default animations for the menu.

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


windowContentOverlay

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


windowMinWidthMajor

public static int windowMinWidthMajor

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

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


windowMinWidthMinor

public static int windowMinWidthMinor

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

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


windowNoTitle

public static int windowNoTitle

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

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


windowSplitActionBar

public static int windowSplitActionBar

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

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

Constructor Detail

R.attr

public R.attr()


Copyright © 2014 se.solovyev. All Rights Reserved.