I need to show html with inline styles in my application. There is a lot of text that should be in different views , so I can not use Webview (I tried to use a lot of webviews, but the application becomes very slow). As I know, TextView can display html but it cannot display html with inline styles. So what should I do? Is there a way to show this or only generate html with simple tags from html with inline styles ?
So, I need to show html as follows:
<p style="text-align: center;"><span style="color: #ff0000; font-size: 36pt; font-family: 'comic sans ms', sans-serif;">Article Title</span></p>
But TextView cannot understand the style.
source share