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

Gabriel

02/27/2021, 3:49 PM
If I have a Row, with background colour and rounded corners, when I have achild in that row with a different background colour how can I make it fit the rounded corners of the parent without also needing to tell it about rounded corners?
t

TheMrCodes

02/27/2021, 3:54 PM
Modifier.clip(<shape>)
g

Gabriel

02/27/2021, 3:55 PM
Amazing, thank you!
3 Views