If you want marquee text in your application, here is the simplest example.
In your xml-layout file, add this to your
TextView
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
and in your code to start animation:
TextView tv = (TextView) findViewById(R.id.tv);
tv.setSelected(true);
Via the API:
No comments:
Post a Comment