/**     * 快/慢滑动ScrollView     *      *     */    public class SlowScrollView extends ScrollView {            public SlowScrollView(Context context, AttributeSet attrs, int defStyle) {            super(context, attrs, defStyle);        }            public SlowScrollView(Context context, AttributeSet attrs) {            super(context, attrs);        }            public SlowScrollView(Context context) {            super(context);        }            /**         * 滑动事件         */        @Override        public void fling(int velocityY) {            super.fling(velocityY / 4);        }    }


更多相关文章

  1. Android之TextView------LINK的点击事件
  2. Android触屏事件处理策略
  3. Android: 用Instrumentation类发送鼠标或按键事件
  4. Android上下与左右滑动事件处理
  5. Android中事件处理之LongClickListener实现步骤
  6. Android处理scrollciew里嵌套ExpandableListView的滑动事件
  7. android修改软键盘的回车键为搜索键以及点击时执行两次监听事件

随机推荐

  1. Android之UI学习篇六:ImageView实现图片旋
  2. Android中如何修改编译的资源ID值(默认值
  3. android 获取屏幕高度,宽度,状态栏高度
  4. android 魔塔 游戏
  5. Android(安卓)Service的使用方法 音乐播
  6. Android事件分发机制
  7. 为android的HttpClient添加请求超时时间
  8. JavaEye Android(安卓)客户端正式发布
  9. 5个最佳的Android测试框架(带示例)
  10. AIDL --- Android中的远程接口