如何清除姿态在android系统? [英] How to clear the gesture in android?
本文介绍了如何清除姿态在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屋!
查看全文