android dialog transparent

Solution 1:

Try below code

Dialog mDialog = new Dialog(mContext, android.R.style.Theme_Translucent_NoTitleBar_Fullscreen);

Solution 2:

try this:

mDialog.getWindow().setBackgroundDrawable(new ColorDrawable(0));