Hi Kumar and Kostya, thanks for your quick replies. Kumar, I did wonder if text colour could be an issue, but surely the standard styling should work consistently throughout all devices and OS versions, right? Note that I have not set a custom text colour.
Kostya, this is indeed on Droid X -- do you have any insights for that? I don't know which Android OS version (the user has not replied to my requests for this info). I also don't have a Droid X available so can't reproduce. Best, Michael. On Jan 17, 6:41 pm, Kostya Vasilyev <[email protected]> wrote: > Is this on the Droid X ? > > 2011/1/17 Kumar Bibek <[email protected]> > > > > > Well, it's just a problem of wrong text color on a custom UI from the > > manufacturer. Ask the user for the model of his phone and the OS version. I > > am sure, you can reproduce the problem on a similar device. > > > Say, for example, your spinner items text color is black, which you have > > mentioned, and the default spinner layout that the custom UI uses has a > > black background, do you see the problem? > > > Kumar Bibek > >http://techdroid.kbeanie.com > >http://www.kbeanie.com > > > On Mon, Jan 17, 2011 at 11:50 PM, michael < > > [email protected]> wrote: > > >> Hello, > > >> One of my users has reported a mysterious behaviour with a spinner > >> which I so far have been unable to reproduce. When pressing the > >> spinner, a list of blank (empty) items appears. Only when selecting an > >> item does the spinner display the relevant text associated with the > >> item. The number of blank lines correctly corresponds to the expected > >> number of items in the spinner. > > >> Here is the code I use for populating the spinner, which is executed > >> in the onPostExecute method of an AsyncTask: > > >> String[] spinnerArray = new String[]{...}; // array contents omitted. > >> ArrayAdapter<String> adapter = new ArrayAdapter<String>(ctx, > >> android.R.layout.simple_spinner_item, spinnerArray); > >> spinner.setAdapter(adapter); > >> spinner.setSelection(0); > > >> This is pretty standard as far as I can tell. > > >> Has anybody encountered behaviour similar to what is described above? > >> Any idea what might be going wrong? > > >> Any suggestions would be greatly appreciated. > > >> Best, > >> Michael. > > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Android Developers" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > >> [email protected]<android-developers%2Bunsubs > >> [email protected]> > >> For more options, visit this group at > >>http://groups.google.com/group/android-developers?hl=en > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%2Bunsubs > > [email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

