[android-developers] Re: spinners?

2012-07-02 Thread Cezar Signori
Nope. I do as well. I hope someone can answer this for you. I don't know if this is what you are looking for, but you can have a spinner by declaring a progressbar with the style Small. Like this: Em segunda-feira, 2 de julho de 2012 12h34min21s UTC-3, bob escreveu: > > Am I the only one wh

[android-developers] Re: Spinners - Saving and Retrieving selection information to DB

2012-01-08 Thread swebb99
Actually it's easier than I thought. ArrayAdapter takes an array of objects so I can create a simple object that holds the displayable string and the associated value, the tostring() on it will return the displayable string, the getValue() returns the associated value. I then code a simple method t

[android-developers] Re: Spinners - Saving and Retrieving selection information to DB

2012-01-08 Thread swebb99
Im now thinking the way to do this is to take the position of the item selected from the spinner use this as an index in to an associated values array as already mentioned in my last reply, this will then give a value that can be stored. On the reverse route the value fetched from the database will

[android-developers] Re: Spinners - Saving and Retrieving selection information to DB

2012-01-08 Thread swebb99
> when you are adding new items to your SpinnerAdapter just make sure > than new items have unique ids and store in the database ids not > positions Mmmm when you say id's I'm a little unclear what you mean. I define in an array.xml file the following box foil tree

[android-developers] Re: Spinners - Saving and Retrieving selection information to DB

2012-01-08 Thread skink
swebb99 wrote: > > Any tips would be gratefully when you are adding new items to your SpinnerAdapter just make sure than new items have unique ids and store in the database ids not positions pskink -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] Re: Spinners showing text in white with white background!

2010-06-20 Thread Gabriel Simões
Still thinking about how I will solve this problem. I would like to keep using spinners ... and I can´t find a tutorial on how to create a custom layout for the spinner´s options list. The usage of textviews + listviews is not as intuitive as a spinner Is there a way to use simple_spinner_dr

[android-developers] Re: Spinners showing text in white with white background!

2010-06-14 Thread Gabriel Simões
Well, I guess I will switch to textviews + listviews on onclick events. This way I can control everything using only default widgets ... indeed spinners don´t look that good (but are instinctive ...) thanks! On 14 jun, 02:47, Bob Kerns wrote: > If you do that, then users will complain that your

[android-developers] Re: Spinners showing text in white with white background!

2010-06-13 Thread Bob Kerns
If you do that, then users will complain that your spinners are different than every other app on their device. Once device manufacturers start pulling stuff like this, there's no hope for us poor developers. Or our users. On Jun 13, 8:58 pm, Kumar Bibek wrote: > A better approach would be to cr

[android-developers] Re: Spinners showing text in white with white background!

2010-06-13 Thread Kumar Bibek
A better approach would be to create your own spinner adapter with a custom layout. If you try to use the androids', they might have been modified by the device manufacturers. And you wont have any control over that. Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Jun 14, 6:46 a

[android-developers] Re: Spinners showing text in white with white background!

2010-06-13 Thread Gabriel Simões
Thanks... While this may work ... there´s a button in the list that appears also in the widget before the choosen option´s text. My spinner is small so the text doesn´t even appear. I guess I will have to give up the spinner . Thanks, Gabriel On 13 jun, 01:03, Seni Sangrujee wrote: > I ran

[android-developers] Re: Spinners showing text in white with white background!

2010-06-12 Thread Seni Sangrujee
I ran into complaints from Motorola Backflip users about white on white spinners. My workaround was to give up on the svelte simple_spinner_items and use the big and beautiful simple_spinner_dropdown_items. // adapter.setDropDownViewResource(android.R.layout.simple_spinner_item); adapter.setDropD

[android-developers] Re: Spinners

2009-12-30 Thread estivenrpo
Hi Duey, are you try to use diferents ids for each spinner like android:id="@ +id/spinner1", android:id="@+id/spinner2", etc...? Greetings, Estiven Restrepo On Dec 29, 2:47 pm, Duey Oxburger wrote: > Hey All, > > A spinner question: > > I want to have multiple spinners working in the same view

[android-developers] Re: Spinners

2009-12-29 Thread Christine
Just a piece of advice, when you have so many seemingly identical textviews and spinners, it may be convenient for you to put the attrebutes in a style and associate the styles with the spinner and the textview. That way, you can change the layout and settings of all spinners and textviews in one p

[android-developers] Re: Spinners

2009-12-29 Thread Brion Emde
At least one of your Spinners has android:layout_height="fill_parent". that could mess you up. On Dec 29, 12:47 pm, Duey Oxburger wrote: > Hey All, > > A spinner question: > > I want to have multiple spinners working in the same view.  In my > list, the first spinner works, but the others are emp