How disable MotionEvent ACTION in android?
===

In my android application.I have a panorama view, in this view i want to avoid only vertical scrolling. So i disabled  it using  `onTouchEvent(MotionEvent event)` method.

Hear is the code.

    	@Override
	public boolean onTouchEvent(MotionEvent event) {
		if(	event.getAction()==MotionEvent.ACTION_UP){
			Log.d(TAG, "onTouchEvent:ACTION_UP");
			return false;
		}else if(event.getAction()==MotionEvent.ACTION_DOWN){
			Log.d(TAG, "onTouchEvent:ACTION_DOWN");		
			return false;
		}else{
			Log.d(TAG, "onTouchEvent:ACTION_UNKWON");
			return super.onTouchEvent(event);
		}

	}

but it disables scrolling horizontally also.How can i solve this??
