R.styleable

public static final class R.styleable
extends Object

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


Summary

Fields

public static final int[] ActionLabel

可以与ActionLabel一起使用的属性。

public static int ActionLabel_android_fontFamily

该符号是在 ActionLabel阵列中可以找到 fontFamily属性值的偏移量。

public static int ActionLabel_android_gravity

该符号是 ActionLabel数组中可以找到 gravity属性值的偏移量。

public static int ActionLabel_android_lineSpacingExtra

此符号是 ActionLabel数组中可以找到 lineSpacingExtra属性值的偏移量。

public static int ActionLabel_android_lineSpacingMultiplier

该符号是 ActionLabel数组中可以找到 lineSpacingMultiplier属性值的偏移量。

public static int ActionLabel_android_maxLines

该符号是在 ActionLabel数组中可以找到 maxLines属性值的偏移量。

public static int ActionLabel_android_text

此符号是在 ActionLabel阵列中可找到 text属性值的偏移量。

public static int ActionLabel_android_textColor

此符号是 ActionLabel数组中可以找到 textColor属性值的偏移量。

public static int ActionLabel_android_textStyle

此符号是在 ActionLabel阵列中可找到 textStyle属性值的偏移量。

public static int ActionLabel_android_typeface

此符号是在 ActionLabel阵列中可以找到 typeface属性值的偏移量。

public static int ActionLabel_maxTextSize

该符号是 ActionLabel数组中 maxTextSize属性值的偏移量。

public static int ActionLabel_minTextSize

此符号是在 ActionLabel阵列中可找到 minTextSize属性值的偏移量。

public static final int[] ActionPage

可以与ActionPage一起使用的属性。

public static int ActionPage_android_color

此符号是可在 ActionPage阵列中找到 color属性值的偏移量。

public static int ActionPage_android_elevation

该符号是在 ActionPage阵列中可找到 elevation属性值的偏移量。

public static int ActionPage_android_fontFamily

该符号是 ActionPage数组中可以找到 fontFamily属性值的偏移量。

public static int ActionPage_android_gravity

此符号是可在 ActionPage数组中找到 gravity属性值的偏移量。

public static int ActionPage_android_lineSpacingExtra

该符号是在 ActionPage数组中可以找到 lineSpacingExtra属性值的偏移量。

public static int ActionPage_android_lineSpacingMultiplier

该符号是在 ActionPage阵列中可以找到 lineSpacingMultiplier属性值的偏移量。

public static int ActionPage_android_maxLines

此符号是在 ActionPage阵列中可找到 maxLines属性值的偏移量。

public static int ActionPage_android_src

该符号是 ActionPage数组中可以找到 src属性值的偏移量。

public static int ActionPage_android_stateListAnimator

此符号是 ActionPage数组中可以找到 stateListAnimator属性值的偏移量。

public static int ActionPage_android_text

该符号是在 ActionPage数组中可以找到 text属性值的偏移量。

public static int ActionPage_android_textColor

此符号是在 ActionPage阵列中可找到 textColor属性值的偏移量。

public static int ActionPage_android_textStyle

该符号是 ActionPage数组中可以找到 textStyle属性值的偏移量。

public static int ActionPage_android_typeface

该符号是 ActionPage数组中可以找到 typeface属性值的偏移量。

public static int ActionPage_buttonRippleColor

该符号是在 ActionPage数组中可以找到 buttonRippleColor属性值的偏移量。

public static int ActionPage_imageScaleMode

该符号是 ActionPage数组中可以找到 imageScaleMode属性值的偏移量。

public static int ActionPage_maxTextSize

该符号是在 ActionPage阵列中可以找到 maxTextSize属性值的偏移量。

public static int ActionPage_minTextSize

此符号是 ActionPage数组中可以找到 minTextSize属性值的偏移量。

public static int ActionPage_pressedButtonTranslationZ

此符号是在 ActionPage数组中可找到 pressedButtonTranslationZ属性值的偏移量。

public static final int[] BoxInsetLayout_Layout

可以与BoxInsetLayout_Layout一起使用的属性。

