Demo is also using renderscript
api to blur background for API level >= 17 and uses fastblur to API level < 17
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: