@@ -0,0 +1,741 @@
+package com.marshalchen.common.ui;%0A%0Aimport android.content.Context;%0Aimport android.util.AttributeSet;%0Aimport android.widget.ImageView;%0A%0Apublic class SquareImageView extends ImageView %7B%0A%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%0A%7D%0A

add SquareImageview