MultilineMarquee provides an easy way to implement marquee for Android.
- automatically start marquee if this view is on screen.
- display text of multi lines if view's height is enough.
layout.xml
<jp.co.recruit.mtl.osharetenki.multilinemarqueelibrary.MultiLineMarqueeTextView
android:id="@+id/marquee"
android:layout_width="match_parent"
android:layout_height="@dimen/marquee_area_two_lines"
android:text="@string/marquee_message" />
Activity
MultiLineMarqueeTextView marqueeText = (MultiLineMarqueeTextView)findViewById(R.id.marquee);
marqueeText.autoMarquee();
clone or copy this file
MultilineMarquee is available under the MIT license. See the LICENSE file for more info.