import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
public void alphatize(Canvas mCanvas, Bitmap mBitmap, int mAlpha){
Paint paint =new Paint();
paint.setAlpha(mAlpha);
Rect mDstRect = new Rect(0,0,mBitmap.getWidth(),mBitmap.getHeight()); //We are assuming they are the same size
mCanvas.drawBitmap(mBitmap, null, mDstRect, paint);
}