Skip to content Skip to sidebar Skip to footer

Android Setellipsize Not Working On Class That Extends Edittext

I have a class that extends EditText, on this class i'm trying to make the text to set setEllipsize when the text is to long. For some reason all my tryies didn't work. It seems th

Solution 1:

remove setHorizontallyScrolling(true) it is contradicting with setEllipsize(TextUtils.TruncateAt.END); Refer to the android doc for each ones function https://developer.android.com/reference/android/widget/TextView.html


Post a Comment for "Android Setellipsize Not Working On Class That Extends Edittext"