如何在Android中模糊ImageView [英] How to blur imageview in android

查看:71
本文介绍了如何在Android中模糊ImageView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个imageview,并且以编程方式设置了图像资源,如下所示:

I have an imageview and i set Image Resources programmatically like this:

int resourceId = getResources().getIdentifier("imagename", "drawable", "mypackage");
imgLock.setImageResource(resourceId);

有什么简单的方法可以显示图像模糊的ImageView?

Is there any easy way to show my ImageView with blurry image?

推荐答案

该项目显然使图像模糊.这个对我有用. https://github.com/Cutta/Simple-Image-Blur

This project is clearly make an image blur. It works for me. https://github.com/Cutta/Simple-Image-Blur

这篇关于如何在Android中模糊ImageView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