Android Paint: how to get “airbrush” effect?
问题 I am following the "FingerPaint" demo in the API Demos. I would need to get an "airbrush" effect, in the sense that when I draw over the same spot it gets darker and darker. Please see the image: as you can see the center is darker because I passed with the paint on the same spot more than one time. Please how do I get the same effect, of getting darker a spot if drawn over more than one time? EDIT EDIT EDIT the suggested mPaint.setAlpha(0x80) kind of work, but only if I release touch and