CanPHP框架技术讨论

导航

 

2012年10月10日

摘要: 跑马灯的效果默认是需要获得焦点才有效。为了任何时候有效,可以继承Textiew,重写IsFocused方法,返回true。 以下是代码片段: view plainprint? public class MarqueeTextView extends TextView { public MarqueeTextView(Context context) { super(context); } public MarqueeTextView(Context context, AttributeSet attrs){ super(context,attrs); } public Marq... 阅读全文
posted @ 2012-10-10 14:02 創丗仼 阅读(331) 评论(0) 推荐(0)