Cardview shadow for ImageView
Use app:cardElevation="4dp"
instead of android:elevation
.
Also add this app:cardUseCompatPadding="true"
.
Also consider changing the CardView size to:
android:layout_width="wrap_content"
android:layout_height="wrap_content"