TextView跑马灯效果
16lz
2021-12-04
android:ellipsize="marquee" android:focusable="true" android:marqueeRepeatLimit="marquee_forever" android:focusableInTouchMode="true" android:scrollHorizontally="true"
但是你需要自定义一个TextView覆盖isFocused方法。fuck
@Overridepublic boolean isFocused() {return true;}
更多相关文章
- Android热更新二:理解Java反射
- Android消息机制浅析——原理探究
- TextView跑马灯效果
- Android(安卓)Animation无限循环动画
- android定义Color和Drawable
- Android(安卓)安全性和权限
- Android(安卓)Animation无限循环动画
- ListView常用方法整理
- Android(安卓)SDK4.0离线快速安装方法