loagindDialog = ProgressDialog.show(this, "", "Please wait...", true,
    true, new DialogInterface.OnCancelListener() {
     @Override
     public void onCancel(DialogInterface dialog) {
      if (D) Log.i(TAG, "progressdialog cancel");
      }
    });

 

안녕하세요.

위와 같이 ProgressDialog를 생성해서 보여주고 있습니다.

ProgressDialog가 떠있는 상태에서 취소키를 누르면 ProgressDialog가 없어지는데요

화면을 터치했을때도 취소키와 동일하게 처리가 됩니다.

저는 취소키만 사용하고 화면 터치에는 아무런 반응이 없었으면 하는데 방법이 없을까요?

 

profile

give & take