开发者

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.

开发者_运维技巧The BlurMaskFilter 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