title: android check box in alert dialog not showing
body: <p>Hello I am trying to show an alert dialog with a checkbox in order to allow the user to select the option 'Don't show again this dialog'. The dialog is showing but the checkbox doesn't. here is my code:</p>
  
  <pre><code>AlertDialog.Builder dialogBack;   
  dialogBack = new AlertDialog.Builder(this);
  dialogBack.setTitle(context.getString(R.string.msg_attention));
  dialogBack.setMessage(context.getString(R.string.msg_photo_caution));
  dialogBack.setCancelable(false);
  
  dialogBack.setPositiveButton(context.getString(R.string.confirm_continue),
      new DialogInterface.OnClickListener() {
  
          public void onClick(DialogInterface dialogBack, int which) {
              dialogBack.dismiss();
  
              beginTakeSupervisorPhoto();
          }
      });
  
  dialogBack.setNegativeButton(context.getString(R.string.confirm_cancel),
      new DialogInterface.OnClickListener() {
  
          public void onClick(DialogInterface dialogBack, int which) {
              dialogBack.dismiss();
  
          }
      });
  
  
  final CharSequence[] items = {context.getString(R.string.msg_dont_show_again)};
  dialogBack.setMultiChoiceItems(items, null,
      new DialogInterface.OnMultiChoiceClickListener() {
               public void onClick(DialogInterface dialog, int        indexSelected,boolean isChecked) {
               Log.e("ListaClientesActivity.java","isChecked: "+isChecked);
                   if (isChecked) {
                   showPhotoWarning = false;
                   dataUtil.putBoolean(Constantes.SHOW_PHOTO_WARNING, false);
               }else{
                   showPhotoWarning = true;
                   dataUtil.putBoolean(Constantes.SHOW_PHOTO_WARNING, true);
               }
               dataUtil.savePreferences();
  
               }
  });
  
  
  dialogBack.create().show();
  </code></pre>
  
  <p>It is strange because it worked for me when I was using a Text View for the dialog:</p>
  
  <pre><code>dialogBack.setView(myMsg);
  </code></pre>