can anybody tell How to blur whole layout w开发者_JAVA技巧hen popup arrives in android can anybody provide example Thanks
This code may be helpful to you:
WindowManager.LayoutParams lp = dialog.getWindow().getAttributes();
lp.dimAmount=0.0f;
dialog.getWindow().setAttributes(lp);
dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
精彩评论