How to get a "vertical spinner" like used in TimePicker?

by Eugene M » Wed, 04 Mar 2009 23:51:12 GMT


Sponsored Links
 Hi everyone,

The TimePicker widget includes two "vertical spinners" that let the
user pick the hour and minute. How can I make my own "vertical
spinner" to let the user pick an arbitrary number from a range of
values? The available Spinner class is more like a drop-down list,
while I want something that has a number in the middle and + and -
buttons on either side to increase or decrease the value. Does this
kind of widget exist? Or do I have to roll my own with a text field
and two buttons?

Thanks!

--~--~---------~--~----~------------~-------~--~----~



How to get a "vertical spinner" like used in TimePicker?

by $搂Kalle搂$ » Thu, 05 Mar 2009 03:24:24 GMT


 Hola Eugene,

have a look at the discussion under the topic"Reusing the +/- number
spinner from TimePickerDialog?"

Ciao Wolfgang



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


How to get a "vertical spinner" like used in TimePicker?

by Eugene M » Thu, 05 Mar 2009 05:03:56 GMT


 Thanks! In case its of interest to others, that thread is here:



Other Threads

1. SoftKeyboard with transparent background

Hi,

I have written a new keyboard by extending the SoftKeyboard provided
as example.

I wanted to have a transparent background so I included a transparent
png as background.  This worked for some apps but for many others it
did not.

How can I make it work for all ? Am I missing something  ?

Regards,
Pradeep

-- 

2. [WTA] Apakah Android (HTC) hanya support 1 email account exchange?

Barusan coba untuk add account (yg kedua) untuk email Exchange ActiveSync
(email kantor)

Tapi kok bisa ya, yg keluar malah option utk edit setting account yg sudah
ada

Apakah memang cuma bisa support 1 account saja?

Gimana ya caranya?

Thx

# Pake HTC Legend, Froyo, unroot

-- 
"

3. Voodo Control

4. Prices on Market App vs. Market Website

5. Activity#onRetainNonConfigurationInstance vs Fragment#setRetainInstance

6. about single user login in android

7. Sync. Account Gmail Error