Here is what worked for me:
<TextView
android:layout_width="80px"
android:layout_height="wrap_content"
android:text="Some text"
android:background="#88ff0000"
android:singleLine="true"
android:ellipsize="marquee"/>
![enter image description here]()
Or with "..." at the end:
<TextView
android:layout_width="80px"
android:layout_height="wrap_content"
android:text="Some text"
android:background="#88ff0000"
android:singleLine="true"
/>
![enter image description here]()
While using android:lines
doesn't work:
<TextView
android:layout_width="80px"
android:layout_height="wrap_content"
android:text="Some text"
android:background="#88ff0000"
android:lines="1"
android:ellipsize="marquee"/>
![enter image description here]()
This is most likely a bug and I believe I've seen some bug report about that.