/**     * 快/慢滑动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. TextView跑马灯效果
  2. Android之ViewFlipper的使用与ListView的分页加载
  3. Android触屏事件处理策略
  4. Android: 用Instrumentation类发送鼠标或按键事件
  5. Android之TextView------LINK的点击事件
  6. 详解Android中自定义View的invalidate,Handler和postInvalidate
  7. android notification 事件
  8. android键盘事件
  9. Android(安卓)滑动效果代码分享

随机推荐

  1. 使用InjectView和findViewById说拜拜
  2. Android SDK 源码解析项目
  3. Android 获取当前日期 时间
  4. android文件缓存,并SD卡创建目录未能解决
  5. 阻止android软键盘自动弹出
  6. Android开发技术周报 Issue#54
  7. Android layout
  8. gradle 配置文件 build.gradle 属性详解
  9. Android的WindowManager解析
  10. android设置背景半透明效果