Set a style to the DialogFragment as no frame
setStyle(DialogFragment.STYLE_NO_FRAME,0);
Example..
DialogFragment newFragment = ImageFragment.newInstance();
newFragment.setStyle(DialogFragment.STYLE_NO_FRAME,0);
newFragment.show(getSupportFragmentManager().beginTransaction(), "dialog");