Hi,
I have an app that need to have the ability to let the customer to sign on it.
so i am using the GestureDetector lib.
I create the GestureDetector on a label wich the customer need to sign on it.
the problem is that the label is on a scrollview so when i am trying to sign on the label,
the scrollview is moving and I cannot sign on the label.
Is there a way to disable the scrolling while signing
Hi Erel,
Sorry but I was not able to solve it.
I also notice that the event lbl_Touch is not working at all.
So I did as you ask , and attached a small app with a lable.
Sorry but still not working for me.
I tries to put it in the Gesture_onPointerDown and Gesture_onPointerUp
I also tried to use Reflector and it is not working.
Sub Gesture_onTouch(Action As Int, X As Float, Y As Float, MotionEvent As Object) As Boolean
If Action=GD.ACTION_DOWN Then
Dim jo As JavaObject = SV
jo.RunMethod("requestDisallowInterceptTouchEvent", Array(True))
Else If Action = GD.ACTION_UP Then
Dim jo As JavaObject = SV
jo.RunMethod("requestDisallowInterceptTouchEvent", Array(False))
'Removes the first painter from the list
Gesture_onPointerUp(0, 0, MotionEvent)
End If
Return True
End Sub