最佳答案
最简单的方法是使用库。看看这个:https://github.com/wasabeef/Blurry
使用该库,您只需执行以下操作:
Blurry.with(context)
.radius(10)
.sampling(8)
.color(Color.argb(66, 255, 255, 0))
.async()
.onto(rootView);
关于java - Android 中如何模糊背景图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57728325/