Considering the example from the below image,

[![enter image description here](https://i.stack.imgur.com/cgtD4.jpg)](https://i.stack.imgur.com/cgtD4.jpg)

I'm looking for a solution to pass the touch events from the canvas **View** to the **Viewpager**. This is necessary for applying the same amount of zoom on both views at the same time. 

Here's the technical description of what's going on,

(Lets consider the view as **A**, **B** & **C**)

**A. Parent View**

**B. View**

**C. View Pager**

Before the **dispatchTouchEvent()** is called on the children (**B** & **C**), the **A.dispatchTouchEvent()** will first calls **A.onInterceptTouchEvent()** to see if the view group is interested in intercepting the event.

So if **A.onTouchEvent()** returns **false**, then it goes back up to **B.onTouchEvent()**. If that returns **false** then it goes back up to **C.onTouchEvent()** and the dispatching continues as usual.

And upon returning **true**,

1. **ACTION\_CANCEL** will be dispatched to all the children.
2. All the subsequent gesture events (till **ACTION\_UP**/**ACTION\_CANCEL**) will be consumed by the event listeners (**OnTouchListener.onTouch()**) if defined, else the event handler **A.onTouchEvent()** at A’s level.

At this point I can pass the events from the parent to the child views but can't let the 2 child view **B**. & **C** handle the events together (applying same amount of zoom on both views).

Is there any way to pass the touch events from the parent view to a child one so that they can process the events simultaneously?

Here's my layout setup,

```
<RelativeLayout
    android:id="@+id/layoutParent"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#FFFFFFFF">

            <com.androidapp.NonSwipeableViewPager
                android:id="@+id/pager"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_gravity="center"
                android:background="@color/transparent" />

            <com.androidapp.DrawingView
                android:id="@+id/drawing"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/transparent" />

</RelativeLayout>

```