inplement card view code example
Example 1: androidx cardview
dependencies {
implementation "androidx.cardview:cardview:1.0.0"
}
Example 2: how to add cardview support in android studio
dependencies {
implementation 'com.android.support:cardview-v7:28.0.0'
}