<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:elevation="6dp"> <com.facebook.drawee.view.SimpleDraweeView android:id="@+id/image_avatar" android:layout_width="120dp" android:layout_height="120dp" android:layout_centerHorizontal="true" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:roundedCornerRadius="2dp" /> </android.support.constraint.ConstraintLayout>