Set this on a CardView
:
app:cardUseCompatPadding="true"
From documentation:
Add padding in API v21+ as well to have the same measurements with
previous versions.
Set this on a CardView
:
app:cardUseCompatPadding="true"
From documentation:
Add padding in API v21+ as well to have the same measurements with
previous versions.