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);
精彩评论