public static final class

R.attr

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

Summary

Fields
public static int adSize The size of the ad.
public static int adSizes A comma-separated list of the supported ad sizes.
public static int adUnitId The ad unit ID.
public static int allowShortcuts Whether or not global search is enabled for this corpus.
public static int appTheme Theme to be used for the Wallet selector

Must be one of the following constant values.

public static int buyButtonAppearance Appearance of the buy button.
public static int buyButtonHeight Height of the buy button.
public static int buyButtonText Text on the buy button.
public static int buyButtonWidth Width of the buy button.
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 contentProviderUri The URI of the content provider that the index should crawl to get the data for this corpus.
public static int corpusId The ID of the corpus.
public static int corpusVersion The version of the corpus.
public static int defaultIntentAction The default value for the global search section default_intent_action.
public static int defaultIntentActivity The default value for the global search section default_intent_aactivity.
public static int defaultIntentData The default value for the global search section default_intent_data.
public static int environment Google Wallet environment to use

Must be one of the following constant values.

public static int featureType The type of this feature.
public static int fragmentMode Fragment mode

Must be one of the following constant values.

public static int fragmentStyle A style resource specifing attributes to customize the look and feel of WalletFragment

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 indexPrefixes Indicates if this section should support prefix matching.
public static int inputEnabled Whether or not this corpus could be useful input for IME.
public static int mapType

Must be one of the following constant values.

public static int maskedWalletDetailsBackground Masked wallet details 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".

public static int maskedWalletDetailsButtonBackground "Change" button background in masked wallet details view

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 TextAppearance for the "Change" button in masked wallet details 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".

public static int maskedWalletDetailsHeaderTextAppearance TextAppearance for headers describing masked wallet details

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 Type of the wallet logo image in masked wallet details view

Must be one of the following constant values.

public static int maskedWalletDetailsLogoTextColor Color of the Google Wallet logo text in masked wallet details view

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

public static int maskedWalletDetailsTextAppearance TextAppearance for masked wallet details

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 Indicates if this section should not be indexed.
public static int paramName The name of this parameter.
public static int paramValue The value of this parameter.
public static int schemaOrgProperty Section corresponds to this schema.org property.
public static int schemaOrgType schema.org type of documents in this corpus.
public static int searchEnabled Whether or not global search is enabled for this app.
public static int searchLabel A localized string to identify this app's data within the global search app.
public static int sectionContent The content of this global search section.
public static int sectionFormat The format of the section.
public static int sectionId The ID of the section.
public static int sectionType The type of global search section for this mapping.
public static int sectionWeight The weight of the section.
public static int settingsDescription A localized string to describe this apps data within the global search apps settings.
public static int sourceClass Class of the source.
public static int subsectionSeparator Subsection separator.
public static int toAddressesSection Sections containing entities communicated with in a given document.
public static int trimmable Indicates if documents from this corpus can be trimmed when the index reaches its quota.
public static int uiCompass

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 If this section is non-empty, the document is considered to be input by the user if either userInputValue is not set or the content of this section is equal to that value.
public static int userInputTag Tag name for documents that contain data input by the user.
public static int userInputValue If set, userInputSection contents needs to equal this value for the document to be considered input by user.
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

The size of the ad. It must be one of BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER, WIDE_SKYSCRAPER, or <width>x<height>.

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

This may also be a reference 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

A comma-separated list of the supported ad sizes. The sizes must be one of BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER, WIDE_SKYSCRAPER, or <width>x<height>.

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

This may also be a reference 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

The ad unit ID.

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

This may also be a reference 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

Whether or not global search is enabled for this corpus. Optional; defaults to true. If set to false, it will be treated as if the GlobalSearchCorpus element did not exist. Allow shortcuts to global search results from this corpus to be created. If set to true, the global search app may allow the user to create shortcuts to results, for example on the users home screen. The shortcuts may be long lived, and may persist after the linked document has been deleted. The activity that handles the global search result intent should be able to deal with this gracefully. 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.

public static int appTheme

Theme to be used for the Wallet selector

Must be one of the following constant values.

ConstantValueDescription
holo_dark0
holo_light1

public static int buyButtonAppearance

Appearance of the buy button. Must be one of "classic", "grayscale" and "monochrome"

Must be one of the following constant values.

ConstantValueDescription
classic1
grayscale2
monochrome3

public static int buyButtonHeight

Height of the buy button. This includes an 8dp padding (4dp on each side) used for pressed and focused states of the button. The value can be a specific height, e.g. "48dp", or special values "match_parent" and "wrap_content".

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

Text on the buy button. Must be one of "buy_with_google", "buy_now" and "book_now"

Must be one of the following constant values.

