I have tried How to change spinner text color to no avail.
I am trying to change the text color in a Spinner element.
Array adapter:
ArrayAdapter<String> dataAdapter = new ArrayAdapter<String>(this,
android.R.layout.hour_spinner, hourList);
hour_spinner:
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#000000"
android:textSize="20sp" />
Intellisense does not recognize the R.layout.hour_spinner
It is the layout folder. Any idea why the hour_spinner is not found by the code?