简体   繁体   中英

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 learn 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM