text is truncated in Alertdialog
<p>Hi I am using below code to create a dialog...
I want to print multiple line per a item..
but the text is getting truncated...</p>

<p>plz suggest me if anything wrong in below code or let me know is there any other way to do this,,    thanQ..</p>

<h2>String.xml</h2>

<p></p>

<pre><code>&lt;item&gt;&lt;b&gt;indent code by 4 spaces&lt;/b&gt;\n&lt;font size="15"&gt;indent code by 4 spaces\nindent code by 4 spaces\nindent code by 4 spaces.&lt;/font&gt;&lt;/item&gt;

&lt;item&gt;&lt;b&gt;indent code by 4 spacesd&lt;/b&gt;\n&lt;font size="15"&gt;indent code by 4 spaces\na indent code by 4 spaces.&lt;/font&gt;&lt;/item&gt;

&lt;item&gt;&lt;b&gt;indent code by 4 spaces&lt;/b&gt;\n&lt;font size="15"&gt;indent code by 4 spaces.\nindent code by 4 spaces\nindent code by 4 spaces&lt;/font&gt;&lt;/item&gt;



&lt;/string-array&gt;
</code></pre>

<p>here it my java code..</p>

<pre><code>AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle("Pick a color");
builder.setSingleChoiceItems(R.array.abc, -1, new DialogInterface.OnClickListener() {
    public void onClick(DialogInterface dialog, int item) {
        Toast.makeText(getApplicationContext(), items[item], Toast.LENGTH_SHORT).show();
    }
});
AlertDialog alert = builder.create();
</code></pre>
