I have a scrollable textView, and I want to limit the number of lines displayed, however xml properties are not working :
I tried as said in accepted answer and others but didn't worked for me, but after adding android:ellipsize="marquee" it's working now..
android:ellipsize="marquee"