开发者

Android Make ProgessDialog Uncloseable

How can I make my ProgessDialog uncloseable, so that t开发者_如何学JAVAhe user cannot hit the back key, or touch the screen outside of the dialog to dismiss it?


dialog.setCancelable(false);


You need to use setCancelable to false

progressDialog.setCancelable(false);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