@SuppressLint("NewApi")
 private void initScrollView() {
   mScroller = new OverScroller(getContext());
   setFocusable(true);
   setDescendantFocusability(FOCUS_AFTER_DESCENDANTS);
   setWillNotDraw(false);
   final ViewConfiguration configuration = ViewConfiguration.get(getContext());
   mTouchSlop = configuration.getScaledTouchSlop();
   mMinimumVelocity = configuration.getScaledMinimumFlingVelocity();
   mMaximumVelocity = configuration.getScaledMaximumFlingVelocity();
   mOverscrollDistance = configuration.getScaledOverscrollDistance();
   mOverflingDistance = configuration.getScaledOverflingDistance();
 }
  /** Inits the scroll view. */
  private void initScrollView() {

    mScroller = new OverScroller(getContext(), new DecelerateInterpolator());
    setFocusable(true);
    setDescendantFocusability(FOCUS_AFTER_DESCENDANTS);
    setWillNotDraw(false);
    final ViewConfiguration configuration = ViewConfiguration.get(getContext());
    mTouchSlop = configuration.getScaledTouchSlop();
    mMinimumVelocity = configuration.getScaledMinimumFlingVelocity();
    mMaximumVelocity = configuration.getScaledMaximumFlingVelocity();
    mOverscrollDistance = configuration.getScaledOverscrollDistance();
    mOverflingDistance = configuration.getScaledOverflingDistance();
    mScrollMarginTop = getResources().getDimensionPixelSize(R.dimen.gn_recent_info_zone_height);
  }