开发者

Android Gestures over an image [closed]

As it currently stands, this question is not a good fit for o开发者_开发问答ur Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

I'm continuing my learning with android and have now reached the point where I'm plating with gestures.

What I have so far is a activity screen and I can pop a Toast up when the gesture pattern is recognised.

What I'd like to do is display an image centre screen, which in this case will be a image of the gesture for the user to copy. I'd also like the image to be the only area for the gesture detection. This would me the user loosely traces the gesture, although following the guide exactly is not what I'm trying to achieve.

I think I need to extend ImageView with a GestureListener, but I'm a little unclear on how to do that. Could anyone supply and example or point me to a good tutorial please?

Thanks in advance,

Ric


Click here to get sample codes on guesture listeners with image view.

Also you click here to get tutorial on guesture listener

Thanks Deepak


you can use this tutorial.

I hope that help you.


This tutorial will teach you the basics about what you want to do.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