TimePickerColors

Class

Android
public class TimePickerColors(
    public val selectedPickerContentColor: Color,
    public val unselectedPickerContentColor: Color,
    public val separatorColor: Color,
    public val pickerLabelColor: Color,
    public val confirmButtonContentColor: Color,
    public val confirmButtonContainerColor: Color,
)

Represents the colors used by a TimePicker.

Parameters

selectedPickerContentColorThe content color of selected picker.
unselectedPickerContentColorThe content color of unselected pickers.
separatorColorThe color of separator between the pickers.
pickerLabelColorThe color of the picker label.
confirmButtonContentColorThe content color of the confirm button.
confirmButtonContainerColorThe container color of the confirm button.

Functions

public fun copy(
        selectedPickerContentColor: Color = this.selectedPickerContentColor,
        unselectedPickerContentColor: Color = this.unselectedPickerContentColor,
        separatorColor: Color = this.separatorColor,
        pickerLabelColor: Color = this.pickerLabelColor,
        confirmButtonContentColor: Color = this.confirmButtonContentColor,
        confirmButtonContainerColor: Color = this.confirmButtonContainerColor,
    ): TimePickerColors

Returns a copy of this TimePickerColors( optionally overriding some of the values.

Parameters

selectedPickerContentColorThe content color of selected picker.
unselectedPickerContentColorThe content color of unselected pickers.
separatorColorThe color of separator between the pickers.
pickerLabelColorThe color of the picker label.
confirmButtonContentColorThe content color of the confirm button.
confirmButtonContainerColorThe container color of the confirm button.