Default colors used by a TimePicker in different states
fun colors(clockDialColor: Color = Color.Unspecified, clockDialSelectedContentColor: Color = Color.Unspecified, clockDialUnselectedContentColor: Color = Color.Unspecified, selectorColor: Color = Color.Unspecified, containerColor: Color = Color.Unspecified, periodSelectorBorderColor: Color = Color.Unspecified, periodSelectorSelectedContainerColor: Color = Color.Unspecified, periodSelectorUnselectedContainerColor: Color = Color.Unspecified, periodSelectorSelectedContentColor: Color = Color.Unspecified, periodSelectorUnselectedContentColor: Color = Color.Unspecified, timeSelectorSelectedContainerColor: Color = Color.Unspecified, timeSelectorUnselectedContainerColor: Color = Color.Unspecified, timeSelectorSelectedContentColor: Color = Color.Unspecified, timeSelectorUnselectedContentColor: Color = Color.Unspecified): TimePickerColors Default colors used by a TimePicker in different states
Parameters
The color of the clock dial.
clockDialSelectedContentColor
the color of the numbers of the clock dial when they are selected or overlapping with the selector
clockDialUnselectedContentColor
the color of the numbers of the clock dial when they are unselected
The color of the clock dial selector.
The container color of the time picker.
periodSelectorBorderColor
the color used for the border of the AM/PM toggle.
periodSelectorSelectedContainerColor
the color used for the selected container of the AM/PM toggle
periodSelectorUnselectedContainerColor
the color used for the unselected container of the AM/PM toggle
periodSelectorSelectedContentColor
color used for the selected content of the AM/PM toggle
periodSelectorUnselectedContentColor
color used for the unselected content of the AM/PM toggle
timeSelectorSelectedContainerColor
color used for the selected container of the display buttons to switch between hour and minutes
timeSelectorUnselectedContainerColor
color used for the unselected container of the display buttons to switch between hour and minutes
timeSelectorSelectedContentColor
color used for the selected content of the display buttons to switch between hour and minutes
timeSelectorUnselectedContentColor
color used for the unselected content of the display buttons to switch between hour and minutes