android-autofittextview icon indicating copy to clipboard operation
android-autofittextview copied to clipboard

Autofit for maxLines="n" doesn't work.

Open rhychel opened this issue 10 years ago • 3 comments

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: screen shot 2015-07-08 at 4 10 23 pm

This is my code... screen shot 2015-07-08 at 4 10 14 pm

Thank you.

rhychel avatar Jul 08 '15 08:07 rhychel

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?

grantland avatar Jul 09 '15 05:07 grantland

I'm guessing that he means that there is an "Orange" at his original text that does not appear on the adjusted text.

tragikos avatar Sep 11 '15 13:09 tragikos

@tragikos Ah I see now, thanks!

@rhychel Have you tried customizing the minTextSize/textSize?

grantland avatar Sep 11 '15 17:09 grantland