I have the following:
textView.setText(Html.fromHtml("<font color="red" size="24">Hello</font>"));
The string 'Hello' does turn red but the size does not change.
It is as if the size attribute is just ignored, does anyone know why this is? Am I doing something wrong?
Size attribute seems not working.
You can use <small> or <big> (multiple times to increase the effect)
<small>
<big>
You can also use <h1> to <h6> (Header only, i.e. add a new line)
<h1>
<h6>
Its old-fashion, but it works well !
1.4m articles
1.4m replys
5 comments
57.0k users