public static int BoxInsetLayout_Layout_layout_box

该符号是 layout_box属性的值可以在 BoxInsetLayout_Layout数组中找到的偏移量。

public static final int[] CircledImageView

可以与CircledImageView一起使用的属性。

public static int CircledImageView_android_src

该符号是 CircledImageView数组中可以找到 src属性值的偏移量。

public static int CircledImageView_circle_border_color

此符号是在 CircledImageView阵列中可找到 circle_border_color属性值的偏移量。

public static int CircledImageView_circle_border_width

此符号是在 CircledImageView数组中可以找到 circle_border_width属性值的偏移量。

public static int CircledImageView_circle_color

该符号是 CircledImageView数组中可以找到 circle_color属性值的偏移量。

public static int CircledImageView_circle_padding

该符号是 CircledImageView数组中可以找到 circle_padding属性值的偏移量。

public static int CircledImageView_circle_radius

该符号是 CircledImageView数组中可以找到 circle_radius属性值的偏移量。

public static int CircledImageView_circle_radius_percent

此符号是 CircledImageView数组中可以找到 circle_radius_percent属性值的偏移量。

public static int CircledImageView_circle_radius_pressed

此符号是可在 CircledImageView数组中找到 circle_radius_pressed属性值的偏移量。

public static int CircledImageView_circle_radius_pressed_percent

该符号是 CircledImageView数组中可以找到 circle_radius_pressed_percent属性值的偏移量。

public static int CircledImageView_image_circle_percentage

该符号是可在 CircledImageView阵列中找到 image_circle_percentage属性值的偏移量。

public static int CircledImageView_image_horizontal_offcenter_percentage

此符号是可在 CircledImageView数组中找到 image_horizontal_offcenter_percentage属性值的偏移量。

public static int CircledImageView_image_tint

该符号是在 CircledImageView数组中可以找到 image_tint属性值的偏移量。

public static int CircledImageView_shadow_width

此符号是可在 CircledImageView数组中找到 shadow_width属性值的偏移量。

public static int CircledImageView_square_dimen

该符号是 CircledImageView数组中可以找到 square_dimen属性值的偏移量。

public static final int[] CircularButton

可以与CircularButton一起使用的属性。

public static int CircularButton_android_color

这个符号是 CircularButton数组中 color属性值的偏移量。

public static int CircularButton_android_elevation

此符号是 CircularButton数组中可以找到 elevation属性值的偏移量。

public static int CircularButton_android_src

该符号是可在 CircularButton数组中找到 src属性值的偏移量。

public static int CircularButton_android_stateListAnimator

此符号是可在 CircularButton数组中找到 stateListAnimator属性值的偏移量。

public static int CircularButton_buttonRippleColor

此符号是可在 CircularButton阵列中找到 buttonRippleColor属性值的偏移量。

public static int CircularButton_imageScaleMode

此符号是 CircularButton数组中可以找到 imageScaleMode属性值的偏移量。

public static int CircularButton_pressedButtonTranslationZ

此符号是 CircularButton数组中可以找到 pressedButtonTranslationZ属性值的偏移量。

public static final int[] DelayedConfirmationView

可以与DelayedConfirmationView一起使用的属性。

public static int DelayedConfirmationView_update_interval

此符号是 DelayedConfirmationView数组中可以找到 update_interval属性值的偏移量。

public static final int[] DotsPageIndicator

可以用于DotsPageIndicator的属性。

public static int DotsPageIndicator_dotColor

该符号是在 DotsPageIndicator数组中可以找到属性值 dotColor的偏移量。

public static int DotsPageIndicator_dotColorSelected

此符号是可在 DotsPageIndicator阵列中找到 dotColorSelected属性值的偏移量。

public static int DotsPageIndicator_dotFadeInDuration

该符号是可在 DotsPageIndicator数组中找到 dotFadeInDuration属性值的偏移量。

public static int DotsPageIndicator_dotFadeOutDelay

此符号是 DotsPageIndicator数组中可以找到 dotFadeOutDelay属性值的偏移量。

public static int DotsPageIndicator_dotFadeOutDuration

