Is it possible to display inline images from html in an Android TextView?

Posted by Gunnar Lium on Stack Overflow See other posts from Stack Overflow or by Gunnar Lium
Published on 2010-05-19T12:30:57Z Indexed on 2010/05/19 13:40 UTC
Read the original article Hit count: 726

Filed under:
|
|

Given the following HTML:

<p>This is text and this is an image <img src="http://www.example.com/image.jpg" />.</p>

Is it possible to make the image render? When using this snippet: mContentText.setText(Html.fromHtml(text));, I get a cyan box with black borders, leading me to believe that a TextView has some idea of what an img tag is.

© Stack Overflow or respective owner

Related posts about android

Related posts about textview