using cardview in androidx code example Example: androidx cardview dependencies { implementation "androidx.cardview:cardview:1.0.0" }