zoha131
10/19/2020, 3:45 PMSurface(
elevation = 16.dp
) {
Text(text = "Hello World", modifier = Modifier.padding(16.dp))
}
But if I add Modifier.drawLayer(shadowElevation = 16f
then I get shadow. Now my qs is. shouldn’t elevation give us the shadow/elevation?Andrey Kulikov
10/19/2020, 6:14 PMzoha131
10/19/2020, 6:26 PM