当某个标题在Google Play上的名称过长时,他们会对这个TextView应用动画效果,当名称从TextView的一端消失时,会从另一端进入,停留一秒钟在标题文本的开头,然后进行下一轮。请问有人知道如何实现这种效果吗?
<TextView
android:id="@+id/tvAddress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/tvName"
android:layout_toLeftOf="@+id/ivLogo"
android:text=""
android:textColor="@color/cups_white"
android:textSize="18sp"
android:ellipsize="marquee"
android:singleLine="true"
android:marqueeRepeatLimit ="marquee_forever"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:duplicateParentState="true">
<requestFocus
android:focusable="true"
android:focusableInTouchMode="true"
android:duplicateParentState="true" />
</TextView>
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"