Change text kerning or spacing in TextView?

前端 未结 3 1163
醉酒成梦
醉酒成梦 2021-01-13 14:39

I have a requirement where the letters in a TextView need to be spaced a little farther apart. Unfortunately, most of the resources I find seem to say this cannot be done--a

3条回答
  •  孤街浪徒
    2021-01-13 15:04

    As of API 21, you can use setLetterSpacing() fot TextView (and Paint) objects.

提交回复
热议问题