Change text color of selected item in spinner

后端 未结 14 1540
情深已故
情深已故 2020-11-29 06:17

How can I change the font color of the selected item in a spinner?

I am able to change the background color of the selected item, the color of the dropdown item etc,

14条回答
  •  鱼传尺愫
    2020-11-29 06:49

    You don't need java code for background color change in Android 2.3v. Just add android:background="#F0F8FF" to your spinner in xml file.

提交回复
热议问题