1

I am trying to make a textview scroll.

I used :

android:ellipsize="marquee"

but it's not working

Malko
  • 1,146
  • 2
  • 7
  • 5

1 Answers1

0

try selecting your textView in this way

textView.setSelected(true);

This works because when you scroll over an item in a list view, only then does the now-selected text start scrolling. And since this particular TextView isn't focusable or clickable, it will never lose its selection state.

Thanks to Christopher Orr for explaining in a easy way in this post

Community
  • 1
  • 1
Jorge Casariego
  • 20,634
  • 6
  • 84
  • 96