Chiranjib
Chiranjib

Reputation: 369

Need GestureColor as transparent

I am implementing Gesture in my Activity in Android. Every time I am performing a Gesture, a yellow line is being drawn on the screen.

How would I set the GestureColor to transparent?

Upvotes: 0

Views: 351

Answers (2)

CeeDubu
CeeDubu

Reputation: 11

Try setting .setGestureVisible to false.

Upvotes: 1

Sephy
Sephy

Reputation: 50402

You might want to look at GestureOverlayView instead of just Gesture. With this class, you can easily put a color to the Gesture using setGestureColor. Check here for doc.

Upvotes: 0

Related Questions