Answer the question
In order to leave comments, you need to log in
Why does the background in design suddenly change to gray when using CardView?
Why does the background in design suddenly change to gray when using CardView? I change CardView to any other layout and the color becomes white. How to fix it? (unpleasant to work)
Here is the card code
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="7dp"
card_view:cardCornerRadius="5dp">
</android.support.v7.widget.CardView>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question