I am looking for a way to display HTML content with inline styles in my application. Due to the requirement of having different views for various sections of text, using a WebView makes the app run slowly. While I know that TextView can display HTML content, it does not support inline styles.
Could someone suggest a solution for implementing inline styles in HTML content within an Android app? Is there a method to either show the content as is or convert it into simple HTML tags?
This is how I would like the HTML to be displayed:
<p style="text-align: center;"><span style="color: #ff0000; font-size: 36pt; font-family: 'comic sans ms', sans-serif;">Article Title</span></p>
Unfortunately, TextView does not recognize inline styles.