i have an icon of 64x64 size, only the horizontal middle is visible, the rest is transparent.
i'd like to draw a number on the transparent part, as to appear under the icon.
Code:
Bitmap b = Bitmap.getBitmapResource("icon.png");
Graphics g = new Graphics(b);
g.drawText("10", 40, 30); unfortunately the text is cut off on the lower end of the nontransparent area.
i tried g.setGlobalAlpha(255); with no effect.
any idea how to draw on the transparent part?