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)?
Asked
Active
Viewed 223 times
1 Answers
2
You can use Paint.measureText.
You can refer this question also: How to get string width on Android?