0

ここに画像の説明を入力

TextView を使用して、フォーマットされた方法で次の html テキストを表示したいと考えています。

![<BODY Style="font-family: Arial;">Following 3 files have been added to the folder 'A UI UX' in the Project 'A' by B<p> Please use download link to access the file </p><p><table cellpadding='5' cellspacing='5' border='0'><tr><td> 1. </td><td> &nbsp; &nbsp;1KB -- - Copy (10) - Copy - Copy - Copy - Copy - Copy.txt&nbsp; </td><td> <a href=https://www...><img style='cursor:hand;color:blue;' src='https://www...DownloadFliles.gif'alt='Download Document'/></a></td></tr><tr><td> 2. </td><td> &nbsp; &nbsp;1KB -- - Copy (10) - Copy - Copy - Copy - Copy.txt&nbsp; </td><td> <a href=https://www...><img style='cursor:hand;color:blue;' src='https://www....gif'alt='Download Document'/></a> </td></tr><tr><td> 3. </td><td> &nbsp; &nbsp;1KB -- - Copy (10) - Copy - Copy - Copy.txt&nbsp; </td><td> <a href=https://www....><img style='cursor:hand;color:blue;' src='https://www....gif'alt='Download Document'/></a> </td></tr></table></p></BODY>
I have used this following code to display it in a formatted manner 

Spanned htmlSpan = Html.fromHtml(msgInfo.getmMsgText());        
mTxtView.setText(htmlSpan);][2]

しかし、それはタグを認識していないため、個々の行を新しい行に表示していません.(スクリーンショットを参照)

4

1 に答える 1

1

これは受け入れられるタグのリストです。タグが見つからないようです。

于 2013-11-12T13:04:30.590 に答える