title: Android Dialog (not custom) problem
body: <p>I am trying to display a simple alert working on my activity when no internet connection is available, however, for some reason I dont know, when I set the icon for the alert, the box gets messy, too big. Below is my code:</p>
  
  <pre><code>@Override
  protected Dialog onCreateDialog(int id) {
      switch (id) {
      case 1:
          return new AlertDialog.Builder(SplashScreen.this)
          .setTitle("Aviso")
          .setIcon(R.drawable.alert_dialog_icon)
          .setMessage("Acesso à internet não disponível. Clique OK para sair.")
          .setCancelable(false)
          .setPositiveButton("OK", new DialogInterface.OnClickListener() {
             public void onClick(DialogInterface dialog, int id) {
                 SplashScreen.this.finish();
             }
          })
          .create();  
      }
      return null;
  }
  </code></pre>
  
  <p>the result of this code is displayed in the image below.</p>
  
  <p><img src="https://i.stack.imgur.com/lCIU4.png" alt="device screenshot"></p>
  
  <p>What am I doing wrong? Am I missing anything? This code was straightly copied from the API demos source code, which works perfectly in my device.</p>
  
  <p>Thanks a lot
  T</p>