Change text color for Android Spinner

Possible duplicate:
Closed counter text color

I only want to change the color of the text in the spinner. On Android 2.x, it works fine, but Android 4.0 always takes BLACK color. why?

My style:

    <style name="spinner">
        <item name="android:layout_margin">5dp</item>
        <item name="android:background">@drawable/spinner</item>
        <item name="android:textColor">#ffffff</item>
        <item name="android:paddingLeft">20sp</item>
    </style>

      

My counter:

<Spinner
   android:id="@+id/mensaSpinner"
   android:layout_width="fill_parent"
   android:layout_height="wrap_content"
   android:entries="@array/mensa_list"
   style="@style/spinner"
/>

      

+3
java android spinner


source to share


No one has answered this question yet

See similar questions:

22
Closed counter text color

or similar:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up the development of an Android emulator?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to persist android activity state by persisting instance state?
2097
Is there a way to run Python on Android?
1858
"Debug certificate expired" error in Android Eclipse plugins
1844
What is "Context" on Android?
377
Android Spinner: Get selected item change event
364
How do I change the font size and text color?



All Articles
Loading...
X
Show
Funny
Dev
Pics