该符号是 DotsPageIndicator数组中可以找到 dotFadeOutDuration属性值的偏移量。

public static int DotsPageIndicator_dotFadeWhenIdle

此符号是可在 DotsPageIndicator数组中找到 dotFadeWhenIdle属性值的偏移量。

public static int DotsPageIndicator_dotRadius

此符号是可在 DotsPageIndicator阵列中找到 dotRadius属性值的偏移量。

public static int DotsPageIndicator_dotRadiusSelected

此符号是可在 DotsPageIndicator阵列中找到 dotRadiusSelected属性值的偏移量。

public static int DotsPageIndicator_dotShadowColor

此符号是 DotsPageIndicator数组中可以找到 dotShadowColor属性值的偏移量。

public static int DotsPageIndicator_dotShadowDx

该符号是 dotShadowDx属性值可以在 DotsPageIndicator数组中找到的偏移量。

public static int DotsPageIndicator_dotShadowDy

此符号是可在 DotsPageIndicator数组中找到 dotShadowDy属性值的偏移量。

public static int DotsPageIndicator_dotShadowRadius

该符号是 dotShadowRadius属性的值可以在 DotsPageIndicator数组中找到的偏移量。

public static int DotsPageIndicator_dotSpacing

此符号是 DotsPageIndicator数组中可以找到 dotSpacing属性值的偏移量。

public static final int[] ProgressSpinner

可以与ProgressSpinner一起使用的属性。

public static int ProgressSpinner_color_sequence

此符号是可在 ProgressSpinner数组中找到 color_sequence属性值的偏移量。

public static final int[] RecyclerView

可以与RecyclerView一起使用的属性。

public static int RecyclerView_android_orientation

该符号是 orientation属性值可以在 RecyclerView数组中找到的偏移量。

public static int RecyclerView_layoutManager

该符号是可在 RecyclerView数组中找到 layoutManager属性值的偏移量。

public static int RecyclerView_reverseLayout

此符号是 RecyclerView数组中可以找到 reverseLayout属性值的偏移量。

public static int RecyclerView_spanCount

该符号是可在 RecyclerView阵列中找到 spanCount属性值的偏移量。

public static int RecyclerView_stackFromEnd

此符号是 stackFromEnd属性值可以在 RecyclerView数组中找到的偏移量。

public static final int[] WatchViewStub

可以与WatchViewStub一起使用的属性。

public static int WatchViewStub_rectLayout

此符号是可在 WatchViewStub数组中找到 rectLayout属性值的偏移量。

public static int WatchViewStub_roundLayout

此符号是 roundLayout属性的值可以在 WatchViewStub数组中找到的偏移量。

public static final int[] WearableFrameLayout

可以与WearableFrameLayout一起使用的属性。

public static int WearableFrameLayout_android_foreground

此符号是 foreground属性值可以在 WearableFrameLayout阵列中找到的偏移量。

public static int WearableFrameLayout_android_foregroundGravity

此符号是 foregroundGravity属性的值可以在 WearableFrameLayout数组中找到的偏移量。

public static int WearableFrameLayout_android_foregroundTint

此符号是可在 WearableFrameLayout阵列中找到 foregroundTint属性值的偏移量。

public static int WearableFrameLayout_android_measureAllChildren

此符号是可在 WearableFrameLayout数组中找到 measureAllChildren属性值的偏移量。

public static int WearableFrameLayout_layout_gravityRound

该符号是 WearableFrameLayout数组中 layout_gravityRound属性的值所在的偏移量。

public static int WearableFrameLayout_layout_heightRound

该符号是 layout_heightRound属性值可以在 WearableFrameLayout数组中找到的偏移量。

public static int WearableFrameLayout_layout_marginBottomRound

此符号是 WearableFrameLayout数组中可以找到 layout_marginBottomRound属性值的偏移量。

public static int WearableFrameLayout_layout_marginLeftRound

该符号是 WearableFrameLayout数组中 layout_marginLeftRound属性的值所在的偏移量。

public static int WearableFrameLayout_layout_marginRightRound

