Skip to content

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.

Notifications You must be signed in to change notification settings

nitiwari-dev/blur-behind-alert-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published