/** * @param bitmap * The source bitmap. * @param opacity * a value between 0 (completely transparent) and 255 (completely * op
try this,
newBitmap.setImageResource(android.R.color.transparent);