I am getting an issue on android lollipop. I have a FrameLayout, in that layout I have a Cardview and at the top I have a RecyclerView. like
<framelayout>
<cardview/>
<recylerview/>
</framelayout>
whenever I set cardElevtion everything works fine in prelollipop devices. I can see recyclerview items clearly and can scroll them, but in lollipop I am facing an issue that is items can scroll but they scrolls at the backside of cardView. CardView appears as floating. I am unable to figure out what is the importance criteria for different layouts in android lollipop release.