Hello,
I noticed that when I use the copy method to copy/paste the text from an email or website to an EditText box I receive all formatting (underline, big fonts, bold) of the website/email text. But when I transfer this text to a string and later to other EditText object the fonts formatting is lost.
Question: is there anything that I could do to maintain the formatting? I noticed that WhatsApp messages boxes have different fonts and styles (links underlined, different font colors in the same object). How can I do that?
I noticed that when I use the copy method to copy/paste the text from an email or website to an EditText box I receive all formatting (underline, big fonts, bold) of the website/email text. But when I transfer this text to a string and later to other EditText object the fonts formatting is lost.
Question: is there anything that I could do to maintain the formatting? I noticed that WhatsApp messages boxes have different fonts and styles (links underlined, different font colors in the same object). How can I do that?
B4X:
Dim MiddleText as string
MiddleText = EditTextSource.text '<-this received a copy and paste text from an email
TargetText.text = MidleText '<- the text lost formatting