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

passiondroid

05/10/2020, 5:59 PM
How to set the background color of Container ? Need help
a

Anastasia [G]

05/10/2020, 8:07 PM
First of all, Container has been finally removed in dev11, so please use Box instead. Box has a
backgroundColor
parameter. In general, you can use the
Modifier.drawBackground()
modifier to set a background of the element.
2 Views