onTouchEvent

open fun onTouchEvent(event: MotionEvent): Boolean

Handles touch events on the toolbar. Returns false to indicate that the touch event was not consumed by this view, allowing it to propagate to child views.

Return

Always returns false as touch events are handled by child views.

Parameters

event

The motion event being dispatched.