android - Attribute ellipsize=marquee in textview doesnt work with movenmentmethod -


i need make running line clickable parts of text in android app. use textview attributes:

 android:singleline="true"  android:ellipsize="marquee"  android:marqueerepeatlimit ="marquee_forever" 

okay, in java code use next code:

 runninglinetext.settext(textrunningline);  runninglinetext.setselected(true);  runninglinetext.setmovementmethod(linkmovementmethod.getinstance()); 

i need use setmovementmethod making clickablespan clickable parts of running line. after textview on screen has no text! empty. so, there way mix attributes "setmovementmethod" , "ellipsize=marquee" in textview? thanks.


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -