Here are two pictures.
on Lollipop:
on Pre-Lollipop:
just add this in your code for pre lollipop versions:
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { cardView.setMaxCardElevation(0f); cardView.setPreventCornerOverlap(false); }