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

The ID of the corpus.

int Corpus_trimmable

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

int Corpus_version

The version of the corpus.

int GlobalSearchCorpus_enabled

Whether or not global search is enabled for this corpus.

int GlobalSearchSection_content

The content of this global search section.

int GlobalSearchSection_sectionId

The global search section ID 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_enabled

Whether or not global search is enabled for this app.

int GlobalSearch_label

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_type

The type of this section.

int Section_format

The format of the section.

int Section_id

The ID of the section.

int Section_indexPrefixes

Indicates if this section should support prefix matching.

int Section_noIndex

Indicates if this section should not be indexed.

int Section_subsectionSeparator

Subsection separator.

int Section_weight

The weight of the section.

int Set_name

The name of this parameter.

int Set_value

The value of this parameter.

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[] 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 static final int[] Set The Set element represents a parameter specified for a SectionFeature.
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_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: 1 (0x00000001)

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_id

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

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 GlobalSearchCorpus_enabled

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.

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_content

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_sectionId

The global search section ID 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_enabled

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_label

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_type

The type of this section. 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

This is a private symbol.

Constant Value: 0 (0x00000000)

public static final int Section_format

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_id

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

public static final int Section_weight

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 Set_name

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 Set_value

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)

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

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.

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:id The ID of the corpus.
com.google.android.gms:trimmable Indicates if documents from this corpus can be trimmed when the index reaches its quota.
com.google.android.gms:version The version of the corpus.

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:enabled Whether or not global search is enabled for this app.
com.google.android.gms:label 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:enabled 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:content The content of this global search section.
com.google.android.gms:sectionId The global search section ID 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.

Includes the following attributes:

AttributeDescription
com.google.android.gms:format The format of the section.
com.google.android.gms:id The ID of the section.
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:subsectionSeparator Subsection separator.
com.google.android.gms:weight The weight of the section.

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.

Includes the following attributes:

AttributeDescription
com.google.android.gms:type The type of this section.

public static final int[] Set

The Set element represents a parameter specified for a SectionFeature.

Includes the following attributes:

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

Public Constructors

public R.styleable ()