blur-behind-alert-dialog
blur-behind-alert-dialog copied to clipboard
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.
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:
After: