有没有其他方式可以在Android TextView中显示Html代码而不使用webview和Html.fromHtml()方法? [英] Is there any other way to display Html code in Android TextView without using webview and Html.fromHtml() method?
问题描述
因为我需要appy所有css和所有html标签支持。
我想在Textview中显示html代码而不使用Webview。是否有任何其他方式来实现此功能。
此链接为您提供此解决方案的正确答案,而无需使用web
视图,并且它还支持更多的html标记,如表格,图像和列表。
I have searched lot. I have to display Html code in Textview. But Mostly Html.fromHtml(source) used in Textview. But this method is not supported all html tags. Only few tags supported by Html.fromHtml().
Because i need to appy all css and all html tags support.
I want to display html code in Textview without using Webview. Is there any other way to implement this functionality.
This link give you the correct answer for this solution without using web view and also it supports more html tags like table,image and list.
这篇关于有没有其他方式可以在Android TextView中显示Html代码而不使用webview和Html.fromHtml()方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!