Android DialogFragment全屏



在onCreate里面写入代码:

 @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Holo_Light_NoActionBar_Fullscreen);
    }


附录:
1,《Android DialogFragment(1)》链接:http://blog.csdn.net/zhangphil/article/details/50886077

你可能感兴趣的:(Android,android)