tags:

views:

304

answers:

2

Hi all,

I am trying to design a widget which looks like the "spinning wheel" (I am not sure it is appropriate name for it) widget that you can use to set up alarms or counters on the clock app provided with HTC Hero. For those who do not know this application, this widget is made up with wheels that you scroll to specify hours, minutes, seconds. I think it could be something like a kind of listview with a mask on it that isolate the selected element or a costumized timePicker but I do not manage to implement my widget from them and I did not find any tutorial on this topic.

Is there an easy way to do this based on ListViews?

Anyone has got an idea?

Thanks !

A: 

You can use Date and Time Dialogs

check my post on these controls http://android-pro.blogspot.com/2010/04/android-date-and-time-controls.html

Mina Samy
It is not what I'm looking for. I do not want to pick a particular time of day but rather a time span of hours and minutes. The spinning wheels I'm thinking of does not have the + and - button.Thanks anyway.
Jörgen
+2  A: 

My wheel control may help you. Please look at http://code.google.com/p/android-wheel/

kankan
Looks good! I will try it. Thanks!
Jörgen
nice one. thanks
bb