displaying html characters in android view


Last Updated:

  1. kaancho

    kaancho Member This Topic's Starter

    Joined:
    Jul 15, 2010
    Messages:
    19
    Likes Received:
    0
    hi
    How do I display the HTML character in android view.
    I get break tags "<br>" and "<p>" tags displaying in the view
     

    Advertisement
  2. id0001

    id0001 Well-Known Member

    Joined:
    Apr 20, 2010
    Messages:
    142
    Likes Received:
    23
    Use a webview
     
  3. kaancho

    kaancho Member This Topic's Starter

    Joined:
    Jul 15, 2010
    Messages:
    19
    Likes Received:
    0
    ok,
    I changed my view from "textview" to webview".
    However, when i use loadData to set content inside a webview it comes up as blank.

    Each webview is a row in a ListView if that helps.

    Any idea what i need to do to fix this?
     
  4. kaancho

    kaancho Member This Topic's Starter

    Joined:
    Jul 15, 2010
    Messages:
    19
    Likes Received:
    0
    This is the layout.xml and the java.

     
  5. kaancho

    kaancho Member This Topic's Starter

    Joined:
    Jul 15, 2010
    Messages:
    19
    Likes Received:
    0
    any idea what needs to happen to make this display?
     
  6. kaancho

    kaancho Member This Topic's Starter

    Joined:
    Jul 15, 2010
    Messages:
    19
    Likes Received:
    0
  7. kaancho

    kaancho Member This Topic's Starter

    Joined:
    Jul 15, 2010
    Messages:
    19
    Likes Received:
    0
  8. Sam Voss

    Sam Voss Well-Known Member

    Joined:
    Jun 25, 2010
    Messages:
    367
    Likes Received:
    44
    Thanks fr your post, this solves one of a few of the problems I'm having with one of my next updates!
     

Share This Page

Loading...