我看到很多关于如何改变下拉框(Spinner)文本颜色的主题,但我不知道如何使用spinner_item.xml。
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="top"
android:singleLine="true"
android:textColor="@color/iphone_text" />
在Java代码中我应该做什么? 任何回复都将不胜感激。 请尽可能明确地回答并提供更多细节。