Object

RemoteButtonGroupDefaults

Contains the default values used by RemoteButtonGroup

Source set: Android
public object RemoteButtonGroupDefaults

Contains the default values used by RemoteButtonGroup

Properties

Spacing

Source set: Android
public val Spacing: RemoteDp = 4.rdp

Spacing between buttons.

ExpansionWidth

Source set: Android
public val ExpansionWidth: RemoteDp = 24.rdp

Default additional width (delta) added to a pressed button's resting width in RemoteButtonGroup, rather than an absolute target width, while neighboring button(s) shrink by the same total amount.

MinWidth

Source set: Android
public val MinWidth: RemoteDp = minimumInteractiveComponentSize

Default for the minimum width of buttons in a RemoteButtonGroup.

Functions

fullWidthPaddings

Source set: Android
public fun fullWidthPaddings(): RemotePaddingValues

Return the recommended padding to use as the contentPadding of a RemoteButtonGroup, when it takes the full width of the screen.

Return

the recommended RemotePaddingValues for a full-width RemoteButtonGroup

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: