TextView跑马灯效果简单实现
2018-03-01 14:24
417 查看
简易xml实现
跑马灯进阶版:http://blog.csdn.net/u013836857/article/details/51423393
此博客用于个人笔记查阅,同时也和大家一起分享,如有不对,恳请指正。
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <TextView android:layout_width="100dip" android:layout_height="wrap_content" android:layout_gravity="center" android:text="走马灯效果的演示由于输入的内容多于一行,如果不处理就会直接不显示后面的内容,通过处理可以在前面、中间或后面加一个省略号的效果" android:singleLine="true" android:ellipsize="marquee" android:focusable="true" android:focusableInTouchMode="true" /> </LinearLayout>
跑马灯进阶版:http://blog.csdn.net/u013836857/article/details/51423393
此博客用于个人笔记查阅,同时也和大家一起分享,如有不对,恳请指正。
相关文章推荐
- TextView实现跑马灯效果 就这么简单!
- 安卓基础TextView跑马灯效果简单实现
- TextView简单实现跑马灯效果
- android TextView实现跑马灯效果
- 实现TextView跑马灯效果
- 使用TextView实现跑马灯效果
- Android的自定义TextView实现跑马灯效果
- Android---14---TextView实现跑马灯效果
- TextView中跑马灯、删除线,抗锯齿,下划线效果的实现
- Android中TextView实现文字跑马灯效果(滚动轮播)
- android TextView实现跑马灯效果
- ListView 中的TextView实现跑马灯效果 adapter 中item 跑马灯效果
- Android自定义TextView实现跑马灯效果
- Android TextView实现跑马灯效果的两种方式
- Android TextView实现跑马灯效果
- 实现跑马灯效果的TextView
- textview实现跑马灯效果
- android TextView的跑马灯效果的实现
- Android中TextView实现垂直滚动(轮换效果,非跑马灯)
- TextView实现跑马灯效果