1.
DialogFragmentoncreate里面做
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Black_NoTitleBar_Fullscreen);

}

2.
<style name="Dialog_Fullscreen"> 
    <item name="android:windowFullscreen">true</item> 
    <item name="android:windowNoTitle">true</item>  
</style>  
在代码里设置DialogTheme
    Dialog dialog = new Dialog(this, R.style.Dialog_Fullscreen);  
    dialog.setContentView(R.layout.main);  
    dialog.show();