如何减少Android手势检测的延迟时间
我正在为Android手机的Getsture功能编码。 但我有问题 当在屏幕上绘制手势时,OnEsturePerformedListener函数被延迟调用 这段时间让我的苹果看起来有点欠缺 ==xml代码================================================如何减少Android手势检测的延迟时间,android,listener,gesture,Android,Listener,Gesture,我正在为Android手机的Getsture功能编码。 但我有问题 当在屏幕上绘制手势时,OnEsturePerformedListener函数被延迟调用 这段时间让我的苹果看起来有点欠缺 ==xml代码================================================ <android.gesture.GestureOverlayView xmlns:android="http://schemas.android.com/apk/res/android"
<android.gesture.GestureOverlayView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gestures"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gestureStrokeType="single"
android:eventsInterceptionEnabled="true"
android:orientation="horizontal"
android:fadeEnabled="true"
android:fadeDuration="0"
>
=============================================================
<android.gesture.GestureOverlayView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gestures"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gestureStrokeType="single"
android:eventsInterceptionEnabled="true"
android:orientation="horizontal"
android:fadeEnabled="true"
android:fadeDuration="0"
>
我一直在编码http://android-developers.blogspot.com/2009/10/gestures-on-android-16.html
请帮我解决这个问题