<TextView
android:text="1234567890qazxswedcvfrrtgbthndghsdfaldfhadnscn"
android:singleLine="true"
android:marqueeRepeatLimit="marquee_forever"
android:ellipsize="marquee"
android:focusableInTouchMode="true"
android:scrollHorizontally="true"
android:focusable="true"
android:layout_width="100dp"
android:layout_height="wrap_content" />
singleLine:單行
marqueeRepeatLimit:循環次數
ellipsize:要跑馬燈效果就設置爲 marquee
scrollHorizontally:滾動方向
focusable:獲取焦點