Textview With Marquee Is Not Working
Despite I managed to make a marquee TextView as I followed a tutorial, and it's working correctly, when I tried to make another TextView in a different activity as marquee it did n
Solution 1:
Maybe your text length is not long enough to let the Marquee runs. In other words, the marquee only works when the text is away larger than its respective width/area. So, I recommend to try to set the android:layout_width
to be, for an example, 200dp
or even more. then try the marquee
. I hope it helps.
Solution 2:
Maybe not a answer for a solution, but have to show code. Does it work, if You set following parameters? I don´t think that cursorVisible is important for that, but maybe the scrollbars and focusableInTouchMode. I have tried it with this parameters and it worked.
android:scrollbars="horizontal"android:cursorVisible="false"android:focusableInTouchMode="true"
Post a Comment for "Textview With Marquee Is Not Working"