我有HTML字符串如下图像不是TextView中使用Html.fromhtml
String htmlstr=" This is my image <img src='/sdcard/pic1.jpg' /> and the my second image is <img src='/sdcard/pic2.jpg' />"
我使用
txtimg.setText(Html.fromHtml(htmlstr));
但问题是它会显示1个默认小squre用绿色显示代替图片
请帮我展示图片
在此先感谢
退房此链接 [1]:http://stackoverflow.com/questions/7161280/image-in-html-of-textview -not-being-displayed-properly – GingerJim
@GinerJim:谢谢你的评论,但我想显示来自SD卡的图像,我试过imageGetter,但它不适合我的工作你有任何想法如何使用imageGetter在我的情况下 – Hemantwagh07
@Hemantxp:它不适合你的情况呢? –