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

posted on 2016-08-08 16:56  疯子123  阅读(512)  评论(0编辑  收藏  举报

导航