I’ve got a bitmap from file and I need to be able to draw it with a gradient around it (gradually going more transparent). How would I go about this? I’ve looked around and can’t find much.
Point in the right direct would help thanks.
-Edit-
I’d like to do this programatically, say with bitmap class and canvas.
I’ve drawn a picture to show my problem. (Still stuck with this):
https://i.stack.imgur.com/9aFMu.jpg
You can do this in xml.
Here is a great link with more information about xml drawables.
http://idunnolol.com/android/drawables.html