开发者

How to decrease delaytime on Gesturedetect of Android

开发者 https://www.devze.com 2023-03-06 16:33 出处:网络
I am coding for Getsture Function of Android Phone. But I have the problem. When Drawing gesture on the screen, \"OnGesturePerformedListener\" Function is called late.

I am coding for Getsture Function of Android Phone. But I have the problem.

When Drawing gesture on the screen, "OnGesturePerformedListener" Function is called late.

This delaytime makes my apple seems having lack.

== xml code ================================================

<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"   
    >

=============================================================

I have coded along "http://android-developers.blogspot.com/2009/10/gestures-on-android-16.html"

Please Help me solve the probleam.

0

精彩评论

暂无评论...
验证码 换一张
取 消