<div class='sourceset sourceset-android'>Android</div>

```kotlin
public object RemoteButtonDefaults
```

Contains the default values used by [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton)

## Functions

<h2 id="buttoncolors">buttonColors</h2>

```kotlin
@Composable
public fun buttonColors(): RemoteButtonColors
```

Creates a [RemoteButtonColors](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteButtonColors) that represents the default background and content colors used
in a [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton).

<hr class="docs-overload-divider">

<h2 id="buttoncolors-containercolor-contentcolor-secondarycontentcolor-iconcolor-disabledcontainercolor-disabledcontentcolor-disabledsecondarycontentcolor-disablediconcolor">buttonColors</h2>

```kotlin
@Composable
public fun buttonColors(
    containerColor: RemoteColor? = null,
    contentColor: RemoteColor? = null,
    secondaryContentColor: RemoteColor? = null,
    iconColor: RemoteColor? = null,
    disabledContainerColor: RemoteColor? = null,
    disabledContentColor: RemoteColor? = null,
    disabledSecondaryContentColor: RemoteColor? = null,
    disabledIconColor: RemoteColor? = null,
): RemoteButtonColors
```

Creates a [RemoteButtonColors](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteButtonColors) that represents the default background and content colors used
in a [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton).

#### Parameters

| | |
| --- | --- |
| containerColor | The background color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when enabled |
| contentColor | The content color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when enabled |
| secondaryContentColor | The content color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when enabled |
| iconColor | The content color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when enabled |
| disabledContainerColor | The background color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when not enabled |
| disabledContentColor | The content color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when not enabled |
| disabledSecondaryContentColor | The content color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when not enabled |
| disabledIconColor | The content color of this [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) when not enabled |

<hr class="docs-overload-divider">

<h2 id="buttonwithcontainerpaintercolors">buttonWithContainerPainterColors</h2>

```kotlin
@Composable
public fun buttonWithContainerPainterColors(): RemoteButtonColors
```

Creates a [RemoteButtonColors](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteButtonColors) for the content in a [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) with an image container
painter.

<hr class="docs-overload-divider">

<h2 id="containerpainter-image-scrim-alpha">containerPainter</h2>

```kotlin
@Composable
public fun containerPainter(
    image: RemotePainter,
    scrim: RemoteBrush? = image.intrinsicSize?.let { scrimBrush(it) },
    alpha: RemoteFloat = DefaultAlpha.rf,
): RemotePainter
```

Creates a [RemotePainter](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemotePainter) for the background of a [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) with container painter, that
displays an image with a scrim on top to make sure that any content above the background will
be legible.

An Image background is a means to reinforce the meaning of information in a Button. Buttons
should have a content color that contrasts with the background image and scrim.

#### Parameters

| | |
| --- | --- |
| image | The [RemotePainter](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemotePainter) to use to draw the container background of the [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton). |
| scrim | The [RemoteBrush](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteBrush) to use to paint a scrim over the container image to ensure that any text drawn over the image is legible. |
| alpha | Opacity of the container image painter and scrim. |

<hr class="docs-overload-divider">

<h2 id="disabledcontainerpainter-containerpainter">disabledContainerPainter</h2>

```kotlin
@Composable
public fun disabledContainerPainter(containerPainter: RemotePainter): RemotePainter
```

Creates a [RemotePainter](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemotePainter) for the disabled background of a [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton) with container
painter - draws the containerPainter with an alpha applied to achieve a disabled effect.

An Image background is a means to reinforce the meaning of information in a Button. Buttons
should have a content color that contrasts with the background image and scrim.

#### Parameters

| | |
| --- | --- |
| containerPainter | The [RemotePainter](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemotePainter) to use to draw the container background of the [RemoteButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteButton). |

<hr class="docs-overload-divider">

<h2 id="scrimbrush-size">scrimBrush</h2>

```kotlin
@Composable
public fun scrimBrush(size: RemoteSize): RemoteBrush
```

Creates a [RemoteBrush](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteBrush) for the recommended scrim drawn on top of image container
backgrounds.