1. Are you ready for the Galaxy S20? Here is everything we know so far!

display unrendered html

Discussion in 'Android Development' started by screwapple, Feb 8, 2011.

  1. screwapple

    screwapple Lurker
    Thread Starter

    Does anyone know how to display raw/non-rendered HTML? TextView won't accept it and WebView renders it. I literally want to see <html></html> on the screen.
    Many thanks.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. id0001

    id0001 Well-Known Member

    TextView should be able to display your raw html. only when you use HTML.fromHtml() it returns a styled Spanned object.
     
    screwapple likes this.
Loading...
Similar Threads - display unrendered html
  1. probelogic
    Replies:
    3
    Views:
    245
  2. peteannie
    Replies:
    6
    Views:
    270
  3. baruc
    Replies:
    2
    Views:
    337
  4. Mojo88
    Replies:
    21
    Views:
    976
  5. cdl
    Replies:
    5
    Views:
    629
  6. sachertorte
    Replies:
    11
    Views:
    936
  7. Elermain
    Replies:
    0
    Views:
    706
  8. Alex Cuevas
    Replies:
    3
    Views:
    837
  9. nadav mazux
    Replies:
    0
    Views:
    841
  10. startac4
    Replies:
    5
    Views:
    683

Share This Page

Loading...