Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying HTML content in TextView  RSS feed

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to display HTML content in text view.And Android has one very good method for this. Html.fromHtml. This method takes html input and returns output in String format.
But there is small problem with this.It removes all the Html Tags. I want some of tags like bold and font color etc. For this they have same method with different list of argument. But doing this is bit complecated.

I need some better way. Please Help.
 
Crusading Chameleon likes the size of this ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!