0

Regarding setting the font size for an Android app, is there a way I can test the size of any text, like Font.getAdvance(String)?

Aitul
  • 2,994
  • 2
  • 23
  • 51
Frank
  • 28
  • 9

1 Answers1

2

You can use Paint.measureText.

You can refer this question also: How to get string width on Android?

Community
  • 1
  • 1
Karthik
  • 3,459
  • 1
  • 19
  • 26