Class

TimePickerType

Specifies the types of columns to display in the TimePicker.

Source set: Android
public class TimePickerType internal constructor(internal val value: Int)

Specifies the types of columns to display in the TimePicker.

Functions

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Properties

HoursMinutes24H

Source set: Android
public val HoursMinutes24H: TimePickerType = TimePickerType(0)

Displays two columns for hours (24-hour format) and minutes.

HoursMinutesSeconds24H

Source set: Android
public val HoursMinutesSeconds24H: TimePickerType = TimePickerType(1)

Displays three columns for hours (24-hour format), minutes and seconds.

HoursMinutesAmPm12H

Source set: Android
public val HoursMinutesAmPm12H: TimePickerType = TimePickerType(2)

Displays three columns for hours (12-hour format), minutes and AM/PM label.

MinutesSeconds

Source set: Android
public val MinutesSeconds: TimePickerType = TimePickerType(3)

Displays two columns for minutes and seconds

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: