Android 设置dialog 点击返回键及屏幕不消失

GetAwardDialog mDialog = null;
        if (mDialog == null) {
            mDialog = new GetAwardDialog(getActivity());
            mDialog.setCanceledOnTouchOutside(false);
            mDialog.setCancelable(false);
        }
        mDialog.show();

    原文作者:Alex老夫子
    原文地址: https://blog.csdn.net/msn465780/article/details/56009393
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