<?xml version="1.0" encoding="utf-8"?>
<com.yuyh.library.imgsel.widget.SquareRelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ImageView
        android:id="@+id/ivImage"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_centerInParent="true"
        android:scaleType="centerCrop"
        android:src="@drawable/ic_default_image"/>

    <ImageView
        android:id="@+id/ivPhotoCheaked"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:layout_marginRight="1dp"
        android:layout_marginTop="1dp"
        android:contentDescription="@null"
        android:paddingBottom="20dp"
        android:paddingLeft="20dp"
        android:src="@mipmap/choseicon_gray"/>

</com.yuyh.library.imgsel.widget.SquareRelativeLayout>