package com.xtremelabs.droidsugar.view;

import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;

@SuppressWarnings({"ALL"})
public class FakeImageView extends FakeView {
    private Bitmap imageBitmap;
    public Drawable imageDrawable;

    public FakeImageView(ImageView view) {
        super(view);
    }

    public void setImageBitmap(Bitmap imageBitmap) {
        this.imageBitmap = imageBitmap;
    }

    public Bitmap getImageBitmap() {
        return imageBitmap;
    }

    public void setImageDrawable(Drawable drawable) {
        this.imageDrawable = drawable;
    }
}

@@ -282,16 +282,38 @@
 rawable;
+%0A    public int alpha;
 %0A%0A    pu
@@ -647,11 +647,84 @@
 e;%0A    %7D
+%0A%0A    public void setAlpha(int alpha) %7B%0A        this.alpha = alpha;%0A    %7D
 %0A%7D%0A

add alpha support to FakeImageView