开发者

Need GestureColor as transparent

开发者 https://www.devze.com 2023-01-10 13:46 出处:网络
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.开发者_JS百科

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.

开发者_JS百科

How would I set the GestureColor to transparent?


Try setting .setGestureVisible to false.


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.

0

精彩评论

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