Question: We are trying to change the color of the text within a spinner.

This is the XML in our activity layout:

```
        <Spinner
            android:id="@+id/SpinnerFeedbackType"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:entries="@array/feedbacktypelist"
            android:textColor="@color/white" >
        </Spinner>

```

This is the strings.xml

```
<color name="white">#FFFFFF</color>

<!-- Other string resources also dfined in this file… -->
<string name="feedbacktype1">www.currycottageferndown.co.uk</string>
<string name="feedbacktype2">192.168.1.1</string>
<string name="feedbacktype3">8.8.8.8</string>
<string name="feedbacktype4">www.bournemouth.ac.uk</string>

```

The color remains black.

We don't have an array adapter for some reason, this is our spinner code.

```
Spinner feedbackSpinner = (Spinner) findViewById(R.id.SpinnerFeedbackType);
            final String feedbackType = feedbackSpinner.getSelectedItem().toString();

```

Any ideas?

Answer: 
Try

```
NSLog(@"Time zone : %@",[[NSTimeZone localTimeZone] name]);

```
Use this code .

```
[[NSTimeZone localTimeZone] localizedName:NSTimeZoneNameStyleGeneric locale:[NSLocale systemLocale]];

```