摘要: 之前练习自定义ViewGroup时,用到了onInterceptTouchEvent方法,这个方法与onTouchEvent容易搞不清,特此分享一下这两个方法的使用方法。1、onInterceptTouchEvent()是用于处理事件,其返回值决定是否允许Touch事件继续向下(子控件)传递。返回T... 阅读全文
posted @ 2015-04-13 16:20 Simba.Chen 阅读(528) 评论(0) 推荐(0) 编辑
摘要: Android 3.0以前,android支持两种动画模式,tween animation,frame animation,在android3.0中又引入了一个新的动画系统:property animation,这三种动画模式在SDK中被称为view animation,drawable anima... 阅读全文
posted @ 2015-04-13 11:38 Simba.Chen 阅读(270) 评论(0) 推荐(0) 编辑