R.attr


class R.attr


Summary

Public constructors

Public properties

java-static Int

WearableActionDrawerView Provides a Menu to the action drawer.

java-static Int

CircularProgressLayout Sets the color of the background circle.

java-static Int

WearableRecyclerView Taps within this radius and the radius of the screen are considered close enough to the bezel to be candidates for circular scrolling.

java-static Int

BoxInsetLayout Deprecated.

java-static Int

Enables/disables circular touch scrolling for this view.

java-static Int

Sets the color scheme used by the progress indicator.

java-static Int

Sets which view should be used as the drawer's content.

java-static Int

Adds a title to the drawer content.

java-static Int

Sets whether or not the drawer will automatically peek and un-peek.

java-static Int

Sets if the progress should be shown as an indeterminate spinner.

java-static Int

WearableNavigationDrawerView Sets the navigation style.

java-static Int

WearableDrawerView Sets which view should be shown in the drawer's peek state.

java-static Int

Sets how many degrees the user has to rotate by to scroll through one screen height when they are using the circular scrolling gesture.

java-static Int

Shows the overflow icon in the peek view rather than the first action's icon.

java-static Int

Sets the stroke width of the progress indicator.

Public constructors

attr

attr()

Public properties

actionMenu

java-static val actionMenuInt

WearableActionDrawerView Provides a Menu to the action drawer.

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

backgroundColor

java-static val backgroundColorInt

CircularProgressLayout Sets the color of the background circle.

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

bezelWidth

java-static val bezelWidthInt

WearableRecyclerView Taps within this radius and the radius of the screen are considered close enough to the bezel to be candidates for circular scrolling. Expressed as a fraction of the screen's radius. The default is the whole screen i.e 1.0f

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

boxedEdges

java-static val boxedEdgesInt

BoxInsetLayout Deprecated. Use layout_boxedEdges instead.

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

Constant Value Description
all f The view will force an inset on all of the edges of the children.
bottom 8 The view will force an inset on the bottom edge of the children.
left 1 The view will force an inset on the left edge of the children.
none 0 Default boxing setting. There are no insets forced on the child views.
right 4 The view will force an inset on the right edge of the children.
top 2 The view will force an inset on the top edge of the children.

circularScrollingGestureEnabled

java-static val circularScrollingGestureEnabledInt

Enables/disables circular touch scrolling for this view. When enabled, circular touch gestures around the edge of the screen will cause the view to scroll up or down.

May be a boolean value, such as "true" or "false".

colorSchemeColors

java-static val colorSchemeColorsInt

Sets the color scheme used by the progress indicator. This may be an array of colors or a single color. If an array of colors is used, first color will be used for determinate progress indicator, while the rest will be shown in order during indeterminate spinner.

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

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

drawerContent

java-static val drawerContentInt

Sets which view should be used as the drawer's content.

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

drawerTitle

java-static val drawerTitleInt

Adds a title to the drawer content.

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

enableAutoPeek

java-static val enableAutoPeekInt

Sets whether or not the drawer will automatically peek and un-peek.

May be a boolean value, such as "true" or "false".

indeterminate

java-static val indeterminateInt

Sets if the progress should be shown as an indeterminate spinner.

May be a boolean value, such as "true" or "false".

java-static val navigationStyleInt

WearableNavigationDrawerView Sets the navigation style. Defaults to singlePage.

Must be one of the following constant values.

Constant Value Description
multiPage 1 Multi-page navigation drawer style. Each item is on its own page. Useful when more than 7 items exist.
singlePage 0 Single page navigation drawer style. This is the default drawer style. It is ideal for 1-5 items, but works with up to 7 items. If more than 7 items exist, then the drawer will be displayed as empty.

peekView

java-static val peekViewInt

WearableDrawerView Sets which view should be shown in the drawer's peek state.

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

scrollDegreesPerScreen

java-static val scrollDegreesPerScreenInt

Sets how many degrees the user has to rotate by to scroll through one screen height when they are using the circular scrolling gesture. The default value equates 180 degrees scroll to one screen.

May be a floating point value, such as "1.2".

showOverflowInPeek

java-static val showOverflowInPeekInt

Shows the overflow icon in the peek view rather than the first action's icon. Also, taps on the peek view will open the drawer rather than executing the first action.

May be a boolean value, such as "true" or "false".

strokeWidth

java-static val strokeWidthInt

Sets the stroke width of the progress indicator.

May 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), and mm (millimeters).