I am generating a Spinner without using an Adapter. The problem is that the items in the Spinner are not getting the desired color I want to set. How to do it? I have the following Spinner in my activity:
Spinner spinner = (Spinner)findViewById(R.id.spinner1);
And here is the Xml declaration of the Spinner
<Spinner
android:id="@+id/spinner1"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:prompt="@string/Select"
android:entries="@array/profiles"
android:layout_alignParentLeft="true"
android:layout_below="@+id/editText1"
android:layout_marginTop="19dp"
android:textColor="@color/grey"
android:background="@drawable/backgroundpic" />