Code example for PagerTabStrip

0
	public class ExtendedPagerTabStrip extends PagerTabStrip { 
 
		private boolean	enabled;
 
		public ExtendedPagerTabStrip(Context context, AttributeSet attrs) {
			super(context, attrs);
			this.enabled = true;
		} 
 
		@Override 
		public boolean onTouchEvent(MotionEvent event) {
			if (this.enabled) {
				return super.onTouchEvent(event);
			} 
 
			return false; 
		} 
 
		@Override 
		public boolean onInterceptTouchEvent(MotionEvent event) {
			if (this.enabled) {