How to change the Spinner font color?

后端 未结 8 1384
盖世英雄少女心
盖世英雄少女心 2020-12-01 06:34

I\'m having an issue with the Droid X phones where users say that the font color turns out to be white in the spinner, making it invisible unless the users highlight the ite

8条回答
  •  清歌不尽
    2020-12-01 07:02

    write a R.layout.simplespinneritem:

    
    
    

    The ID is android:id="@android:id/text1", set the color of font and background.

    ArrayAdapter adapter =
      new ArrayAdapter(this,packagename.R.layout.simple_spinner_item, spin_arry);
    

提交回复
热议问题