I have a textview in an Android application. I want to set the textview's value from HTML. For example, I get a value like this:
<span style="font-family:'Roboto-Regular'; font-size:13px; color:#383838 \">102,</span>
<span style="font-family:'Roboto-Regular'; font-size:11px; color:#383838 \">60 TL</span>
and I want to set the textview's value using the fromhtml()
method. The color
tag is working perfectly, but the font-size
tag is not working - I expect the text after the comma to be small, but the tag doesn't change the text size at all.