Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 530
Espen Avatar asked Jun 15 '11 21:06

Espen


1 Answers

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.

like image 167
Aleadam Avatar answered Sep 27 '22 02:09

Aleadam