该符号是 WearableFrameLayout数组中可以找到 layout_marginRightRound属性值的偏移量。

public static int WearableFrameLayout_layout_marginRound

该符号是可在 WearableFrameLayout数组中找到 layout_marginRound属性值的偏移量。

public static int WearableFrameLayout_layout_marginTopRound

此符号是 layout_marginTopRound属性值可以在 WearableFrameLayout阵列中找到的偏移量。

public static int WearableFrameLayout_layout_widthRound

该符号是 WearableFrameLayout数组中 layout_widthRound属性的值所在的偏移量。

public static final int[] WearableHeaderTextView

可以与WearableHeaderTextView一起使用的属性。

public static int WearableHeaderTextView_circular_layout_gravity

该符号是 WearableHeaderTextView数组中 circular_layout_gravity属性的值所在的偏移量。

public static int WearableHeaderTextView_circular_text_size

此符号是偏移量,其中 circular_text_size属性的值可以在中找到 WearableHeaderTextView阵列。

Public constructors

R.styleable()

Inherited methods

From class java.lang.Object

Fields

ActionLabel

int[] ActionLabel

ActionLabel_android_fontFamily

int ActionLabel_android_fontFamily

该符号是可在 ActionLabel数组中找到 fontFamily属性值的偏移量。

ActionLabel_android_gravity

int ActionLabel_android_gravity

该符号是可在 ActionLabel数组中找到 gravity属性值的偏移量。

ActionLabel_android_lineSpacingExtra

int ActionLabel_android_lineSpacingExtra

此符号是可在 ActionLabel数组中找到 lineSpacingExtra属性值的偏移量。

ActionLabel_android_lineSpacingMultiplier

int ActionLabel_android_lineSpacingMultiplier

该符号是 ActionLabel数组中可以找到 lineSpacingMultiplier属性值的偏移量。

ActionLabel_android_maxLines

int ActionLabel_android_maxLines

该符号是可在 ActionLabel阵列中找到 maxLines属性值的偏移量。

ActionLabel_android_text

int ActionLabel_android_text

此符号是可在 ActionLabel数组中找到 text属性值的偏移量。

ActionLabel_android_textColor

int ActionLabel_android_textColor

该符号是 ActionLabel数组中 textColor属性的值所在的偏移量。

ActionLabel_android_textStyle

int ActionLabel_android_textStyle

该符号是 textStyle属性值可以在 ActionLabel数组中找到的偏移量。

ActionLabel_android_typeface

int ActionLabel_android_typeface

此符号是 typeface属性的值可以在 ActionLabel阵列中找到的偏移量。

ActionLabel_maxTextSize

int ActionLabel_maxTextSize

该符号是 ActionLabel数组中可以找到 maxTextSize属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

ActionLabel_minTextSize

int ActionLabel_minTextSize

此符号是可在 ActionLabel阵列中找到 minTextSize属性值的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

ActionPage

int[] ActionPage

ActionPage_android_color

int ActionPage_android_color

该符号是 ActionPage数组中可以找到 color属性值的偏移量。

ActionPage_android_elevation

int ActionPage_android_elevation

此符号是可在 ActionPage阵列中找到 elevation属性值的偏移量。

ActionPage_android_fontFamily

int ActionPage_android_fontFamily

此符号是可在 ActionPage阵列中找到 fontFamily属性值的偏移量。

ActionPage_android_gravity

int ActionPage_android_gravity

此符号是 gravity属性值可以在 ActionPage数组中找到的偏移量。

ActionPage_android_lineSpacingExtra

int ActionPage_android_lineSpacingExtra

此符号是 lineSpacingExtra属性的值可以在 ActionPage数组中找到的偏移量。

ActionPage_android_lineSpacingMultiplier

int ActionPage_android_lineSpacingMultiplier

此符号是可在 ActionPage数组中找到 lineSpacingMultiplier属性值的偏移量。

ActionPage_android_maxLines

int ActionPage_android_maxLines

此符号是 ActionPage数组中可以找到 maxLines属性值的偏移量。

ActionPage_android_src

int ActionPage_android_src

该符号是可在 ActionPage数组中找到 src属性值的偏移量。

ActionPage_android_stateListAnimator

int ActionPage_android_stateListAnimator

此符号是可在 ActionPage阵列中找到 stateListAnimator属性值的偏移量。

ActionPage_android_text

int ActionPage_android_text

此符号是 ActionPage数组中可以找到 text属性值的偏移量。

ActionPage_android_textColor

int ActionPage_android_textColor

该符号是 ActionPage数组中可以找到 textColor属性值的偏移量。

ActionPage_android_textStyle

int ActionPage_android_textStyle

这个符号是在 ActionPage数组中可以找到 textStyle属性值的偏移量。

ActionPage_android_typeface

int ActionPage_android_typeface

此符号是可在 ActionPage数组中找到 typeface属性值的偏移量。

ActionPage_buttonRippleColor

int ActionPage_buttonRippleColor

该符号是 ActionPage数组中 buttonRippleColor属性的值所在的偏移量。

可能是另一种资源的引用,其形式为“ @[+][package:]type:name ”,或者其形式为“一个主题属性 ?[package:][type:]name ”。

可以是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

ActionPage_imageScaleMode

int ActionPage_imageScaleMode

该符号是可在 ActionPage阵列中找到 imageScaleMode属性值的偏移量。

必须是下列常数值之一。

Constant Value 描述
fit 0
center 1

ActionPage_maxTextSize

int ActionPage_maxTextSize

该符号是 maxTextSize属性值可以在 ActionPage数组中找到的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

ActionPage_minTextSize

int ActionPage_minTextSize

该符号是可在 ActionPage数组中找到 minTextSize属性值的偏移量。

必须是维度值,这是一个浮点数字,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

ActionPage_pressedButtonTranslationZ

int ActionPage_pressedButtonTranslationZ

该符号是 pressedButtonTranslationZ属性的值可以在 ActionPage数组中找到的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

BoxInsetLayout_Layout

int[] BoxInsetLayout_Layout

可以与BoxInsetLayout_Layout一起使用的属性。

包含以下属性:

Attribute 描述
android.support.wearable:layout_box

BoxInsetLayout_Layout_layout_box

int BoxInsetLayout_Layout_layout_box

此符号是可在 BoxInsetLayout_Layout数组中找到 layout_box属性值的偏移量。

必须是以下常量值中的一个或多个(用'|'分隔)。

Constant Value 描述
left 0x01
top 0x02
right 0x04
bottom 0x08
all 0x0F

CircledImageView

int[] CircledImageView

CircledImageView_android_src

int CircledImageView_android_src

此符号是在 CircledImageView阵列中可以找到 src属性值的偏移量。

CircledImageView_circle_border_color

int CircledImageView_circle_border_color

此符号是可在 CircledImageView阵列中找到 circle_border_color属性值的偏移量。

必须是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_circle_border_width

int CircledImageView_circle_border_width

此符号是 circle_border_width属性的值可以在 CircledImageView阵列中找到的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_circle_color

int CircledImageView_circle_color

该符号是 circle_color属性值可以在 CircledImageView阵列中找到的偏移量。

必须是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_circle_padding

int CircledImageView_circle_padding

此符号是 circle_padding属性值可以在 CircledImageView数组中找到的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_circle_radius

int CircledImageView_circle_radius

此符号是 CircledImageView数组中可以找到 circle_radius属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_circle_radius_percent

int CircledImageView_circle_radius_percent

该符号是可在 CircledImageView阵列中找到 circle_radius_percent属性值的偏移量。

必须是一个小数值,它是一个带有%或%p的浮点数,例如“ 14.5% ”。 %后缀始终表示基本大小的百分比; 可选的%p后缀提供了相对于某个父容器的大小。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_circle_radius_pressed

int CircledImageView_circle_radius_pressed

此符号是在 CircledImageView阵列中可找到 circle_radius_pressed属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_circle_radius_pressed_percent

int CircledImageView_circle_radius_pressed_percent

该符号是 circle_radius_pressed_percent属性的值可以在 CircledImageView数组中找到的偏移量。

必须是一个小数值,这是一个带有%或%p的浮点数,例如“ 14.5% ”。 %后缀始终表示基本大小的百分比; 可选的%p后缀提供了相对于某个父容器的大小。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_image_circle_percentage

int CircledImageView_image_circle_percentage

该符号是可在 CircledImageView数组中找到 image_circle_percentage属性值的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_image_horizontal_offcenter_percentage

int CircledImageView_image_horizontal_offcenter_percentage

该符号是在 CircledImageView数组中可以找到 image_horizontal_offcenter_percentage属性值的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_image_tint

int CircledImageView_image_tint

该符号是 CircledImageView数组中 image_tint属性值可以找到的偏移量。

必须是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_shadow_width

int CircledImageView_shadow_width

该符号是 CircledImageView数组中可以找到 shadow_width属性值的偏移量。

必须是尺寸值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

CircledImageView_square_dimen

int CircledImageView_square_dimen

此符号是可在 CircledImageView阵列中找到 square_dimen属性值的偏移量。

必须是下列常数值之一。

Constant Value 描述
none 0
height 1
width 2

CircularButton

int[] CircularButton

CircularButton_android_color

int CircularButton_android_color

该符号是 CircularButton数组中可以找到 color属性值的偏移量。

CircularButton_android_elevation

int CircularButton_android_elevation

该符号是 elevation属性的值可以在 CircularButton数组中找到的偏移量。

CircularButton_android_src

int CircularButton_android_src

该符号是在 CircularButton数组中可找到 src属性值的偏移量。

CircularButton_android_stateListAnimator

int CircularButton_android_stateListAnimator

该符号是可在 CircularButton数组中找到 stateListAnimator属性值的偏移量。

CircularButton_buttonRippleColor

int CircularButton_buttonRippleColor

该符号是 buttonRippleColor属性的值可以在 CircularButton数组中找到的偏移量。

可能是对“ @[+][package:]type:name ”形式的其他资源的引用,也可能是对“ @[+][package:]type:name ”形式的主题属性的 ?[package:][type:]name

可以是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

CircularButton_imageScaleMode

int CircularButton_imageScaleMode

此符号是可在 CircularButton阵列中找到 imageScaleMode属性值的偏移量。

必须是下列常数值之一。

Constant Value 描述
fit 0
center 1

CircularButton_pressedButtonTranslationZ

int CircularButton_pressedButtonTranslationZ

该符号是可在 CircularButton数组中找到 pressedButtonTranslationZ属性值的偏移量。

必须是一个尺寸值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DelayedConfirmationView

int[] DelayedConfirmationView

可以与DelayedConfirmationView一起使用的属性。

包含以下属性:

Attribute 描述
android.support.wearable:update_interval

DelayedConfirmationView_update_interval

int DelayedConfirmationView_update_interval

该符号是 DelayedConfirmationView数组中可以找到 update_interval属性值的偏移量。

必须是整数值,例如“ 100 ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator

int[] DotsPageIndicator

DotsPageIndicator_dotColor

int DotsPageIndicator_dotColor

此符号是可在 DotsPageIndicator阵列中找到 dotColor属性值的偏移量。

必须是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotColorSelected

int DotsPageIndicator_dotColorSelected

该符号是 DotsPageIndicator数组中可以找到 dotColorSelected属性值的偏移量。

必须是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotFadeInDuration

int DotsPageIndicator_dotFadeInDuration

该符号是可在 DotsPageIndicator数组中找到 dotFadeInDuration属性值的偏移量。

必须是整数值,例如“ 100 ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotFadeOutDelay

int DotsPageIndicator_dotFadeOutDelay

该符号是可在 DotsPageIndicator阵列中找到 dotFadeOutDelay属性值的偏移量。

必须是整数值,例如“ 100 ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotFadeOutDuration

int DotsPageIndicator_dotFadeOutDuration

该符号是 DotsPageIndicator数组中可以找到 dotFadeOutDuration属性值的偏移量。

必须是整数值,例如“ 100 ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotFadeWhenIdle

int DotsPageIndicator_dotFadeWhenIdle

