grantland / android-autofittextview

A TextView that automatically resizes text to fit perfectly within its bounds.
Apache License 2.0
4.27k stars 689 forks source link

ellipsize does not work with AutofitTextView #72

Open icodeyou opened 8 years ago

icodeyou commented 8 years ago

Hi, I am using AutofitTextView with : android:maxLines="2" autofit:minTextSize="15sp" android:ellipsize="end"

My problem is that the ellipsize is not working. I understand that an ellipsize isn't necessary when there isn't any minimal Text Size.. However when there is a "minTextSize", an ellipsize is essential because the texts that are too long are just cut.. and this is not acceptable in a UI.

icodeyou commented 8 years ago

Okay, I realized that the ellipsize works if there is only one line (singleLine="true"). However, my text has two lines, and this ellipsize doesn't work (whereas it works on a regular textview).

DenisMondon commented 8 years ago

Hi!

Same problem for me... I want to have maxLines=2 with ellipsize=end but it only shows 1 line with ellipsize...

Edit: I want to have maxLines=2 with ellipsize=end but it only shows 2 lines without ellipsize...

kamiljeglikowski commented 7 years ago

Any plans for fixing this issue?

BoukhariAyoub commented 7 years ago

same problem here

Szymaniuk commented 7 years ago

Same problem

futurechallenger commented 7 years ago

+1

ugurcany commented 7 years ago

+1

Iamshen01 commented 7 years ago

+1

Barackos commented 7 years ago

+1

anudeepreddygopu commented 6 years ago

+1

mvn-vinhhuynh-dn commented 5 years ago

+1

K1ngB0B1 commented 9 months ago

+1 Is there still no Fix for that?? How is that possible after 8 Years

amine-atyq commented 6 months ago

+1