I love this, understand life as it is.
Download app:
dependencies { //card view implementation 'com.android.support:cardview-v7:27.1.1'}<?xml version="1.0" encoding="utf-8"?><RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="#9393ea"> <android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="250dp" android:layout_margin="15dp" app:cardCornerRadius="15dp" android:clipToPadding="true"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <ImageView android:layout_width="match_parent" android:layout_height="200dp" android:src="@drawable/lokesh" android:scaleType="fitXY" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:textSize="25dp" android:text="Lokesh"/> </LinearLayout> </android.support.v7.widget.CardView></RelativeLayout>