<TextView
android:layout_width="250px"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:text="这才是真正的文字跑马灯效果"
android:textColor="#FFFFFF" />
android:layout_width="250px"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:text="这才是真正的文字跑马灯效果"
android:textColor="#FFFFFF" />