Got a problem that I can’t figure out what’s causing it: wherever I drag my cursor in the app, a line is drawn in yellow. Once I drop the cursor, that line disappears.
Here’s a screencap of the virtual device (it happens on the real devices as well):
http://resources.reament.com/screencaps/20120308_1246.png
As you can imagine, I would like to stop drawing any lines. Any ideas?
Thanks in advance,
Alejandro.
You’re using a GestureOverlayView. It defaults gestures to visible, meaning it shows what you drew. Grab it and call setGestureVisible(false).
Poke around in here, you can change the style to suit, or just hide it. http://developer.android.com/reference/android/gesture/GestureOverlayView.html