I am working with cardviews but the problem is my CardView is not showing any elevation or shadow. I have already tried some of the methods suggested in stackoverflow answer
Add this line in CardView widget
app:cardElevation="5dp"
hope this will help!