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%[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

Reply via email to