public static final class

R.styleable

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

Summary

Constants
int AdsAttrs_adSize

The size of the ad.

int AdsAttrs_adSizes

A comma-separated list of the supported ad sizes.

int AdsAttrs_adUnitId

The ad unit ID.

int Corpus_contentProviderUri

The URI of the content provider that the index should crawl to get the data for this corpus.

int Corpus_corpusId

The ID of the corpus.

int Corpus_corpusVersion

The version of the corpus.

int Corpus_trimmable

Indicates if documents from this corpus can be trimmed when the index reaches its quota.

int FeatureParam_paramName

The name of this parameter.

int FeatureParam_paramValue

The value of this parameter.

int GlobalSearchCorpus_allowShortcuts

Whether or not global search is enabled for this corpus.

int GlobalSearchSection_sectionContent

The content of this global search section.

int GlobalSearchSection_sectionType

The type of global search section for this mapping.

int GlobalSearch_defaultIntentAction

The default value for the global search section default_intent_action.

int GlobalSearch_defaultIntentActivity

The default value for the global search section default_intent_aactivity.

int GlobalSearch_defaultIntentData

The default value for the global search section default_intent_data.

int GlobalSearch_searchEnabled

Whether or not global search is enabled for this app.

int GlobalSearch_searchLabel

A localized string to identify this apps data within the global search app.

int GlobalSearch_settingsDescription

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

int MapAttrs_cameraBearing

This symbol is the offset where the cameraBearing attribute's value can be found in the MapAttrs array.

int MapAttrs_cameraTargetLat

This symbol is the offset where the cameraTargetLat attribute's value can be found in the MapAttrs array.

int MapAttrs_cameraTargetLng

This symbol is the offset where the cameraTargetLng attribute's value can be found in the MapAttrs array.

int MapAttrs_cameraTilt

This symbol is the offset where the cameraTilt attribute's value can be found in the MapAttrs array.

int MapAttrs_cameraZoom

This symbol is the offset where the cameraZoom attribute's value can be found in the MapAttrs array.

int MapAttrs_mapType

This symbol is the offset where the mapType attribute's value can be found in the MapAttrs array.

int MapAttrs_uiCompass

This symbol is the offset where the uiCompass attribute's value can be found in the MapAttrs array.

int MapAttrs_uiRotateGestures

This symbol is the offset where the uiRotateGestures attribute's value can be found in the MapAttrs array.

int MapAttrs_uiScrollGestures

This symbol is the offset where the uiScrollGestures attribute's value can be found in the MapAttrs array.

int MapAttrs_uiTiltGestures

This symbol is the offset where the uiTiltGestures attribute's value can be found in the MapAttrs array.

int MapAttrs_uiZoomControls

This symbol is the offset where the uiZoomControls attribute's value can be found in the MapAttrs array.

int MapAttrs_uiZoomGestures

This symbol is the offset where the uiZoomGestures attribute's value can be found in the MapAttrs array.

int MapAttrs_useViewLifecycle

This symbol is the offset where the useViewLifecycle attribute's value can be found in the MapAttrs array.

int MapAttrs_zOrderOnTop

This symbol is the offset where the zOrderOnTop attribute's value can be found in the MapAttrs array.

int SectionFeature_featureType

The type of this feature.

int Section_indexPrefixes

Indicates if this section should support prefix matching.

int Section_noIndex

Indicates if this section should not be indexed.

int Section_sectionFormat

The format of the section.

int Section_sectionId

The ID of the section.

int Section_sectionWeight

The weight of the section.

int Section_subsectionSeparator

Subsection separator.

Fields
public static final int[] AdsAttrs Attributes that can be used with a AdsAttrs.
public static final int[] AppDataSearch

Applications that index data using AppDataSearch must provide their corpus configuration in an XML file, typically called appdatasearch.xml.

public static final int[] Corpus The Corpus element represents a corpus within AppDataSearch.
public static final int[] FeatureParam The FeatureParam element represents a parameter specified for a SectionFeature.
public static final int[] GlobalSearch The GlobalSearch element should be included if you want your apps data to appear in the global search app.
public static final int[] GlobalSearchCorpus Each Corpus element should include a GlobalSearchCorpus element if the corpus is to appear in the global search app.
public static final int[] GlobalSearchSection This element provides a mapping of sections from this corpus to a global search section.
public static final int[] MapAttrs Attributes that can be used with a MapAttrs.
public static final int[] Section The Section element represents a section within a corpus.
public static final int[] SectionFeature The SectionFeature element represents a feature of a section.
Public Constructors
R.styleable()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

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

