跑马灯
来源:互联网 发布:鬼泣3pc画面优化 编辑:程序博客网 时间:2024/04/28 11:02
建立MarqueeTextView类继承TextView
public class MarqueeTextView extends TextView { public MarqueeTextView(Context context) { super(context); } public MarqueeTextView(Context context, AttributeSet attrs) { super(context, attrs); } public MarqueeTextView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); } public boolean isFocused() { return true; }}
控件代码必须实现的两个属性
<com.yun.duan.baseadpter_two.MarqueeTextView android:ellipsize="marquee" android:singleLine="true"
0 0
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 跑马灯
- 关于javaJDK环境变量的设置
- Cassandra在CQL语言数据类型与Java中数据类型对应关系
- TP框架下普通模式,加载类方法的原理
- 陶哲轩实分析 5.3 节习题试解
- Android常用adb命令二
- 跑马灯
- java中wait()和sleep()的区别
- XMPP兼容IPv6
- Android Rxbus事件总线
- c3p0参数详解
- DBCP、C3P0、Proxool 、 BoneCP开源连接池的比较和属性说明
- 【转】Awesome Python中文版来啦!
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- [SCU 4519] 来签个到吧 (GCD + 期望)