I am working on grid layout using recyclerview in android. The grid occupies a portion of the screen and has a shadow. To get the desired shadow effect I am using an elevati
For Lollipop and you can use the android:elevation property but below lollipop versions you have to give custom shadow so refer the below code for shadow
card_background.xml
Give this file as a background to your recyclerview inflater file it will work fine.