The iPhone has the method adjustsFontSizeToFitWidth for the UILabel.
Is there a way to automatically adjust the width of the text to match the width TextView or Button in android?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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