Probir-CSE / Blur-behind-alert-dialog

Blur behind alert dialog demo. From API 17 we can use renderscript blur api. Demo is integrated using both renderscript blur api and fastblur method.

Home Page:http://www.coderconsole.com/2015/02/blur-behind-alert-dialog.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update

Demo is also using renderscript api to blur background for API level >= 17 and uses fastblur to API level < 17

Blur-behind-alert-dialog

In this demo I have shown you how we can blur the background of AlertDialog .

Its an alternative from API 14 against dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); which is deprecated.

Before:

before

After:

after

About

Blur behind alert dialog demo. From API 17 we can use renderscript blur api. Demo is integrated using both renderscript blur api and fastblur method.

http://www.coderconsole.com/2015/02/blur-behind-alert-dialog.html


Languages

Language:Kotlin 95.0%Language:Java 5.0%