该符号是 DotsPageIndicator数组中可以找到 dotFadeWhenIdle属性值的偏移量。

必须是布尔值,可以是“ true ”或“ false ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotRadius

int DotsPageIndicator_dotRadius

此符号是可在 DotsPageIndicator数组中找到 dotRadius属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotRadiusSelected

int DotsPageIndicator_dotRadiusSelected

此符号是在 DotsPageIndicator数组中可找到 dotRadiusSelected属性值的偏移量。

必须是尺寸值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotShadowColor

int DotsPageIndicator_dotShadowColor

此符号是可在 DotsPageIndicator阵列中找到 dotShadowColor属性值的偏移量。

必须是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotShadowDx

int DotsPageIndicator_dotShadowDx

该符号是 DotsPageIndicator数组中可以找到 dotShadowDx属性值的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotShadowDy

int DotsPageIndicator_dotShadowDy

此符号是可在 DotsPageIndicator阵列中找到 dotShadowDy属性值的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotShadowRadius

int DotsPageIndicator_dotShadowRadius

该符号是在 DotsPageIndicator阵列中可以找到 dotShadowRadius属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

DotsPageIndicator_dotSpacing

int DotsPageIndicator_dotSpacing

此符号是 DotsPageIndicator数组中可以找到 dotSpacing属性值的偏移量。

必须是维度值,这是一个浮点数字,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

ProgressSpinner

int[] ProgressSpinner

可以与ProgressSpinner一起使用的属性。

包含以下属性:

Attribute 描述
android.support.wearable:color_sequence

ProgressSpinner_color_sequence

int ProgressSpinner_color_sequence

该符号是 color_sequence属性的值可以在 ProgressSpinner数组中找到的偏移量。

可能是对“ @[+][package:]type:name ”形式的其他资源的引用,也可能是对“ @[+][package:]type:name ”形式的主题属性的 ?[package:][type:]name

可以是“ #rgb ”,“ #argb ”,“ #rrggbb ”或“ #aarrggbb ”形式的颜色值。

RecyclerView

int[] RecyclerView

RecyclerView_android_orientation

int RecyclerView_android_orientation

该符号是 orientation属性值可以在 RecyclerView数组中找到的偏移量。

RecyclerView_layoutManager

int RecyclerView_layoutManager

该符号是 layoutManager属性值可以在 RecyclerView数组中找到的偏移量。

必须是字符串值,使用'\\;' 转义字符如'\\ n'或'\\ uxxxx'作为unicode字符。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

RecyclerView_reverseLayout

int RecyclerView_reverseLayout

此符号是可在 RecyclerView数组中找到 reverseLayout属性值的偏移量。

必须是布尔值,可以是“ true ”或“ false ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

RecyclerView_spanCount

int RecyclerView_spanCount

该符号是可在 RecyclerView阵列中找到 spanCount属性值的偏移量。

必须是整数值,例如“ 100 ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

RecyclerView_stackFromEnd

int RecyclerView_stackFromEnd

该符号是在 RecyclerView数组中可以找到 stackFromEnd属性值的偏移量。

必须是布尔值,可以是“ true ”或“ false ”。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WatchViewStub

int[] WatchViewStub

可以与WatchViewStub一起使用的属性。

包含以下属性:

Attribute 描述
android.support.wearable:rectLayout
android.support.wearable:roundLayout

WatchViewStub_rectLayout

int WatchViewStub_rectLayout

该符号是可在 WatchViewStub阵列中找到 rectLayout属性值的偏移量。

必须是另一个资源的引用,其形式为“ @[+][package:]type:name ”,或者其形式为“一个主题属性 ?[package:][type:]name ”。

WatchViewStub_roundLayout

int WatchViewStub_roundLayout

该符号是可在 WatchViewStub阵列中找到 roundLayout属性值的偏移量。

必须是另一个资源的引用,其形式为“ @[+][package:]type:name ”,或者其形式为“一个主题属性 ?[package:][type:]name ”。

WearableFrameLayout

int[] WearableFrameLayout

WearableFrameLayout_android_foreground

int WearableFrameLayout_android_foreground

