title: why setCanceledOnTouchOutside(false) doesn't work in Alert builder?
body: <p>I have an alert dialog in my activity and don't want user can dismiss it by clicking outside of the dialog. Based on my research (<a href="https://stackoverflow.com/a/8384124/513413">like this</a>) I found <code>setCanceledOnTouchOutside(false);</code> method. However, I couldn't use it in my application and it is possible to dismiss dialog while I have this method.</p>
  
  <p>this is my code:</p>
  
  <pre><code>private AlertDialog alertDialog;
  alertDialog = new AlertDialog.Builder(this).create();
  alertDialog.setCanceledOnTouchOutside(false);
  alertDialog.setTitle("");
  alertDialog.setButton(AlertDialog.BUTTON_NEUTRAL, "OK", new DialogInterface.OnClickListener() {
  public void onClick(DialogInterface dialog, int which) {
          switch (intAlertAction) {
              case 1:
              case 2:
              case 3:
              default:
          }
  }
  });
  </code></pre>
  
  <p>any suggestion would be appreciated.</p>