R.attr | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Languages
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
Summary: Fields | Ctors | Inherited Methods | [Expand All]
public static final class

# R.attr

extends Object

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

## Summary

Fields
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 | mapType | Must be one of the following constant values.
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 | zOrderOnTop | Must be a boolean value, either "`true`" or "`false`".

Public Constructors
| R.attr()

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Fields

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

Must be one of the following constant values.

Constant | Value | Description
--- | --- | ---
`none` | 0 |
`normal` | 1 |
`satellite` | 2 |
`terrain` | 3 |

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