title: How to raise a Toast on top of a AlertDialog?
body: <p>I am validating an AlertDialog, and I would like to raise a Toast on top of the AlertDialog display.</p>
  
  <p>I have this code, but the Toast is displayed on the activity</p>
  
  <pre><code>new AlertDialog.Builder(this).setTitle(R.string.contact_groups_add)
                  .setView(addView).setPositiveButton(R.string.ok,
                          new DialogInterface.OnClickListener() {
                              public void onClick(DialogInterface dialog,
                                      int whichButton) {
  
                                  if (wrapper.getTitle().length()&gt;0)
                                  {
                                      processAdd(wrapper);
                                  } else {
                                      Toast.makeText(getApplicationContext(), "Name is required", Toast.LENGTH_SHORT).show();
                                  }
                              }
                          }).setNegativeButton(R.string.cancel,
                          new DialogInterface.OnClickListener() {
                              public void onClick(DialogInterface dialog,
                                      int whichButton) {
                                  // ignore, just dismiss
                              }
                          }).show();
  </code></pre>