You will need to create a separate bitmap, draw yo...
# android
x
You will need to create a separate bitmap, draw your image to that bitmap then draw a gradient with a xfermode that will clear out alpha for opaque pixels