the event in android is dispatched level by level. The event starts from activity->ViewGroup->View, you can implement these methods to control the event dispatch:
dispatchTouchEvent(MotionEvent)
onTouchEvent(MotionEvent)
onInterceptTouchEvent(MotionEvent)