-1

I am setting a text in textview.And it is marquee text.Not just the text, it is an array of text concatenated one after another and added to textview.I want that if i will click any text then that text(or word) will be shown in a dialog box.First of all is it Possible anyhow.I tried to use Spannable from this link first answer.but it's not working as per my requirement as i have marqueeing text.

Community
  • 1
  • 1
Android Killer
  • 18,174
  • 13
  • 67
  • 90

1 Answers1

0

Why wouldn't you replace the marque with something more useful? :) You may wrap your textView into a horizontal scroll view. Then you have a thread (AsyncTask) that scrolls the text, using ScrollView.setScrollX() just as marquee does.

Can you guess, what comes next? Use spans, as suggested by the link, you quoted!

cyanide
  • 3,885
  • 3
  • 25
  • 33