How to remove default cardview border from the layout.xml
Try adding this to your cardView
card_view:cardPreventCornerOverlap="false"
Set app:cardElevation="0dp"
for CardView widget.
Try adding this to your cardView
card_view:cardPreventCornerOverlap="false"
Set app:cardElevation="0dp"
for CardView widget.