Cardview Android Material Design with Example [Download]
Cardview is a new widget for Android, which can be used to display a card sort of a layout in android. Cardview Android Material Design is such a view which has all material design properties, most importantly showing shadows according to the elevation. The best part about this view is that it extends FrameLayout and it can be displayed on all the platforms of Android since it’s available through the Support v7 library.
Please check more about Recylerview and check out My Recyclerview Android Example
Cardview support library
Android SDK doesn’t include the Cardview class, first need to add the Cardview support library to your build.gradle file.
compile 'com.android.support:recyclerview-v7:26.1.0' compile 'com.android.support:cardview-v7:26.1.0'
Cardview Widget Layout recyclerview_adapter_layout.xml
activity_main.xml for MainActivity