Use getText() and get a SpannedString. Or, escape your HTML (< for <, etc.).
On Mon, Jun 20, 2011 at 6:37 PM, dashman <[email protected]> wrote: > i've got an string resource entry in html format > > <string name="notes"><div>Hello</div></string> > > When i do a getString() on this, the html is gone. > > can the html be preserved. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

