How can I blur and dim an image to be used as an activity background?
Like the title says: I want to blur and darken a downloaded image.
开发者_运维技巧TheBlurMaskFilter
in the SDK sounds relevant, but I can't find any documentation on it.
Any suggestions?
I've only used this once and just for fun (not an expert). Try something like:
paint.setMaskFilter(new BlurMaskFilter(20, Blur.OUTER));
for more there is a nice blog here.
精彩评论