效果:字体横向移动
作用:首页公告--中奖名单等等
实现:
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:text="@string/text" android:ellipsize="marquee" android:focusable="true" android:marqueeRepeatLimit="marquee_forever" android:focusableInTouchMode="true" android:scrollHorizontally="true"/>