textView不获取焦点情况下实现跑马灯效果
作者:
Tenny1225 | 来源:发表于
2016-03-09 08:46 被阅读1052次<TextView
android:id="@+id/channel_name"
android:layout_width="125dp"
android:layout_height="wrap_content"
android:layout_marginTop="165dp"
** android:scrollHorizontally="true" **
android:gravity="center_horizontal"
** android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"**
android:textSize="32sp"/>
最重要的,要在代码中设置
textView.setSelected(true);
本文标题:textView不获取焦点情况下实现跑马灯效果
本文链接:https://www.haomeiwen.com/subject/ahwzkttx.html
网友评论