@@ -0,0 +1,948 @@
+package cs4295.memecreator;%0A%0Aimport android.content.Context;%0Aimport android.graphics.drawable.Drawable;%0Aimport android.util.AttributeSet;%0Aimport android.widget.ImageView;%0A%0Apublic class ResizableImageView extends ImageView %7B%0A%0A    public ResizableImageView(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A    %7D%0A%0A    @Override %0A    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)%7B%0A         Drawable d = this.getDrawable();%0A%0A         if(d!=null)%7B%0A                 // ceil not round - avoid thin vertical gaps along the left/right edges%0A                 final int width = MeasureSpec.getSize(widthMeasureSpec);%0A                 final int height = (int) Math.ceil((float) width * (float) d.getIntrinsicHeight() / (float) d.getIntrinsicWidth());%0A                 this.setMeasuredDimension(width, height);%0A         %7Delse%7B%0A                 super.onMeasure(widthMeasureSpec, heightMeasureSpec);%0A         %7D%0A    %7D%0A%0A%7D

fix the image view as the image size [ADD] new class for imageview, but fail to do the work.....