cardView.setRadius code example Example: androidx cardview dependencies { implementation "androidx.cardview:cardview:1.0.0" }