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

alorma

03/05/2021, 4:54 PM
How can i make a
IconButton
with elevation shadow?
j

Javier

03/05/2021, 5:09 PM
That can be a floating?
a

alorma

03/05/2021, 5:11 PM
Yes, I moved to floating, just wondering how to elevate buttons
l

Louis Pullen-Freilich [G]

03/05/2021, 5:13 PM
Easiest way is to use a
Surface
as the background and set a value for elevation, or you can use
Modifier.shadow()
/
Modifier.graphicsLayer()
directly
200 Views