public static final class

R.attr

extends Object

Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

java.lang.Object
   ↳ android.support.wearable.R.attr

Summary

Fields
public static int circle_border_color

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int circle_border_width

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int circle_color

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int circle_padding

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int circle_radius

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int circle_radius_pressed

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int circular_layout_gravity

Must be one or more (separated by '|') of the following constant values.

public static int circular_text_size

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int dotColor

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int dotColorSelected

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int dotFadeInDuration

Must be an integer value, such as "100".

public static int dotFadeOutDelay

Must be an integer value, such as "100".

public static int dotFadeOutDuration

Must be an integer value, such as "100".

public static int dotFadeWhenIdle

Must be a boolean value, either "true" or "false".

public static int dotRadius

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int dotRadiusSelected

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int dotShadowColor

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int dotShadowDx

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int dotShadowDy

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int dotShadowRadius

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int dotSpacing

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int layout_box

Must be one or more (separated by '|') of the following constant values.

public static int rectLayout

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int roundLayout

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int shadow_width

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int update_interval

Must be an integer value, such as "100".

Public Constructors
R.attr()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int circle_border_color

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

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 circle_border_width

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 circle_color

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

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 circle_padding

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 circle_radius

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 circle_radius_pressed

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 circular_layout_gravity

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
left0x03
top0x30
right0x05
bottom0x50
center_vertical0x10
center_horizontal0x01
center0x11

public static int circular_text_size

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 dotColor

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

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 dotColorSelected

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

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 dotFadeInDuration

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 dotFadeOutDelay

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 dotFadeOutDuration

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 dotFadeWhenIdle

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 dotRadius

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 dotRadiusSelected

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 dotShadowColor

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

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 dotShadowDx

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 dotShadowDy

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 dotShadowRadius

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 dotSpacing

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 layout_box

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
left0x01
top0x02
right0x04
bottom0x08
all0x0F

public static int rectLayout

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int roundLayout

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int shadow_width

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

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 update_interval

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 Constructors

public R.attr ()