Using jetpack compose I want a Row{ Column{Text("Title") Text("subtitle")} Switch()}…
- User
Using jetpack compose I want a Row{ Column{Text("Title") Text("subtitle")} Switch()} that are well aligned with a margin around 24dp
- Assistant
To achieve a
Rowwith aColumnand aSwitch, aligned and with a margin around 24dp using Jetpack Compose, you can use theModifierto set padding and alignment properties. Here is an example of how you can accomplish this: