The question is published on by Tutorial Guruji team.
When I in my android application import text from my database it returns text with a square symbol. The text in the database is pasted from a webpage so I belive it is som html formatting, [ENTER] etc.
Is it possible to make the textview understand the formatting and use it as it is intended to look in a webbrowser. I am not interested in changing the view if it can be avoided, just to make the textstring use the formatting to make nl etc.
Any one know how it can be done.
Before setting the text in the
TextView you can use the
Html.fromHtml method on the text, this will format the text appropriately.