Code example for OverScroller

		super(context, attrs, defStyle);
	private void init(Context context) {
		mScroller = new OverScroller(context);
		mVelocityTracker = VelocityTracker.obtain();
        //Get system constants for touch thresholds 
		mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
        mMaximumVelocity = ViewConfiguration.get(context).getScaledMaximumFlingVelocity();
        mMinimumVelocity = ViewConfiguration.get(context).getScaledMinimumFlingVelocity();
     * Override the measureChild... implementations to guarantee that the child view 
     * gets measured to be as large as it wants to be.  The default implementation will 
     * force some children to be only as large as this view. 
    protected void measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) {
        int childWidthMeasureSpec;