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

Sebastian Neagrau

10/13/2020, 9:08 PM
Is it possible to add a Gradient Background to a Button? I tried adding a gradient to a Column and set the Column as the content of the button and set the button’s background color to Transparent, and I can see the gradient but for some reason I still have some paddings (even though they are set to 0).
n

Nader Jawad

10/13/2020, 11:36 PM
You can use Modifier.background on the Button's modifier chain
4 Views