Code example for SeekBar

Methods: setProgresssetSecondaryProgress, setEnabled

0
		else 
			mPlaybackDur.setText("-:--");
 
		if (playbackPos == 0)
		{ 
			mPlaybackInfo.setEnabled(true);
			mPlaybackInfo.setProgress(0);
			mPlaybackInfo.setSecondaryProgress(0);
		} 
	} 
 
	private final GestureDetector.SimpleOnGestureListener mGestureListener =
			new GestureDetector.SimpleOnGestureListener() 
	{ 
		public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) 
		{ 
			int dx = (int)(e2.getX() - e1.getX()); 
 
			if (Math.abs(dx) > MINIMUM_GESTURE_DISTANCE && 
					Math.abs(velocityX) > Math.abs(velocityY)) 
			{