如何清除姿态在android系统? [英] How to clear the gesture in android?

查看:122
本文介绍了如何清除姿态在android系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个gestureview,我可以在它画任何东西,但我想提出另一个图形我需要清除该活动的手势。我用了一个明确的按钮,但我不能想出这样做确切的方法。

I have a gestureview and i can draw anything in it, but when i want to put another drawing I need to clear the gesture on that activity. I used a clear button, but I cant figure out the exact method to do it.

推荐答案

处理程序 GestureOverlayView

public void onGesturePerformed(GestureOverlayView gestureView,Gesture gesture) {
    gestureView.setFadeEnabled(true);
}

这篇关于如何清除姿态在android系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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