I am trying to change the text color of spinner because my linear layout is white and the text colour is not visible on it . I have added the code for that but it's not working.
<Spinner
android:id="@+id/spinner1"
android:layout_width="fill_parent"
android:layout_height="40dp"
android:layout_marginTop="15dp"
android:background="#f3f3f3"
android:entries="@array/secret_arrays"
android:focusableInTouchMode="true"
android:paddingLeft="5dp"
android:prompt="@string/secret_prompt"
android:spinnerMode="dialog"
android:textColor="#000000" />