Using size HTML attribute in TextView

后端 未结 5 1128
花落未央
花落未央 2020-12-10 13:47

I have the following:

textView.setText(Html.fromHtml(\"Hello\"));

The string \'H

5条回答
  •  没有蜡笔的小新
    2020-12-10 14:37

    Sergey Gotov is right. The only way to change text size it to use h1 - h6 tags.

    EDIT: You can also implement TagHandler and use your own tags.

提交回复
热议问题