public static final class

R.attr

extends Object
java.lang.Object
   ↳ com.google.android.gms.R.attr

Summary

Fields
public static int adSize

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

public static int adSizes

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

public static int adUnitId

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

public static int allowShortcuts

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

public static int appTheme

Must be one of the following constant values.

public static int buyButtonAppearance

Must be one of the following constant values.

public static int buyButtonHeight

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

public static int buyButtonText

Must be one of the following constant values.

public static int buyButtonWidth

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

public static int cameraBearing

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

public static int cameraTargetLat

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

public static int cameraTargetLng

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

public static int cameraTilt

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

public static int cameraZoom

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

public static int circleCrop

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

public static int contentProviderUri

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

public static int corpusId

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

public static int corpusVersion

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

public static int defaultIntentAction

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

public static int defaultIntentActivity

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

public static int defaultIntentData

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

public static int environment

Must be one of the following constant values.

public static int featureType

Must be one of the following constant values.

public static int fragmentMode

Must be one of the following constant values.

public static int fragmentStyle

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

public static int imageAspectRatio

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

public static int imageAspectRatioAdjust

Must be one of the following constant values.

public static int indexPrefixes

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

public static int inputEnabled

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

public static int liteMode

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

public static int mapType

Must be one of the following constant values.

public static int maskedWalletDetailsBackground

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

public static int maskedWalletDetailsButtonBackground

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

public static int maskedWalletDetailsButtonTextAppearance

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

public static int maskedWalletDetailsHeaderTextAppearance

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

public static int maskedWalletDetailsLogoImageType

Must be one of the following constant values.

public static int maskedWalletDetailsLogoTextColor

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

public static int maskedWalletDetailsTextAppearance

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

public static int noIndex

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

public static int paramName

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

public static int paramValue

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

public static int schemaOrgProperty

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

public static int schemaOrgType

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

public static int searchEnabled

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

public static int searchLabel

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

public static int sectionContent

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

public static int sectionFormat

Must be one of the following constant values.

public static int sectionId

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

public static int sectionType

Must be one of the following constant values.

public static int sectionWeight

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

public static int settingsDescription

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

public static int sourceClass

Must be one of the following constant values.

public static int subsectionSeparator

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

public static int toAddressesSection

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

public static int trimmable

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

public static int uiCompass

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

public static int uiMapToolbar

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

public static int uiRotateGestures

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

public static int uiScrollGestures

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

public static int uiTiltGestures

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

public static int uiZoomControls

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

public static int uiZoomGestures

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

public static int useViewLifecycle

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

public static int userInputSection

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

public static int userInputTag

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

public static int userInputValue

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

public static int zOrderOnTop

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

Public Constructors
R.attr()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int adSize

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

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

public static int adSizes

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

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

public static int adUnitId

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

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

public static int allowShortcuts

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

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

public static int appTheme

Must be one of the following constant values.

ConstantValueDescription
holo_dark0
holo_light1

public static int buyButtonAppearance

Must be one of the following constant values.

ConstantValueDescription
classic1
grayscale2
monochrome3

public static int buyButtonHeight

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
match_parent-1
wrap_content-2

public static int buyButtonText

Must be one of the following constant values.

ConstantValueDescription
buy_with_google1
buy_now2
book_now3
donate_with_google4

public static int buyButtonWidth

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
match_parent-1
wrap_content-2

public static int cameraBearing

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.

public static int cameraTargetLat

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.

public static int cameraTargetLng

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.

public static int cameraTilt

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.

public static int cameraZoom

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.

public static int circleCrop

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

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

public static int contentProviderUri

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

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

public static int corpusId

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

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

public static int corpusVersion

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

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

public static int defaultIntentAction

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

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

public static int defaultIntentActivity

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

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

public static int defaultIntentData

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

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

public static int environment

Must be one of the following constant values.

ConstantValueDescription
production1
sandbox0
strict_sandbox2

public static int featureType

Must be one of the following constant values.

ConstantValueDescription
match_global_nicknames1
demote_common_words2
demote_rfc822_hostnames3
omnibox_url_section4
omnibox_title_section5

public static int fragmentMode

Must be one of the following constant values.

ConstantValueDescription
buyButton1
selectionDetails2

public static int fragmentStyle

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

public static int imageAspectRatio

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.

public static int imageAspectRatioAdjust

Must be one of the following constant values.

ConstantValueDescription
none0
adjust_width1
adjust_height2

public static int indexPrefixes

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

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

public static int inputEnabled

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

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

public static int liteMode

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

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

public static int mapType

Must be one of the following constant values.

ConstantValueDescription
none0
normal1
satellite2
terrain3
hybrid4

public static int maskedWalletDetailsBackground

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

public static int maskedWalletDetailsButtonBackground

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

public static int maskedWalletDetailsButtonTextAppearance

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

public static int maskedWalletDetailsHeaderTextAppearance

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

public static int maskedWalletDetailsLogoImageType

Must be one of the following constant values.

ConstantValueDescription
classic1
monochrome2

public static int maskedWalletDetailsLogoTextColor

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.

public static int maskedWalletDetailsTextAppearance

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

public static int noIndex

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

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

public static int paramName

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

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

public static int paramValue

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

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

public static int schemaOrgProperty

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

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

public static int schemaOrgType

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

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

public static int searchEnabled

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

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

public static int searchLabel

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

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

public static int sectionContent

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

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

public static int sectionFormat

Must be one of the following constant values.

ConstantValueDescription
plain0
html1
rfc8222
url3

public static int sectionId

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

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

public static int sectionType

Must be one of the following constant values.

ConstantValueDescription
text10
text21
icon_uri2
intent_action3
intent_data4
intent_data_id5
intent_extra_data6
large_icon_uri7
intent_activity8

public static int sectionWeight

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.

public static int settingsDescription

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

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

public static int sourceClass

Must be one of the following constant values.

ConstantValueDescription
email0
contact1
instant_message2

public static int subsectionSeparator

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

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

public static int toAddressesSection

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

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

public static int trimmable

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

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

public static int uiCompass

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

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

public static int uiMapToolbar

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

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

public static int uiRotateGestures

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

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

public static int uiScrollGestures

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

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

public static int uiTiltGestures

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

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

public static int uiZoomControls

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

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

public static int uiZoomGestures

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

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

public static int useViewLifecycle

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

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

public static int userInputSection

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

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

public static int userInputTag

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

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

public static int userInputValue

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

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

public static int zOrderOnTop

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

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

Public Constructors

public R.attr ()