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

ellipsize does not work with AutofitTextView

Open icodeyou opened this issue 9 years ago • 13 comments

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 avatar Aug 03 '16 19:08 icodeyou

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).

icodeyou avatar Aug 03 '16 19:08 icodeyou

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...

DenisMondon avatar Aug 29 '16 15:08 DenisMondon

Any plans for fixing this issue?

kamiljeglikowski avatar Nov 18 '16 17:11 kamiljeglikowski

same problem here

BoukhariAyoub avatar Jan 04 '17 11:01 BoukhariAyoub

Same problem

Szymaniuk avatar Apr 11 '17 06:04 Szymaniuk

+1

futurechallenger avatar Jun 20 '17 10:06 futurechallenger

+1

ugurcany avatar Aug 21 '17 17:08 ugurcany

+1

Iamshen01 avatar Aug 31 '17 11:08 Iamshen01

+1

Barackos avatar Sep 05 '17 13:09 Barackos

+1

anudeepreddygopu avatar Nov 20 '17 09:11 anudeepreddygopu

+1

mvn-vinhhuynh-dn avatar Jan 08 '19 03:01 mvn-vinhhuynh-dn

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

K1ngB0B1 avatar Nov 24 '23 13:11 K1ngB0B1