I want the background behind the dialog box to be blurry. I used this code but it black outs the whole background instead of blur
dialog = new Dialog(context,R.style.Theme_Dialog_Translucent);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);