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

Zhelyazko Atanasov

02/28/2021, 6:37 PM
Is there something particular about
Image
and
Modifier.shadow
? I'm applying a shadow to an image, but no shadow is drawn.
d

Daniel

02/28/2021, 7:36 PM
You may need to set a background and/or shape to have the shadow drawn
My understanding is that the shadow has to be based off of something, and Android won't compute the shadow of something as complex as an image