Text on spinner is white on a white background

后端 未结 8 1942
半阙折子戏
半阙折子戏 2020-12-13 09:01

The text on my spinners is white, and I have no idea why.

\"enter

This is my x

8条回答
  •  伪装坚强ぢ
    2020-12-13 09:58

    i change it from

    new ArrayAdapter(getApplicationContext(), android.R.layout.simple_spinner_item, some_list);
    

    to new ArrayAdapter(this, android.R.layout.simple_spinner_item, list);

    it's fixed, although i don't want to use "this"

提交回复
热议问题