Object

RemoteSplitRadioButtonDefaults

Contains the default values used by RemoteSplitRadioButton.

Source set: Android
public object RemoteSplitRadioButtonDefaults

Contains the default values used by RemoteSplitRadioButton.

Properties

shape

Source set: Android
public val shape: RemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the outer container of RemoteSplitRadioButton.

splitSectionsShape

Source set: Android
public val splitSectionsShape: RemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the split sections.

Height

Source set: Android
public val Height: RemoteDp = 52.rdp

The default minimum height applied for the RemoteSplitRadioButton.

ContentPadding

Source set: Android
public val ContentPadding: RemotePaddingValues =
        RemotePaddingValues(horizontal = 14.rdp, vertical = 8.rdp)

The default content padding used by RemoteSplitRadioButton.

Functions

splitRadioButtonColors

Source set: Android
@Composable
    public fun splitRadioButtonColors(): RemoteSplitRadioButtonColors

Creates a RemoteSplitRadioButtonColors that represents the default container and content colors used in a RemoteSplitRadioButton.

splitRadioButtonColors

Source set: Android
@Composable
    public fun splitRadioButtonColors(
        selectedContainerColor: RemoteColor? = null,
        selectedContentColor: RemoteColor? = null,
        selectedSecondaryContentColor: RemoteColor? = null,
        selectedSplitContainerColor: RemoteColor? = null,
        selectedControlColor: RemoteColor? = null,
        unselectedContainerColor: RemoteColor? = null,
        unselectedContentColor: RemoteColor? = null,
        unselectedSecondaryContentColor: RemoteColor? = null,
        unselectedSplitContainerColor: RemoteColor? = null,
        unselectedControlColor: RemoteColor? = null,
        disabledSelectedContainerColor: RemoteColor? = null,
        disabledSelectedContentColor: RemoteColor? = null,
        disabledSelectedSecondaryContentColor: RemoteColor? = null,
        disabledSelectedSplitContainerColor: RemoteColor? = null,
        disabledSelectedControlColor: RemoteColor? = null,
        disabledUnselectedContainerColor: RemoteColor? = null,
        disabledUnselectedContentColor: RemoteColor? = null,
        disabledUnselectedSecondaryContentColor: RemoteColor? = null,
        disabledUnselectedSplitContainerColor: RemoteColor? = null,
        disabledUnselectedControlColor: RemoteColor? = null,
    ): RemoteSplitRadioButtonColors

Creates a RemoteSplitRadioButtonColors that represents the default container and content colors used in a RemoteSplitRadioButton.

Parameters

selectedContainerColor The container color of the RemoteSplitRadioButton when enabled and selected.
selectedContentColor The content color of the RemoteSplitRadioButton when enabled and selected.
selectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when enabled and selected, used for secondaryLabel content.
selectedSplitContainerColor The split container color of the RemoteSplitRadioButton when enabled and selected.
selectedControlColor The color of the radio control when selected.
unselectedContainerColor The container color of the RemoteSplitRadioButton when enabled and not selected.
unselectedContentColor The content color of the RemoteSplitRadioButton when enabled and not selected.
unselectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when enabled and not selected, used for secondaryLabel content.
unselectedSplitContainerColor The split container color of the RemoteSplitRadioButton when enabled and not selected.
unselectedControlColor The color of the radio control when unselected.
disabledSelectedContainerColor The container color of the RemoteSplitRadioButton when disabled and selected.
disabledSelectedContentColor The content color of the RemoteSplitRadioButton when disabled and selected.
disabledSelectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when disabled and selected, used for secondaryLabel content.
disabledSelectedSplitContainerColor The split container color of the RemoteSplitRadioButton when disabled and selected.
disabledSelectedControlColor The radio control color when disabled and selected.
disabledUnselectedContainerColor The container color of the RemoteSplitRadioButton when disabled and not selected.
disabledUnselectedContentColor The content color of the RemoteSplitRadioButton when disabled and not selected.
disabledUnselectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when disabled and not selected, used for secondaryLabel content.
disabledUnselectedSplitContainerColor The split container color of the RemoteSplitRadioButton when disabled and not selected.
disabledUnselectedControlColor The radio control color when disabled and unselected.

Content updated: