Display html formatting in listview android
<p>I've got a list view in which i have to dispaly some text from html with proper formatting. Though i pass the html as string to <strong>Html.fromHtml</strong> method but my formatting as <strong>align="justify"</strong> don't work.</p>

<p>here is the code snippet:</p>

<pre><code>String text = "&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;div align="justify"&gt;as part of its growth plan, the ranchi-based central coalfields ltd (ccl) is gearing up to double the company's production in the next couple of years and also to increase the capacity of coal washeries.&lt;/div&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;";
</code></pre>

<p>i pass this this string to </p>

<pre><code>Spanned nText = Html.fromHtml(text);
</code></pre>

<p>and then i display it on the screen</p>

<p>When String nText displays on the emulator screen the formatting that should be there, i.e. the text should be displayed as justified, is gone.</p>

<p>Please help</p>
