How to change letter spacing in a Textview?

后端 未结 8 1782
温柔的废话
温柔的废话 2020-11-29 18:30

How can i change letter spacing in a textview? Will it help if I have HTML text in it (I cannot use webview in my code).

P.S. I\'m using my own typeface in the textv

8条回答
  •  既然无缘
    2020-11-29 19:29

    after API >=21 there is inbuild method provided by TextView called setLetterSpacing

    check this for more

提交回复
热议问题