adauguet
05/06/2021, 9:31 AMSurface(elevation = 5.dp, shape = CircleShape, modifier = Modifier.size(200.dp)) {}
But I do not see any shadow with this code:
Surface(elevation = 5.dp, shape = CircleShape, modifier = Modifier.size(200.dp)) {
GlideImage(
data = contact.avatarURL ?: "",
contentDescription = "",
)
}
What am I missing?cb
05/06/2021, 2:36 PMSurface
for the shadow to be visible.adauguet
05/06/2021, 2:46 PMCircleShape
clip? I should see it at least in corners, no? Also I do see the shadow when the Surface
does not contain anything...