I have a card view
app:cardBackgroundColor="@android:color/transparent"
app:cardCornerRadius="8dp"
app:strokeColor="@color/colorBorder"
app:strokeWidth="1dp"
But white color can be seen in the rounded corners.
I used
app:cardBackgroundColor="@android:color/transparent"
But it doesn’t matter
Because it must have a background.