I am using MaterialCardView as my cardview
layout. Now, Android-studio started showing me that instead of current implementation \"com.google.android.mat
try latest version
implementation 'com.google.android.material:material:1.2.0-alpha03'
style.xml:
<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
in your xml:
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content">
</com.google.android.material.card.MaterialCardView>