shb777 Active Member Licensed User Longtime User Sep 17, 2017 #1 I want to use gesturedetector 2.30 to allow user to change dji waypoint height and speed. The user can do this by swiping the pnlCamera. I use Code: Copy Gesture_onDrag to handle this. The problem is, it works fine when the drone isn't connected, but once the drone is connected, and showing video, it doesn't work. Anybody know why this would happed?
I want to use gesturedetector 2.30 to allow user to change dji waypoint height and speed. The user can do this by swiping the pnlCamera. I use Code: Copy Gesture_onDrag to handle this. The problem is, it works fine when the drone isn't connected, but once the drone is connected, and showing video, it doesn't work. Anybody know why this would happed?
Erel B4X founder Staff member Licensed User Longtime User Sep 17, 2017 #2 The view showing the camera stream is a special view. Try to put a transparent panel above it (not as a child view) and handle the gestures with that view. Upvote 0
The view showing the camera stream is a special view. Try to put a transparent panel above it (not as a child view) and handle the gestures with that view.
shb777 Active Member Licensed User Longtime User Sep 17, 2017 #3 Erel said: The view showing the camera stream is a special view. Try to put a transparent panel above it (not as a child view) and handle the gestures with that view. Click to expand... ok thanks I'll try that Upvote 0
Erel said: The view showing the camera stream is a special view. Try to put a transparent panel above it (not as a child view) and handle the gestures with that view. Click to expand... ok thanks I'll try that
shb777 Active Member Licensed User Longtime User Sep 17, 2017 #4 I added a panel and made it color drawable and set Alpha L to 0, assuming this is how you make the panel transparent. Changed my gesture listen to this panel. It didn't work. Same as before. Also added this Code: Copy PanelGesture.Color=Colors.Transparent Didn't help. Last edited: Sep 18, 2017 Upvote 0
I added a panel and made it color drawable and set Alpha L to 0, assuming this is how you make the panel transparent. Changed my gesture listen to this panel. It didn't work. Same as before. Also added this Code: Copy PanelGesture.Color=Colors.Transparent Didn't help.