Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ellipsize does not work with AutofitTextView #72

Open
icodeyou opened this issue Aug 3, 2016 · 13 comments
Open

ellipsize does not work with AutofitTextView #72

icodeyou opened this issue Aug 3, 2016 · 13 comments

Comments

@icodeyou
Copy link

icodeyou commented Aug 3, 2016

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 icodeyou changed the title ellipsize does not work with autofittextview ellipsize does not work with AutofitTextView Aug 3, 2016
@icodeyou
Copy link
Author

icodeyou commented Aug 3, 2016

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
Copy link

DenisMondon commented Aug 29, 2016

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
Copy link

Any plans for fixing this issue?

@BoukhariAyoub
Copy link

same problem here

@Szymaniuk
Copy link

Same problem

@futurechallenger
Copy link

+1

5 similar comments
@ugurcany
Copy link

+1

@Iamshen01
Copy link

+1

@Barackos
Copy link

Barackos commented Sep 5, 2017

+1

@anudeepreddygopu
Copy link

+1

@mvn-vinhhuynh-dn
Copy link

+1

@K1ngB0B1
Copy link

K1ngB0B1 commented Nov 24, 2023

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

@amine-atyq
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests