Renato Ivancic - Software Engineer

Background image

Format TextView content with HTML tags

Android Development

In most of the times, for displaying few lines of plain old text in Android application the TextView widget will be sufficient. What if you want to add a bit of text formatting to it? For example wrapping lines, making words bold or underlined, even adding some links to it. It can be accomplished by providing HTML code to the TextView widget as text source. Saving HTML code in Android app for reuse.

11 Mar 2016 #HTML #Android #TextView