Android components Forms
StanceTimePicker
BetaA time field that opens the Material time picker, in 12 or 24 hour format.
- PlatformAndroid, Jetpack Compose
- Builds on
TimePicker - Kindcomposable
Preview
Rendered by the Jetpack Compose library, not drawn by hand.






Usage
var time by remember { mutableStateOf<Pair<Int, Int>?>(9 to 30) }
StanceTimePicker("Reminder", time?.first, time?.second, onTimeSelected = { h, m -> time = h to m })Accessibility
- Uses the platform picker semantics.