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 = RemoteRoundedCornerShape(26.rdp)

Recommended RemoteRoundedCornerShape for the outer container of RemoteSplitRadioButton.

splitSectionsShape

Source set: Android
public val splitSectionsShape: RemoteRoundedCornerShape = RemoteRoundedCornerShape(4.rdp)

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.

Return

a RemoteSplitRadioButtonColors with the default colors for 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, or null to use the theme default.
selectedContentColor The content color of the RemoteSplitRadioButton when enabled and selected, or null to use the theme default.
selectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when enabled and selected, used for secondaryLabel content, or null to use the theme default.
selectedSplitContainerColor The split container color of the RemoteSplitRadioButton when enabled and selected, or null to use the theme default.
selectedControlColor The color of the radio control when selected, or null to use the theme default.
unselectedContainerColor The container color of the RemoteSplitRadioButton when enabled and not selected, or null to use the theme default.
unselectedContentColor The content color of the RemoteSplitRadioButton when enabled and not selected, or null to use the theme default.
unselectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when enabled and not selected, used for secondaryLabel content, or null to use the theme default.
unselectedSplitContainerColor The split container color of the RemoteSplitRadioButton when enabled and not selected, or null to use the theme default.
unselectedControlColor The color of the radio control when unselected, or null to use the theme default.
disabledSelectedContainerColor The container color of the RemoteSplitRadioButton when disabled and selected, or null to use the theme default.
disabledSelectedContentColor The content color of the RemoteSplitRadioButton when disabled and selected, or null to use the theme default.
disabledSelectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when disabled and selected, used for secondaryLabel content, or null to use the theme default.
disabledSelectedSplitContainerColor The split container color of the RemoteSplitRadioButton when disabled and selected, or null to use the theme default.
disabledSelectedControlColor The radio control color when disabled and selected, or null to use the theme default.
disabledUnselectedContainerColor The container color of the RemoteSplitRadioButton when disabled and not selected, or null to use the theme default.
disabledUnselectedContentColor The content color of the RemoteSplitRadioButton when disabled and not selected, or null to use the theme default.
disabledUnselectedSecondaryContentColor The secondary content color of the RemoteSplitRadioButton when disabled and not selected, used for secondaryLabel content, or null to use the theme default.
disabledUnselectedSplitContainerColor The split container color of the RemoteSplitRadioButton when disabled and not selected, or null to use the theme default.
disabledUnselectedControlColor The radio control color when disabled and unselected, or null to use the theme default.

Return

a RemoteSplitRadioButtonColors with the configured colors for RemoteSplitRadioButton

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: