title: How to display an image in Dialog Box
body: <p>This code will display the dialog box with "Hello World" but I want to display an 
  image like : <img src="https://i.stack.imgur.com/Hqf4F.jpg" alt="enter image description here"> also in the same dialog box.  </p>
  
  <p>can anyone help me?</p>
  
  <pre><code>private void showDialog(String message)
  {
      AlertDialog.Builder builder = new AlertDialog.Builder(this);
      builder.setMessage("Hello World");
      builder.setCancelable(false);
      builder.setPositiveButton("OK", new DialogInterface.OnClickListener()
      {
          public void onClick(DialogInterface dialog, int id)
          {
              dialog.dismiss();
          }
      });
      AlertDialog alert = builder.create();
      alert.show();
  }
  </code></pre>