我怎么能和模糊暗淡的图像被用作一个活动的背景? [英] How can I blur and dim an image to be used as an activity background?
本文介绍了我怎么能和模糊暗淡的图像被用作一个活动的背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
之类的标题说:我要模糊和变暗下载的图像结果。
在 BlurMaskFilter
SDK中的声音有关,但我不能找到它的任何文档。
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.
有什么建议?
推荐答案
我只用这一次,只是为了好玩(不是专家)。尝试是这样的:
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.
这篇关于我怎么能和模糊暗淡的图像被用作一个活动的背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文