I have added marquee effect in my TextView and appending text to this TextView at run time. After appending I call setHorizontallyScrolling to avoid text overwriting. But this call causes the text to restart again. Is it possible to sto开发者_如何学JAVAp this restart and continue scrolling? Please help
I don't believe there is a solution that lets you change the value of the horizontallyScrolling
attribute without resetting the marquee timer. You may have to set that value in your layout XML to true before you even start appending new text. If you do that then it SHOULDN'T reset when you just append text and should just continue scrolling.
精彩评论