Skip to content

androidx.cardview:cardview

Official Description: Android Support CardView v7

CommonsWare's Notes

This artifact contains CardView, a simple container that wraps some other container (e.g., ConstraintLayout) and gives it a "card" effect: a rounded-rectangle border with a drop shadow. The drop shadow is "real" (system-supplied) on Android 5.0 and higher, and is faked using a background drawable on older devices.

Note that the CardView class existed for many years in the Android Support Library. As a result, much of the written material on CardView refers to android.support.v7.widget.CardView, not androidx.cardview.widget.CardView. However, functionally, both CardView implementations work the same.

Documentation

Knowledge

Samples

Versions