[英]How Could I implement clockwise and counter clockwise gesture in android
We want to detect user finger gesture clockwise and counterclockwise like below shape.Also we want to trigger an action in clockwise motion in on 4 O'clock,and trigger an action in counterclockwise motion on 8 O'clock.我们想检测用户手指的顺时针和逆时针手势,如下图所示。此外,我们想在 4 点钟触发顺时针运动的动作,并在 8 点钟触发逆时针运动的动作。
we found some circular detection like This link and some other but They didn't helped us.我们发现了一些循环检测,比如这个链接和其他一些,但他们没有帮助我们。 How could we achieve this in android??我们怎么能在android中实现这一点?
Also in rounded Arrow we want to detect user gesture if on it and reaches 1 turn The first arrow on, then when user reaches 2 turn the second arrow on.同样在圆形箭头中,我们希望检测用户手势是否在其上并达到 1 次打开第一个箭头,然后当用户到达 2 时打开第二个箭头。 Rounded Arrow圆形箭头
Create two imaginary arc with the same radius.创建两个具有相同半径的假想弧。 Position them as you need and maintain them for different device resolution.根据需要放置它们并针对不同的设备分辨率维护它们。
Check for the following steps:检查以下步骤:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.