material card view dependency code example Example: android cardview dependency dependencies { implementation "androidx.cardview:cardview:1.0.0" }