<TextView
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="3"
/>
跑馬燈想要跑起來就需要控件獲取到焦點,想要獲取到焦點clickable、focusable、focusableInTouchMode就需要設置爲true, marqueeRepeatLimit是設置跑馬燈跑的次數