该符号是 WearableFrameLayout数组中 foreground属性的值所在的偏移量。

WearableFrameLayout_android_foregroundGravity

int WearableFrameLayout_android_foregroundGravity

该符号是可在 WearableFrameLayout阵列中找到 foregroundGravity属性值的偏移量。

WearableFrameLayout_android_foregroundTint

int WearableFrameLayout_android_foregroundTint

此符号是可在 WearableFrameLayout数组中找到 foregroundTint属性值的偏移量。

WearableFrameLayout_android_measureAllChildren

int WearableFrameLayout_android_measureAllChildren

该符号是 measureAllChildren属性值可以在 WearableFrameLayout数组中找到的偏移量。

WearableFrameLayout_layout_gravityRound

int WearableFrameLayout_layout_gravityRound

该符号是可在 WearableFrameLayout阵列中找到 layout_gravityRound属性值的偏移量。

必须是以下常量值中的一个或多个(用'|'分隔)。

Constant Value 描述
top 0x30
bottom 0x50
left 0x03
right 0x05
center_vertical 0x10
fill_vertical 0x70
center_horizontal 0x01
fill_horizontal 0x07
center 0x11
fill 0x77
clip_vertical 0x80
clip_horizontal 0x08
start 0x00800003
end 0x00800005

WearableFrameLayout_layout_heightRound

int WearableFrameLayout_layout_heightRound

该符号是在 WearableFrameLayout数组中可以找到 layout_heightRound属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WearableFrameLayout_layout_marginBottomRound

int WearableFrameLayout_layout_marginBottomRound

此符号是可在 WearableFrameLayout阵列中找到 layout_marginBottomRound属性值的偏移量。

必须是维度值,这是一个浮点数字,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WearableFrameLayout_layout_marginLeftRound

int WearableFrameLayout_layout_marginLeftRound

此符号是可在 WearableFrameLayout阵列中找到 layout_marginLeftRound属性值的偏移量。

必须是一个维度值,它是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WearableFrameLayout_layout_marginRightRound

int WearableFrameLayout_layout_marginRightRound

该符号是在 WearableFrameLayout数组中可以找到 layout_marginRightRound属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WearableFrameLayout_layout_marginRound

int WearableFrameLayout_layout_marginRound

此符号是 layout_marginRound属性值可以在 WearableFrameLayout阵列中找到的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WearableFrameLayout_layout_marginTopRound

int WearableFrameLayout_layout_marginTopRound

这个符号是在 WearableFrameLayout数组中可以找到 layout_marginTopRound属性值的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WearableFrameLayout_layout_widthRound

int WearableFrameLayout_layout_widthRound

此符号是可在 WearableFrameLayout阵列中找到 layout_widthRound属性值的偏移量。

必须是一个维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

WearableHeaderTextView

int[] WearableHeaderTextView

可以与WearableHeaderTextView一起使用的属性。

包含以下属性:

Attribute 描述
android.support.wearable:circular_layout_gravity
android.support.wearable:circular_text_size

WearableHeaderTextView_circular_layout_gravity

int WearableHeaderTextView_circular_layout_gravity

该符号是可在 WearableHeaderTextView数组中找到 circular_layout_gravity属性值的偏移量。

必须是以下常量值中的一个或多个(用'|'分隔)。

Constant Value 描述
left 0x03
top 0x30
right 0x05
bottom 0x50
center_vertical 0x10
center_horizontal 0x01
center 0x11

WearableHeaderTextView_circular_text_size

int WearableHeaderTextView_circular_text_size

该符号是可在 WearableHeaderTextView阵列中找到 circular_text_size属性值的偏移量。

必须是维度值,这是一个浮点数,后面跟着一个单位,例如“ 14.5sp ”。 可用单位为:px(像素),dp(密度独立像素),sp(基于首选字体大小的缩放像素),单位为英寸,毫米(毫米)。

这也可能是对包含此类型值的资源(形式为“ @[package:]type:name ”)或主题属性(形式为“ ?[package:][type:]name ”)的 ?[package:][type:]name

Public constructors

R.styleable

R.styleable ()