Språk

ZoomButtonsController.OnTouch(View, MotionEvent) Method

Definition

Processes a touch event for the zoom controls.

[Android.Runtime.Register("onTouch", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnTouch_Landroid_view_View_Landroid_view_MotionEvent_Handler")]
public virtual bool OnTouch(Android.Views.View? v, Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onTouch", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnTouch_Landroid_view_View_Landroid_view_MotionEvent_Handler")>]
abstract member OnTouch : Android.Views.View * Android.Views.MotionEvent -> bool
override this.OnTouch : Android.Views.View * Android.Views.MotionEvent -> bool

Parameters

v
View

View : The view the touch event has been dispatched to.

e
MotionEvent

The e value.

Returns

True if the listener has consumed the event, false otherwise.

Implements

Attributes

Remarks

Java documentation for android.widget.ZoomButtonsController.onTouch(android.view.View, android.view.MotionEvent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to