This is a private symbol.

Constant Value: 0 (0x00000000)

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

This is a private symbol.

Constant Value: 1 (0x00000001)

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

This is a private symbol.

Constant Value: 2 (0x00000002)

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

This is a private symbol.

Constant Value: 2 (0x00000002)

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

This is a private symbol.

Constant Value: 0 (0x00000000)

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

This is a private symbol.

Constant Value: 1 (0x00000001)

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

This is a private symbol.

Constant Value: 3 (0x00000003)

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

This is a private symbol.

Constant Value: 0 (0x00000000)

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

This is a private symbol.

Constant Value: 1 (0x00000001)

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

This is a private symbol.

Constant Value: 0 (0x00000000)

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

This is a private symbol.

Constant Value: 1 (0x00000001)

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

This is a private symbol.

Constant Value: 0 (0x00000000)

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

This is a private symbol.

Constant Value: 3 (0x00000003)

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

This is a private symbol.

Constant Value: 5 (0x00000005)

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

This is a private symbol.

Constant Value: 4 (0x00000004)

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

This is a private symbol.

Constant Value: 0 (0x00000000)

public static final int GlobalSearch_searchLabel

A localized string to identify this apps 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.

This is a private symbol.

Constant Value: 1 (0x00000001)

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

This is a private symbol.

Constant Value: 2 (0x00000002)

public static final int MapAttrs_cameraBearing

This symbol is the offset where the cameraBearing attribute's value can be found in the MapAttrs array.

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.

Constant Value: 1 (0x00000001)

public static final int MapAttrs_cameraTargetLat

This symbol is the offset where the cameraTargetLat attribute's value can be found in the MapAttrs array.

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.

Constant Value: 2 (0x00000002)

public static final int MapAttrs_cameraTargetLng

This symbol is the offset where the cameraTargetLng attribute's value can be found in the MapAttrs array.

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.

Constant Value: 3 (0x00000003)

public static final int MapAttrs_cameraTilt

This symbol is the offset where the cameraTilt attribute's value can be found in the MapAttrs array.

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.

Constant Value: 4 (0x00000004)

public static final int MapAttrs_cameraZoom

This symbol is the offset where the cameraZoom attribute's value can be found in the MapAttrs array.

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.

Constant Value: 5 (0x00000005)

public static final int MapAttrs_mapType

This symbol is the offset where the mapType attribute's value can be found in the MapAttrs array.

Must be one of the following constant values.

ConstantValueDescription
none0
normal1
satellite2
terrain3
hybrid4

Constant Value: 0 (0x00000000)

public static final int MapAttrs_uiCompass

This symbol is the offset where the uiCompass attribute's value can be found in the MapAttrs array.

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.

Constant Value: 6 (0x00000006)

public static final int MapAttrs_uiRotateGestures

This symbol is the offset where the uiRotateGestures attribute's value can be found in the MapAttrs array.

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.

Constant Value: 7 (0x00000007)

public static final int MapAttrs_uiScrollGestures

This symbol is the offset where the uiScrollGestures attribute's value can be found in the MapAttrs array.

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.

Constant Value: 8 (0x00000008)

public static final int MapAttrs_uiTiltGestures

This symbol is the offset where the uiTiltGestures attribute's value can be found in the MapAttrs array.

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.

Constant Value: 9 (0x00000009)

public static final int MapAttrs_uiZoomControls

This symbol is the offset where the uiZoomControls attribute's value can be found in the MapAttrs array.

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.

Constant Value: 10 (0x0000000a)

public static final int MapAttrs_uiZoomGestures

This symbol is the offset where the uiZoomGestures attribute's value can be found in the MapAttrs array.

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.

Constant Value: 11 (0x0000000b)

public static final int MapAttrs_useViewLifecycle

This symbol is the offset where the useViewLifecycle attribute's value can be found in the MapAttrs array.

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.

Constant Value: 12 (0x0000000c)

public static final int MapAttrs_zOrderOnTop

This symbol is the offset where the zOrderOnTop attribute's value can be found in the MapAttrs array.

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.

Constant Value: 13 (0x0000000d)

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

This is a private symbol.

Constant Value: 0 (0x00000000)

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

This is a private symbol.

Constant Value: 4 (0x00000004)

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

This is a private symbol.

Constant Value: 2 (0x00000002)

public static final int Section_sectionFormat

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

Must be one of the following constant values.

