I'm using this library to get a stack of cards in my app. However, the cards appearing have no elevation at all. In the Android Material Guidelines it is written that cards should have elevation (when clicked also). How can I achieve applying elevation for this layout on both states, clicked and released, for both android > and < 21?
Asked
Active
Viewed 37 times
0
-
https://stackoverflow.com/questions/26997109/setting-elevation-in-xml-on-appcompat-cardview-on-android-5-0 – Amit Vaghela Jun 15 '17 at 12:13
-
@AmitVaghela thank you, but I don't have a card view inside my layout. I have only a linear layout with some view inside it – Motassem Jalal Jun 15 '17 at 12:25