android中textview文本滚动效果

时间:2022-11-10 10:51:38
        android:id="@+id/textView1"
        android:layout_width="100dp"
        android:layout_height="wrap_content"
        android:text="01234567890123456789"
        android:background="@android:color/holo_blue_bright"
        android:singleLine="true"     
        android:ellipsize="marquee"
        android:marqueeRepeatLimit="marquee_forever"
        android:focusable="true"
        android:focusableInTouchMode="true"