天天看點

dispatchTouchEvent

@

overrides: in

added in

called to process touch screen events. 

you can override this to intercept all touch screen events before they are dispatched to the window. 

be sure to call this implementation for touch screen events that should be handled normally.

譯文:

調用此方法來處理觸摸屏事件。

您可以覆寫此攔截所有觸摸屏事件,他們被分派到視窗之前。

一定要調用這個實作的,應該可以正常處理觸摸屏事件。

ev

the touch screen event.

boolean return true if this event was consumed. 

繼續閱讀