Android components Advanced
StanceButtonView
BetaA Stance button usable from XML layouts and View code.
- PlatformAndroid, Jetpack Compose
- Builds on
AbstractComposeView - Kindhelper
Preview
Rendered by the Jetpack Compose library, not drawn by hand.






Usage
// In a View-based screen, use StanceButtonView in XML or code.
AndroidView(factory = { context -> StanceButtonView(context).apply { text = "Save template" } })Accessibility
- Keeps the same semantics as StanceButton.