How to run ellipsize="end" for two lines?

Asked

Viewed 5 times

0

I have this Textview, but ellipsize doesn’t work. I’ve researched enough and I haven’t found a solution.

    <TextView
            android:id="@+id/nomeOperador"
            android:layout_width="200dp"
            android:layout_height="wrap_content"
            android:textColor="#FFFFFF"
            android:textSize="22.1sp"
            android:textStyle="bold"
            android:visibility="visible"
            android:ellipsize="end"
            android:maxLines="2"
        />
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.