Android Jetpack Compose using same elevation value

xml result

Hi, I want to migrate my apps to android jetpack compose and create custom card like this. But, when I try to using my trick on xml (using same elevation value) to create shadow around the card, I can't generate the same result.

How can this be achieved using jetpack compose?

Upvotes: 0

Views: 122

Answers (0)

Related Questions