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(contex
I think you need to create styles.xml with custom style under res - values folder.
styles.xml
res - values
and then use this style with your dialog
dialog = new Dialog(context,style);