R.attr

public static final class R.attr
extends Object

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


Summary

Fields

public static int buttonRippleColor

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

Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".

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 circle_radius_pressed_percent

Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%".

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 color_sequence

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

Must be one of the following constant values.

public static int image_circle_percentage

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

public static int image_horizontal_offcenter_percentage

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

public static int image_tint

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

public static int layoutManager

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

public static int layout_box

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

public static int layout_gravityRound

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

public static int layout_heightRound

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

public static int layout_marginBottomRound

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

public static int layout_marginLeftRound

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

public static int layout_marginRightRound

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

public static int layout_marginRound

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

public static int layout_marginTopRound

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

public static int layout_widthRound

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

public static int maxTextSize

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

public static int minTextSize

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

public static int pressedButtonTranslationZ

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

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 reverseLayout

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

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 spanCount

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

public static int square_dimen

Must be one of the following constant values.

public static int stackFromEnd

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

public static int update_interval

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

Public constructors

R.attr()

Inherited methods

From class java.lang.Object

Fields

buttonRippleColor

int buttonRippleColor

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

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

circle_border_color

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.

circle_border_width

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.

circle_color

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.

circle_padding

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.

circle_radius

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.

circle_radius_percent

int circle_radius_percent

Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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.

circle_radius_pressed

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.

circle_radius_pressed_percent

int circle_radius_pressed_percent

Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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.

circular_layout_gravity

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

circular_text_size

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.

color_sequence

int color_sequence

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

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

dotColor

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.

dotColorSelected

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.

dotFadeInDuration

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.

dotFadeOutDelay

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.

dotFadeOutDuration

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.

dotFadeWhenIdle

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.

dotRadius

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.

dotRadiusSelected

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.

dotShadowColor

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.

dotShadowDx

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.

dotShadowDy

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.

dotShadowRadius

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.

dotSpacing

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.

imageScaleMode

int imageScaleMode

Must be one of the following constant values.

ConstantValueDescription
fit0
center1

image_circle_percentage

int image_circle_percentage

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.

image_horizontal_offcenter_percentage

int image_horizontal_offcenter_percentage

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.

image_tint

int image_tint

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.

layoutManager

int layoutManager

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.

layout_box

int layout_box

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

ConstantValueDescription
left0x01
top0x02
right0x04
bottom0x08
all0x0F

layout_gravityRound

int layout_gravityRound

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

ConstantValueDescription
top0x30
bottom0x50
left0x03
right0x05
center_vertical0x10
fill_vertical0x70
center_horizontal0x01
fill_horizontal0x07
center0x11
fill0x77
clip_vertical0x80
clip_horizontal0x08
start0x00800003
end0x00800005

layout_heightRound

int layout_heightRound

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.

layout_marginBottomRound

int layout_marginBottomRound

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.

layout_marginLeftRound

int layout_marginLeftRound

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.

layout_marginRightRound

int layout_marginRightRound

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.

layout_marginRound

int layout_marginRound

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.

layout_marginTopRound

int layout_marginTopRound

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.

layout_widthRound

int layout_widthRound

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.

maxTextSize

int maxTextSize

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.

minTextSize

int minTextSize

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.

pressedButtonTranslationZ

int pressedButtonTranslationZ

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.

rectLayout

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

reverseLayout

int reverseLayout

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.

roundLayout

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

shadow_width

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.

spanCount

int spanCount

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.

square_dimen

int square_dimen

Must be one of the following constant values.

ConstantValueDescription
none0
height1
width2

stackFromEnd

int stackFromEnd

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.

update_interval

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

R.attr

R.attr ()