dialog fragment transparent background code example
Example: transparent background for dialog fragment
getDialog().getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
getDialog().getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));