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;
    }
}

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 int alpha;

    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;
    }

    public void setAlpha(int alpha) {
        this.alpha = alpha;
    }
}

add alpha support to FakeImageView