title: Android: AlertDialog Message does not wrap automatically on SDK < 11
body: <p>I'm having an issue with an <code>AlertDialog</code> I built programmatically: Its message shows up correctly in my emulator running 4.1.2. But on my Device (a Huawei U8510 running 2.3.7) the message does not automatically wrap.</p>
  
  <p>Is there anything I can add to the code so the AlertDialog will allow its message to wrap? I obviously don't want to add manual line breaks. (The thing is, even when I add manual line breaks, the Dialog will only show the first line)</p>
  
  <p>I guess I'm just missing something here, but I couldn't find an answer anywhere – they all refer to manually adding line breaks.</p>
  
  <p>Here's the relevant code (Yes, I'm using hard-coded stings for now):</p>
  
  <pre><code>AlertDialog.Builder builder= new AlertDialog.Builder( activity );
  builder.setPositiveButton( ...
  builder.setNegativeButton( ...
  builder.setTitle( "Wirklich löschen?" );
  builder.setMessage( "Soll das Item \"" + deleteItem + "\" wirklich gelöscht werden?" );
  AlertDialog dialog= builder.create();
  dialog.show();
  </code></pre>
  
  <p>And here are the screenshots. You can see how the message wraps correctly on the Emulator (large image) but not on the device.</p>
  
  <p><img src="https://i.stack.imgur.com/nfYdp.png" alt="Device (2.3.7)"></p>
  
  <p><img src="https://i.stack.imgur.com/tTu45.png" alt="Emulator (4.1.2)"></p>