In addition to the libraries already offered, there is also an official CardView created by Google , which is available as part of the android.support.v7.widget library.
CardView extends the FrameLayout class and allows you to display information inside cards that have a consistent look in any application. CardView widgets can have shadows and rounded corners.
To use this layout, you must add the following line to build.gradle (at least if you are using Android Studio):
dependencies { compile 'com.android.support:cardview-v7:+' }
Subsequently, you can use it as follows:
<android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto" android:id="@+id/card_view" android:layout_gravity="center" android:layout_width="200dp" android:layout_height="200dp" card_view:cardCornerRadius="4dp"> </android.support.v7.widget.CardView>
source share