@@ -0,0 +1,782 @@
+package fr.insapp.insapp.view;%0A%0Aimport android.content.Context;%0Aimport android.util.AttributeSet;%0A%0A/**%0A * Created by Antoine on 09/10/2016.%0A */%0Apublic class SquareImageView extends de.hdodenhof.circleimageview.CircleImageView %7B%0A    public SquareImageView(Context context) %7B%0A        super(context);%0A    %7D%0A%0A    public SquareImageView(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A    %7D%0A%0A    public SquareImageView(Context context, AttributeSet attrs, int defStyle) %7B%0A        super(context, attrs, defStyle);%0A    %7D%0A%0A    @Override%0A    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) %7B%0A        super.onMeasure(widthMeasureSpec, heightMeasureSpec);%0A%0A        int width = getMeasuredWidth();%0A        setMeasuredDimension(width, width);%0A    %7D%0A%7D%0A

Add SquareImageView