I am currently playing with marquee function in Android Textview. But there is a problem- I have a layout containing multiple TextViews. On one of them, which shows the name of the music file, I want to apply the highlight function. On the other hand, I keep updating the current track time (every second).
The problem is that every time a TextView, which shows the track time, is updated (setText ()), the selection area of โโanother TextView is highlighted. I think this is because setTExt () moves the focus in the TextView to which I have to apply the text.
Is there a solution for this?
I used a special class for the marquee text box from this tutorial
Is it possible (maybe a custom class) for another TextView not to "steal" the focus?
Thank!
Hi
Georg source
share