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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -