Android Question Rich Text

Discussion in 'Android Questions' started by MrKim, Apr 18, 2019.

  1. MrKim

    MrKim Active Member Licensed User

    I understand there is no native RTF View but I need to take RTF text like this:
    Code:
    <div><font size=4 style="BACKGROUND-COLOR:#FFFF00"><strong>per note 3</strong></font></div>

    <div>&nbsp;</div>

    <div align=center><
    font color=red>DOUBLE DISC GRIND .093+0-.005 THK FLAT .002 PARALLEL .002 &nbsp;MAT'L 1/8X10X8&quot; 6061-T6</font></div>

    <div align=center>&nbsp;</div>

    <div align=center>&nbsp;</div>

    <div><
    font size=5 color="#00B7EF"><strong><em>DDG .200 ±.001 32 FINISH or BETTER</em></strong></font></div>
    Which looks like this:
    upload_2019-4-17_20-8-6.png

    and format it correctly on the screen.
    Can someone point me in the right direction to do this?
    Is there a tool that will handle this native or am I going to have to parse out the commands myself and use something like richstring or CSBuilder to format it myself.

    It is hard to believe we are this far down the road and there is no easy way to handle RT.

    Thanks in advance for any help.
     
  2. Brandsum

    Brandsum Active Member Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    This is not RTF. It is html. You should use WebView to show it.
     
    emexes likes this.
  4. MrKim

    MrKim Active Member Licensed User

    Interesting -and good news. It comes straight out of a MS Access control set for Rich Text formatting.
    Thank you.
     
  5. MrKim

    MrKim Active Member Licensed User

    Turned, as Erel said, it is html. WebView works fine.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice