java.lang.Object | |
↳ | com.google.android.gms.R.attr |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
adSize | The size of the ad. | ||||||||||
adSizes | A comma-separated list of the supported ad sizes. | ||||||||||
adUnitId | The ad unit ID. | ||||||||||
allowShortcuts | Whether or not global search is enabled for this corpus. | ||||||||||
cameraBearing | Must be a floating point value, such as " |
||||||||||
cameraTargetLat | Must be a floating point value, such as " |
||||||||||
cameraTargetLng | Must be a floating point value, such as " |
||||||||||
cameraTilt | Must be a floating point value, such as " |
||||||||||
cameraZoom | Must be a floating point value, such as " |
||||||||||
contentProviderUri | The URI of the content provider that the index should crawl to get the data for this corpus. | ||||||||||
corpusId | The ID of the corpus. | ||||||||||
corpusVersion | The version of the corpus. | ||||||||||
defaultIntentAction | The default value for the global search section default_intent_action . |
||||||||||
defaultIntentActivity | The default value for the global search section default_intent_aactivity . |
||||||||||
defaultIntentData | The default value for the global search section default_intent_data . |
||||||||||
featureType | The type of this feature. | ||||||||||
indexPrefixes | Indicates if this section should support prefix matching. | ||||||||||
mapType | Must be one of the following constant values. |
||||||||||
noIndex | Indicates if this section should not be indexed. | ||||||||||
paramName | The name of this parameter. | ||||||||||
paramValue | The value of this parameter. | ||||||||||
searchEnabled | Whether or not global search is enabled for this app. | ||||||||||
searchLabel | A localized string to identify this apps data within the global search app. | ||||||||||
sectionContent | The content of this global search section. | ||||||||||
sectionFormat | The format of the section. | ||||||||||
sectionId | The ID of the section. | ||||||||||
sectionType | The type of global search section for this mapping. | ||||||||||
sectionWeight | The weight of the section. | ||||||||||
settingsDescription | A localized string to describe this apps data within the global search apps settings. | ||||||||||
subsectionSeparator | Subsection separator. | ||||||||||
trimmable | Indicates if documents from this corpus can be trimmed when the index reaches its quota. | ||||||||||
uiCompass | Must be a boolean value, either " |
||||||||||
uiRotateGestures | Must be a boolean value, either " |
||||||||||
uiScrollGestures | Must be a boolean value, either " |
||||||||||
uiTiltGestures | Must be a boolean value, either " |
||||||||||
uiZoomControls | Must be a boolean value, either " |
||||||||||
uiZoomGestures | Must be a boolean value, either " |
||||||||||
useViewLifecycle | Must be a boolean value, either " |
||||||||||
zOrderOnTop | Must be a boolean value, either " |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The type of this feature. Required.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
match_global_nicknames | 1 | Enable global nickname matching on this section |
demote_common_words | 2 | Demote common words by a factor in this section |
demote_rfc822_hostnames | 3 | Demote RFC822 hostnames by a factor in this section. Only applicable to RFC822 sections |
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.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | |
normal | 1 | |
satellite | 2 | |
terrain | 3 | |
hybrid | 4 |
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.
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.
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.
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.
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.
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.
The format of the section. Optional; default to plain
.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
plain | 0 | |
html | 1 | |
rfc822 | 2 |
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.
The type of global search section for this mapping.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
text1 | 0 | |
text2 | 1 | |
icon_uri | 2 | |
intent_action | 3 | |
intent_data | 4 | |
intent_data_id | 5 | |
intent_extra_data | 6 | |
large_icon_uri | 7 | |
intent_activity | 8 |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.