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 adUnitId The ad unit ID.
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 content The content of this global search section.
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 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 enabled Whether or not global search is enabled for this app.
public static int format The format of the section.
public static int id The ID of the corpus.
public static int indexPrefixes Indicates if this section should support prefix matching.
public static int label A localized string to identify this apps data within the global search app.
public static int mapType

Must be one of the following constant values.

public static int name The name of this parameter.
public static int noIndex Indicates if this section should not be indexed.
public static int sectionId The global search section ID for this mapping.
public static int settingsDescription A localized string to describe this apps data within the global search apps settings.
public static int subsectionSeparator Subsection separator.
public static int trimmable Indicates if documents from this corpus can be trimmed when the index reaches its quota.
public static int type The type of this section.
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 value The value of this parameter.
public static int version The version of the corpus.
public static int weight The weight of the section.
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 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 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 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.

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

public static int format

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

Must be one of the following constant values.

ConstantValueDescription
plain0
html1
rfc8222

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

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

public static int mapType

Must be one of the following constant values.

ConstantValueDescription
none0
normal1
satellite2
terrain3
hybrid4

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

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

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

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

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

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

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