1、
@Override
public void onStart() {
getDialog().getWindow().addFlags(
WindowManager.LayoutParams.FLAG_FULLSCREEN);
super.onStart();
}
2、
@Override
public int getTheme() {
return R.style.ZKDialog_Fullscreen_Translucent;
}
<style name="ZKDialog.Fullscreen.Translucent">
<item name="android:backgroundDimEnabled">false</item>
<item name="android:windowIsFloating">false</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>