I making apps for background image blur when open dialog on button click event and its working for api level 8(Gingerbread) and api level 14 (ICS) not background image blur its only dimming background like on light black, what i do, Thanks for in Advance
This is code working on Android 2.3 and 4.0 not working,
AlertDialog alertDialog = alertDialogBuilder.create();
WindowManager.LayoutParams lp = alertDialog.getWindow().getAttributes();
lp.dimAmount=0.0f;
alertDialog.getWindow().setAttributes(lp);
alertDialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
alertDialog.show();
FLAG_BLUR_BEHIND
was deprecated in API level 14.As per Dianne Hackborn Android framework engineer