问题
Like the title says: I want to blur and darken a downloaded image.
The BlurMaskFilter
in the SDK sounds relevant, but I can't find any documentation on it.
Any suggestions?
回答1:
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.
来源:https://stackoverflow.com/questions/6064523/how-can-i-blur-and-dim-an-image-to-be-used-as-an-activity-background