CameraKit / blurkit-android

The missing Android blurring library. Fast blur-behind layout that parallels iOS.
MIT License
3.72k stars 309 forks source link

Is it possible to use BlurKit to blur background behind dialog? #12

Closed trietbui85 closed 5 years ago

ghost commented 6 years ago

You'd have to create a custom layout for your dialog and have it use a fullsize ImageView as its background.

You'd then place a BlurLayout above this with your dialog content, something similar to the below.

<ImageView .... /> <BlurLayout .... />

emersoncloud commented 5 years ago

Thanks for your comment @Xenero. If you have any more questions let us know!

RowlandOti commented 5 years ago

Hi, @emersoncloud @Xenero this is a very high-level explanation. Is it possible to elaborate more on your example, for blurring behind the dialog?