ConstantValueDescription
plain0
html1
rfc8222

This is a private symbol.

Constant Value: 1 (0x00000001)

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

This is a private symbol.

Constant Value: 0 (0x00000000)

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

This is a private symbol.

Constant Value: 3 (0x00000003)

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

This is a private symbol.

Constant Value: 5 (0x00000005)

Fields

public static final int[] AdsAttrs

Attributes that can be used with a AdsAttrs.

Includes the following attributes:

AttributeDescription
com.google.android.gms:adSize The size of the ad.
com.google.android.gms:adSizes A comma-separated list of the supported ad sizes.
com.google.android.gms:adUnitId The ad unit ID.

public static final int[] AppDataSearch

Applications that index data using AppDataSearch must provide their corpus configuration in an XML file, typically called appdatasearch.xml. This file is referenced in your manifest with a meta-data tag with the name com.google.android.gms.appdatasearch in the Application section of the AndroidManifest.xml.

This is the root element of the XML file. It should contain a Corpus element for each corpus, and optionally a GlobalSearch element.

For more information about the AppDataSearch API, see com.google.android.gms.appdatasearch.

public static final int[] Corpus

The Corpus element represents a corpus within AppDataSearch. You should provide one Corpus element for each corpus used by your application. This element should contain a Section element for each section within the corpus. If you want data from this corpus to appear in global search, you must include a GlobalSearchCorpus tag within this element also.

Includes the following attributes:

AttributeDescription
com.google.android.gms:contentProviderUri The URI of the content provider that the index should crawl to get the data for this corpus.
com.google.android.gms:corpusId The ID of the corpus.
com.google.android.gms:corpusVersion The version of the corpus.
com.google.android.gms:trimmable Indicates if documents from this corpus can be trimmed when the index reaches its quota.

public static final int[] FeatureParam

The FeatureParam element represents a parameter specified for a SectionFeature.

Includes the following attributes:

AttributeDescription
com.google.android.gms:paramName The name of this parameter.
com.google.android.gms:paramValue The value of this parameter.

public static final int[] GlobalSearch

The GlobalSearch element should be included if you want your apps data to appear in the global search app. It should be contained within the top level AppDataSearch element. If you opt into global search, you should provide a GlobalSearchCorpus element within at least one of your Corpus elements.

Includes the following attributes:

AttributeDescription
com.google.android.gms:defaultIntentAction The default value for the global search section default_intent_action.
com.google.android.gms:defaultIntentActivity The default value for the global search section default_intent_aactivity.
com.google.android.gms:defaultIntentData The default value for the global search section default_intent_data.
com.google.android.gms:searchEnabled Whether or not global search is enabled for this app.
com.google.android.gms:searchLabel A localized string to identify this apps data within the global search app.
com.google.android.gms:settingsDescription A localized string to describe this apps data within the global search apps settings.

public static final int[] GlobalSearchCorpus

Each Corpus element should include a GlobalSearchCorpus element if the corpus is to appear in the global search app. This element contains several GlobalSearchSection elements describing how to present results from this corpus within the global search app. Including this element within a Corpus will only have any effect if you also include a GlobalSearch element within the top level AppDataSearch element.

Includes the following attributes:

AttributeDescription
com.google.android.gms:allowShortcuts Whether or not global search is enabled for this corpus.

public static final int[] GlobalSearchSection

This element provides a mapping of sections from this corpus to a global search section. You should provide one such element for each global search section you care about within the GlobalSearchCorpus element.

Includes the following attributes:

AttributeDescription
com.google.android.gms:sectionContent The content of this global search section.
com.google.android.gms:sectionType The type of global search section for this mapping.

public static final int[] Section

The Section element represents a section within a corpus. Each corpus can contain up to 16 sections. You can optionally include some SectionFeature elements within a Section element.

Includes the following attributes:

AttributeDescription
com.google.android.gms:indexPrefixes Indicates if this section should support prefix matching.
com.google.android.gms:noIndex Indicates if this section should not be indexed.
com.google.android.gms:sectionFormat The format of the section.
com.google.android.gms:sectionId The ID of the section.
com.google.android.gms:sectionWeight The weight of the section.
com.google.android.gms:subsectionSeparator Subsection separator.

public static final int[] SectionFeature

The SectionFeature element represents a feature of a section. These features are used to modify some semantic property of a section. This element can enclose 0 or more FeatureParam elements.

Includes the following attributes:

AttributeDescription
com.google.android.gms:featureType The type of this feature.

Public Constructors

public R.styleable ()