ConstantValueDescription
buy_with_google1
buy_now2
book_now3

public static int buyButtonWidth

Width of the buy button. This includes an 8dp padding (4dp on each side) used for pressed and focused states of the button. The value can be a specific width, e.g. "300dp", or special values "match_parent" and "wrap_content".

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 contentProviderUri

The URI of the content provider that the index should crawl to get the data for this corpus. Required. This string must not change between configurations.

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

This may also be a reference 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

The ID of the corpus. Required. This string must not change between configurations.

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

This may also be a reference 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

The version of the corpus. Optional; defaults to "0". This string must not change between configurations.

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

This may also be a reference 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

The default value for the global search section default_intent_action. Optional. This string must not change between configurations.

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

This may also be a reference 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

The default value for the global search section default_intent_aactivity. Optional. This string must not change between configurations.

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

This may also be a reference 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

The default value for the global search section default_intent_data. Optional. This string must not change between configurations.

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

This may also be a reference 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

Google Wallet environment to use

Must be one of the following constant values.

ConstantValueDescription
production1
sandbox0
strict_sandbox2

public static int featureType

The type of this feature. Required.

Must be one of the following constant values.

ConstantValueDescription
match_global_nicknames1 Enable global nickname matching on this section
demote_common_words2 Demote common words by a factor in this section
demote_rfc822_hostnames3 Demote RFC822 hostnames by a factor in this section. Only applicable to RFC822 sections
omnibox_url_section4 Mark this is an omnibox url section. May enable special ranking and matching behavior. Only application to url sections.
omnibox_title_section5 Mark this is an omnibox title section. May enable special ranking and matching behavior.

public static int fragmentMode

Fragment mode

Must be one of the following constant values.

ConstantValueDescription
buyButton1
selectionDetails2

public static int fragmentStyle

A style resource specifing attributes to customize the look and feel of WalletFragment

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 indexPrefixes

Indicates if this section should support prefix matching. Optional; 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.

public static int inputEnabled

Whether or not this corpus could be useful input for IME. Optional; defaults to true. If set to false, it will be treated as if the IMECorpus element did not exist.

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

This may also be a reference 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

Masked wallet details 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".

public static int maskedWalletDetailsButtonBackground

"Change" button background in masked wallet details view

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

TextAppearance for the "Change" button in masked wallet details 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".

public static int maskedWalletDetailsHeaderTextAppearance

TextAppearance for headers describing masked wallet details

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

Type of the wallet logo image in masked wallet details view

Must be one of the following constant values.

ConstantValueDescription
classic1
monochrome2

public static int maskedWalletDetailsLogoTextColor

Color of the Google Wallet logo text in masked wallet details view

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

TextAppearance for masked wallet details

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

Indicates if this section should not be indexed. Optional; 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.

public static int paramName

The name of this parameter. Required.

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

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

public static int paramValue

The value of this parameter. Optional.

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

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

public static int schemaOrgProperty

Section corresponds to this schema.org property. Optional.

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

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

public static int schemaOrgType

schema.org type of documents in this corpus. Optional.

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

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

public static int searchEnabled

Whether or not global search is enabled for this app. Optional; defaults to true. If set to false, it will be treated as if the GlobalSearch element did not exist.

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

This may also be a reference 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

A localized string to identify this app's data within the global search app. Required.

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

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

public static int sectionContent

The content of this global search section. This is a global search section template string. It should contain a reference to a string which can change between configurations.

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

This may also be a reference 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

The format of the section. Optional; default to plain.

Must be one of the following constant values.

ConstantValueDescription
plain0
html1
rfc8222
url3

public static int sectionId

The ID of the section. Required. This string must not change between configurations.

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

This may also be a reference 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

The type of global search section for this mapping.

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

The weight of the section. Optional; defaults to 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.

public static int settingsDescription

A localized string to describe this apps data within the global search apps settings. Optional.

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

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

public static int sourceClass

Class of the source. One of the following: email, contact, and instant-message.

Must be one of the following constant values.

ConstantValueDescription
email0
contact1
instant_message2

public static int subsectionSeparator

Subsection separator. Optional. If not provided, the section is not split into subsections.

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

This may also be a reference 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

Sections containing entities communicated with in a given document. Entities can be names, email addresses or phone numbers.

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

This may also be a reference 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

Indicates if documents from this corpus can be trimmed when the index reaches its quota. Optional; defaults to true.

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

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

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

If this section is non-empty, the document is considered to be input by the user if either userInputValue is not set or the content of this section is equal to that 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.

public static int userInputTag

Tag name for documents that contain data input by the user. Optional.

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

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

public static int userInputValue

If set, userInputSection contents needs to equal this value for the document to be considered input by user.

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

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

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 ()