天天记录 - Android TextView跑马灯效果
来源:互联网 发布:单片机项目私活 编辑:程序博客网 时间:2024/05/22 18:56
TextView本身提供跑马灯效果支持, 只需要按以下配置,注意Width必须设置固定值且必须小于文字的总宽度,才会有跑马灯效果
<TextView android:id="@+id/textview" android:layout_width="200px" android:layout_height="wrap_content" android:ellipsize="marquee" android:scrollHorizontally="true" android:marqueeRepeatLimit="marquee_forever" android:focusable="true" android:focusableInTouchMode = "true" android:text=" * 跑马灯效果 * 跑马灯效果 * 跑马灯效果 * " android:singleLine="true"/>
- 天天记录 - Android TextView跑马灯效果
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- [Android]TextView跑马灯效果
- Android textView 跑马灯效果
- android TextView 跑马灯效果
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- android TextView跑马灯效果
- android TextView跑马灯效果
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- android textView跑马灯效果
- Android TextView 跑马灯效果
- Android TextView跑马灯效果
- zju 1003 Crashing Balloon
- JAVA数据类型的划分
- 自己动手制作杀毒U盘
- HD 1008
- JAVA类之间的关系
- 天天记录 - Android TextView跑马灯效果
- emacs学习(二)
- vanceinfo_拉链算法_笔记2
- Linux命令整理之四:su
- UVA 113 - Power of Cryptography(数学)
- 怎样通过Windows 7共享自己的宽带连接(可以设置自己的网络名称和密码)
- HDU 1869 floyd 求两点间的最短距离
- Html学习总结
- /bin/rm: cannot remove `libtoolT': No such file or directory