android-autofittextview
android-autofittextview copied to clipboard
Autofit for maxLines="n" doesn't work.
Hello!
AutofitTextView doesn't work as what I'm expecting it to work. I want my textview to wrap a 2 line text, however this is the result:

This is my code...

Thank you.
I'm not sure I'm following the problem here. The screenshot shows 2 lines of "Apple..." and your XML has maxLines="2". What are you expecting?
I'm guessing that he means that there is an "Orange" at his original text that does not appear on the adjusted text.
@tragikos Ah I see now, thanks!
@rhychel Have you tried customizing the minTextSize/textSize?