Text on spinner is white on a white background

后端 未结 8 1957
半阙折子戏
半阙折子戏 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

    Maybe you have a white android:textColor="@android:color/white" attribute in your simple_spinner_item.xml in the layout folder of your project.

    Better use a custom spinner item layout with a good android:textColor="@android:color/COLOR_YOU_WANT_TO_USE" attribute.

提交回复
热议问题