Android components Actions
StanceButtonGroup
BetaConnected segments for choosing one of a few options.
- PlatformAndroid, Jetpack Compose
- Builds on
SingleChoiceSegmentedButtonRow - Kindcomposable
Preview
Rendered by the Jetpack Compose library, not drawn by hand.






Usage
var selected by remember { mutableIntStateOf(0) }
StanceButtonGroup(listOf("Day", "Week", "Month"), selected, onSelect = { selected = it })Accessibility
- Announced as a radio group with the selected segment.