https://kotlinlang.org logo
#compose
Title
# compose
c

Colton Idle

03/09/2021, 7:10 PM
Does material compose provide toggle buttons I can use? I'm building a text editor and being able to do center, left, right with something like this component in material guidelines makes a lot of sense. https://material.io/components/buttons#toggle-button I looked here and didn't see them mentioned: https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#icontogglebutton
r

Rick Regan

03/10/2021, 12:54 AM
I don't know if this helps but here's how they suggest selecting one radio button at a time from a group of them: https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#radiobutton