Android CardView with rounded corners displays grey corners
It is because of shadow, you need to give space to cardview to show full shadow. Add android:layout_margin="5dp"
to CardView and you will see that the "grey" color is cut shadow.
Solution is adding app:cardUseCompatPadding="true"
to CardView and it will give needed spacing.
Try this...
Just set 0 value to app:cardElevation
.....
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardBackgroundColor="@android:color/white"
app:cardCornerRadius="6dp"
app:cardElevation="0dp">
.....
OR you can call cardView.setCardElevation(0) to disable shadow programmatically.