adjustsFontSizeToFitWidth for Android
The iPhone has the method adjustsFontSizeToFitWidth for the UILabe开发者_JS百科l.
Is there a way to automatically adjust the width of the text to match the width TextView or Button in android?
I have not heard of any direct methods in Android which can do this for you. This post has a class customized for the same purpose. Did you check this out??
How to adjust text font size to fit textview
精彩评论