简体   繁体   English

如何使 android 中的视图模糊

[英]How can I make view blurry in android

I want make this behavior for the list items background so that any thing under the view blurred:( https://s2.gifyu.com/images/61_1.iphone_x_copy_2.png )我想对列表项背景进行这种行为,以便视图下的任何东西都模糊:( https://s2.gifyu.com/images/61_1.iphone_x_copy_2.png

I try coil BlurTransformation() but didn't work and this is what I archive with coil:( https://s2.gifyu.com/images/WhatsApp-Image-2021-02-20-at-13.16.51.jpg )我尝试使用线圈 BlurTransformation() 但没有用,这就是我用线圈存档的内容:( https://s2.gifyu.com/images/WhatsApp-Image-2021-02-20-at-13.16.51.jpg )

You can use third party libraries to achieve this.您可以使用第三方库来实现这一点。

This one is a good library BlurView这是一个很好的图书馆BlurView

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM