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. Java, C, JNI, and libusb

I am currently developing an application for a device which talks
USB.  I realize that the easiest way would be to open a port as a
"file", but unfortunately the only way to do this is by scanning the
USB bus for a specific VID and PID to grab a handle to a USB device.

I am wondering what would be the best way to incorporate JNI here.  As
libusb is written in C, I am curious as to whether or not I should
"port" the existing code directly to JNI, that is, function by
function.  libusb 0.1 uses a lot of structs, which I was going to
convert to Java code by using classes to replace these structs.

This may be a little vague, but it is quite early in the morning and
my thinking cap isn't on very tight yet. :P


Thanks guys,

sws-vinpa.

-- 

2. Extract HTML from Android Browser

Is it possible to extract the HTML code of a webpage that is being
viewed in Android Browser?
Microsoft's Internet Explorer allows such action through a Browser
Helper Object (BHO).
Does Android's browser support a similar function?

Thank you

-- 

3. capturing canvas

4. Issues in debugging android webkit

5. Blocking current Activity/Screen till current task is complete

6. android.text.Selection: Reading and updating cursor position

7. Working on an Embedded/Mobile Device? Tell VDC about your experiences for a chance to WIN!