Object

RemoteSplitCheckboxButtonDefaults

Contains the default values used by RemoteSplitCheckboxButton.

Source set: Android
public object RemoteSplitCheckboxButtonDefaults

Contains the default values used by RemoteSplitCheckboxButton.

Properties

shape

Source set: Android
public val shape: RemoteRoundedCornerShape = RemoteRoundedCornerShape(26.rdp)

Recommended RemoteRoundedCornerShape for the outer container of RemoteSplitCheckboxButton.

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

ContentPadding

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

The default content padding used by RemoteSplitCheckboxButton.

Functions

splitCheckboxButtonColors

Source set: Android
@Composable
    public fun splitCheckboxButtonColors(): RemoteSplitCheckboxButtonColors

Creates a RemoteSplitCheckboxButtonColors that represents the default container and content colors used in a RemoteSplitCheckboxButton.

Return

a RemoteSplitCheckboxButtonColors with the default colors for RemoteSplitCheckboxButton

splitCheckboxButtonColors

Source set: Android
@Composable
    public fun splitCheckboxButtonColors(
        checkedContainerColor: RemoteColor? = null,
        checkedContentColor: RemoteColor? = null,
        checkedSecondaryContentColor: RemoteColor? = null,
        checkedSplitContainerColor: RemoteColor? = null,
        checkedBoxColor: RemoteColor? = null,
        checkedCheckmarkColor: RemoteColor? = null,
        uncheckedContainerColor: RemoteColor? = null,
        uncheckedContentColor: RemoteColor? = null,
        uncheckedSecondaryContentColor: RemoteColor? = null,
        uncheckedSplitContainerColor: RemoteColor? = null,
        uncheckedBoxColor: RemoteColor? = null,
        disabledCheckedContainerColor: RemoteColor? = null,
        disabledCheckedContentColor: RemoteColor? = null,
        disabledCheckedSecondaryContentColor: RemoteColor? = null,
        disabledCheckedSplitContainerColor: RemoteColor? = null,
        disabledCheckedBoxColor: RemoteColor? = null,
        disabledCheckedCheckmarkColor: RemoteColor? = null,
        disabledUncheckedContainerColor: RemoteColor? = null,
        disabledUncheckedContentColor: RemoteColor? = null,
        disabledUncheckedSecondaryContentColor: RemoteColor? = null,
        disabledUncheckedSplitContainerColor: RemoteColor? = null,
        disabledUncheckedBoxColor: RemoteColor? = null,
    ): RemoteSplitCheckboxButtonColors

Creates a RemoteSplitCheckboxButtonColors that represents the default container and content colors used in a RemoteSplitCheckboxButton.

Parameters

checkedContainerColor The container color of the RemoteSplitCheckboxButton when enabled and checked, or null to use the theme default.
checkedContentColor The content color of the RemoteSplitCheckboxButton when enabled and checked, or null to use the theme default.
checkedSecondaryContentColor The secondary content color of the RemoteSplitCheckboxButton when enabled and checked, used for secondaryLabel content, or null to use the theme default.
checkedSplitContainerColor The split container color of the RemoteSplitCheckboxButton when enabled and checked, or null to use the theme default.
checkedBoxColor The box color of the RemoteSplitCheckboxButton when enabled and checked, or null to use the theme default.
checkedCheckmarkColor The checkmark color of the RemoteSplitCheckboxButton when enabled and checked, or null to use the theme default.
uncheckedContainerColor The container color of the RemoteSplitCheckboxButton when enabled and unchecked, or null to use the theme default.
uncheckedContentColor The content color of the RemoteSplitCheckboxButton when enabled and unchecked, or null to use the theme default.
uncheckedSecondaryContentColor The secondary content color of the RemoteSplitCheckboxButton when enabled and unchecked, used for secondaryLabel content, or null to use the theme default.
uncheckedSplitContainerColor The split container color of the RemoteSplitCheckboxButton when enabled and unchecked, or null to use the theme default.
uncheckedBoxColor The box color of the RemoteSplitCheckboxButton when enabled and unchecked, or null to use the theme default.
disabledCheckedContainerColor The container color of the RemoteSplitCheckboxButton when disabled and checked, or null to use the theme default.
disabledCheckedContentColor The content color of the RemoteSplitCheckboxButton when disabled and checked, or null to use the theme default.
disabledCheckedSecondaryContentColor The secondary content color of the RemoteSplitCheckboxButton when disabled and checked, used for secondaryLabel content, or null to use the theme default.
disabledCheckedSplitContainerColor The split container color of the RemoteSplitCheckboxButton when disabled and checked, or null to use the theme default.
disabledCheckedBoxColor The box color of the RemoteSplitCheckboxButton when disabled and checked, or null to use the theme default.
disabledCheckedCheckmarkColor The checkmark color of the RemoteSplitCheckboxButton when disabled and checked, or null to use the theme default.
disabledUncheckedContainerColor The container color of the RemoteSplitCheckboxButton when disabled and unchecked, or null to use the theme default.
disabledUncheckedContentColor The content color of the RemoteSplitCheckboxButton when disabled and unchecked, or null to use the theme default.
disabledUncheckedSecondaryContentColor The secondary content color of the RemoteSplitCheckboxButton when disabled and unchecked, used for secondaryLabel content, or null to use the theme default.
disabledUncheckedSplitContainerColor The split container color of the RemoteSplitCheckboxButton when disabled and unchecked, or null to use the theme default.
disabledUncheckedBoxColor The box color of the RemoteSplitCheckboxButton when disabled and unchecked, or null to use the theme default.

Return

a RemoteSplitCheckboxButtonColors with the configured colors for RemoteSplitCheckboxButton

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: