MaterialCardView crashes with material:1.1.0

后端 未结 7 1756
青春惊慌失措
青春惊慌失措 2021-01-01 12:15

I am using MaterialCardView as my cardview layout. Now, Android-studio started showing me that instead of current implementation \"com.google.android.mat

7条回答
  •  無奈伤痛
    2021-01-01 13:00

    If after changing the theme to Theme.MaterialComponents in the styles.xml didn't work then make sure you have added style tag in the MaterialCard.

    style="@style/Widget.MaterialComponents.CardView"
    

提交回复
热议问题