Code example for OverScroller

	private void init(Context context) {
		mDetector = new GestureDetector(context, mListener);
		mScroller = new OverScroller(context);
		//Get system constants for touch thresholds 
		mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
    * 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;
        int childHeightMeasureSpec;
        childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);