How to extract HTML styled text from an EditText in Android? -
i using html.fromhtml(...)
style text of edittext in android. need pass styled text result activity. however, when use intent pass contents of edittext unable figure out how retain html style of original text.
as example, suppose original text in edittext is:
today 21st
when extract text of using edittext.gettext()
, send result resulting text is:
today 21st
is there way extract html styled string edittext?
you can send html text , call html.fromhtml in activity passing text. fromhtml meant used text has displayed on screen
Comments
Post a Comment