title: AlertDialog disappears when touch is outside [Android]
body: <p>I'm using an Alert Dialog on my application, but it keeps hiding when the users touches outside it. 
  Here is my code: </p>
  
  <pre><code>public class DialogMessageEnd extends DialogFragment
  {
      String winner;
  
      @Override
      public Dialog onCreateDialog(Bundle savedInstanceState) {
          // Use the Builder class for convenient dialog construction
          Snooker_Scoreboard ss = new Snooker_Scoreboard();
          AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
          builder.setCancelable(false);
          builder.setMessage(ss.winnerPlayer + " won the match ("+ss.frame1ToPass+"-"+ss.frame2ToPass+")!")
                  .setPositiveButton("New Match!", new DialogInterface.OnClickListener() {
                      public void onClick(DialogInterface dialog, int id) {
                          Intent i = new Intent(getContext(),PlayerSelection.class);
                          startActivity(i);
                      }
                  });
  
  
  
          // Create the AlertDialog object and return it
          return builder.create();
      }
  
  }
  </code></pre>
  
  <p>As you can see, I used </p>
  
  <pre><code>builder.setCancelable(false);
  </code></pre>
  
  <p>but it still doesn't solve the probem.
  Can you help me? thanks</p>