Originally Posted by android88
Bitmap bitmap = Bitmap.createBitmap(width, height, Config.RGB_565);
Canvas c = new Canvas(bitmap);
your bitmap is opaque probably.
The description about the Bitmap.Config is different is different from the factory call your using.
config The bitmap config to create. If the config does not support per-pixel
alpha (e.g. RGB_565), then the alpha bytes in the colors will be
ignored (assumed to be FF)
You may need to use a different Config. Probably one that supports alpha per pixel