开发者

Where can I find a spinner wheel tutorial?

I've been checking out the spinner wheels at http://code.google.com/p/smooth-wheel/ and it's exactly what I'm looking for - spinner wheels like the HTC Sense alarm clock setting. But I want to learn how to do this and not just implement and use it.

The code to the spinner wheels mentioned above are a bit much when trying to l开发者_JS百科earn so I'm wondering if anyone knows of a step by step tutorial that shows how to create my own spinner wheels that I can build on?


Here is a tutorial about it: http://android-devblog.blogspot.com/2010/05/wheel-ui-contol.html (scroll to the end for the "See also" section)

But mostly you should read about drawing on the Canvas and implementing a good OnTouchListener. With those two concepts you will find that implementing such wheel it's not really difficult.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