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

Tristan

01/11/2020, 10:01 PM
What's the right way to set a background color to a row? Currently I do:
Copy code
Surface(color = Color.Magenta) {
  Row(modifier = Spacing(16.dp)) {
    // ...
  }
}
👍 1
m

Manuel Wrage

01/11/2020, 11:21 PM
Afaik this is the current best way to achieve your goal
👍 1
2 Views