# R.attr

Artifact: [androidx.wear:wear](https://developer.android.com/jetpack/androidx/releases/wear)

*** ** * ** ***


```
class R.attr
```

<br />

*** ** * ** ***

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#attr()()` |

| ### Public properties |
|---|---|
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#actionMenu()` WearableActionDrawerView Provides a Menu to the action drawer. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#backgroundColor()` CircularProgressLayout Sets the color of the background circle. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#bezelWidth()` 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 https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#boxedEdges()` BoxInsetLayout Deprecated. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#circularScrollingGestureEnabled()` Enables/disables circular touch scrolling for this view. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#colorSchemeColors()` Sets the color scheme used by the progress indicator. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#drawerContent()` Sets which view should be used as the drawer's content. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#drawerTitle()` Adds a title to the drawer content. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#enableAutoPeek()` Sets whether or not the drawer will automatically peek and un-peek. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#indeterminate()` Sets if the progress should be shown as an indeterminate spinner. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#navigationStyle()` WearableNavigationDrawerView Sets the navigation style. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#peekView()` WearableDrawerView Sets which view should be shown in the drawer's peek state. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#scrollDegreesPerScreen()` 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 https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#showOverflowInPeek()` Shows the overflow icon in the peek view rather than the first action's icon. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/R.attr#strokeWidth()` Sets the stroke width of the progress indicator. |

## Public constructors

### attr

```
attr()
```

## Public properties

### actionMenu

```
java-static val actionMenu: Int
```

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 backgroundColor: Int
```

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 bezelWidth: 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. 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 boxedEdges: Int
```

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 circularScrollingGestureEnabled: Int
```

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 colorSchemeColors: Int
```

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 drawerContent: Int
```

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 drawerTitle: Int
```

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 enableAutoPeek: Int
```

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 indeterminate: Int
```

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

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

### navigationStyle

```
java-static val navigationStyle: Int
```

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 peekView: Int
```

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 scrollDegreesPerScreen: 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. The default value equates 180 degrees scroll to one screen.

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

### showOverflowInPeek

```
java-static val showOverflowInPeek: Int
```

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 strokeWidth: Int
```

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