tags:

views:

37

answers:

1

The ic_menu_info icon is properly displayed in the xml menu item that calls it but not in this AlertDialog.

new AlertDialog.Builder(this).setMessage(menuInfo).setNeutralButton("OK",
 new DialogInterface.OnClickListener() {
  public void onClick(DialogInterface d, int i) {
   // do nothing – it will close on its own
  }
 })
 .setIcon(R.drawable.ic_menu_info).show();
 ...
A: 

Sorry. Needed a .setTitle() since that is where the icon wants to go.

JackN