开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