手势和颜色绘制 [英] Gestures and color drawing

查看:149
本文介绍了手势和颜色绘制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的活动之一,检测手势 - 我使用它通过照片导航。每次我做了个手势,黄线正在绘制在屏幕上。有什么办法来设置<一个href=\"http://developer.android.com/reference/android/gesture/GestureOverlayView.html#attr_android%3agestureColor\"相对=nofollow> GestureColor 透明?

I am detecting gestures on one of my activities - I am using it to navigate through photos. Every time I am doing a gesture, yellow line is being drawn on the screen. Is there any way to set GestureColor as transparent?

推荐答案

如果你写#aarrggbb,然后AA重新present透明度形式的颜色。因此,颜色为#00000000是完全透明的。

If you write the color in the form of "#aarrggbb", then 'aa' represent the transparency. Thus the color #00000000 is completely transparent.

这篇关于手势和颜色绘制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