i want make background window blur when showing alert dialog. have tried -
windowmanager.layoutparams lp = dialog.getwindow().getattributes(); lp.dimamount = 0.0f; dialog.getwindow().setattributes(lp); dialog.getwindow().addflags(windowmanager.layoutparams.flag_blur_behind);
but not working in, seems "flag_blur_behind" deprecated. there other way achieve without using third party libraries?
Comments
Post a Comment