android:focusable = “true”
获取焦点
android:marqueeRepeatLimit = “marquee_forever”
使省略
android:ellipsize = “marquee”
使其产生跑马灯效果
android:scrollHorizontally = “true”
表示一个Textview满了后是自动横着移动不是默认的换行。
android:focusableInTouchMode = “true”
可以通过touch来获得焦点
android:singleLine=”true”
设置textview单行显示
Android TextView跑马灯
最新推荐文章于 2024-01-10 09:25:11 发布