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

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -