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. How to consume objects from an external package

Hi,
I develop an on screen keyboard. This keyboard support several layouts
(english, hebrew, russian, azerty, etc), and support suggestions for
some of them.
As you can understand, if I want to continue to extend the support to
more and more languages, I'll end up with a huge APK file.
So I started to look for a way to consume objects from external
package. e.g., let say the user wont english and hebrew support, then
all he/she needs to do, is to install the my keyboard application, and
then install the language packages he/she are interested in, and the
main keyboard application will consume the concrete keyboard objects
from the external packages.

Is something like that possible in Android? Can I load/instantize a
type from another package?

Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. Views not getting Clear

Hi,

I am using 5 views in one LinearLayout my app.While going to each view
i am removing previous view by calling
linearlayout.removeAllView().
But I think this is not removing my previous view becoz when i checked
memory usage.My app memory is keep on growing.and Becoz of this i am
getting low memory :no more background process error and after
sometime app is getting hang and then it is exiting.Please help me to
solve this problem.How can we clear memory or how can we remove
view.Its very urgent.I am using system.gc() and also i cleared object
also but no use...

I tried to use different activity for each View but at that time low
memory is coming immediately.

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

3. Anyone else not entering ADC2

4. How to create button with icon and text

5. Query: Packing resources into an APK

6. Application upgrade permissions UI

7. my G1 Dev Phone has a serious "Low on Space" problem.