title: Android AlertDialog Move PositiveButton to the right and NegativeButton on the left
body: <p>I'm new with android.</p>
  
  <p>Currently I want to show an <code>AlertDialog</code> box with 'OK' &amp; 'Cancel' buttons.</p>
  
  <p>The default is PositiveButton: Left, NegativeButton: Right</p>
  
  <p>Can you let me know how can I move the PositiveButton to the right side &amp; NegativeButton to the left side?</p>
  
  <p>Is there any chance/trouble if Negativebutton cause a bad sound when pressing OK, if We change text "OK" to NegativeButton &amp; "Cancel" to PositiveButton.</p>
  
  <p>My Code:</p>
  
  <pre><code>AlertDialog.Builder builder = new AlertDialog.Builder(SUtils.getContext());
                      builder.setMessage("Confirmation?")
                      .setCancelable(false)
                      .setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
                          public void onClick(DialogInterface dialog, int id) {
                              //Todo
                              dialog.cancel();
                          }
                      })
                      .setPositiveButton("OK", new DialogInterface.OnClickListener() {
                          public void onClick(DialogInterface dialog, int id) {
                              //TOdo
                          }
                      })
  
  dialog = builder.create();
  </code></pre>
  
  <p>Thanks,
  Angel</p>