I tried just setting android:textColor="#FFFFFF"
and this didn't work so I checked other answers to the problem to find solutions.
I tried making a selector and then setting the android:textColor attribute to this selector:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_pressed="false" android:color="#ffffff" />
<item android:state_focused="true" android:state_pressed="true" android:color="#ffffff" />
<item android:state_focused="false" android:state_pressed="true" android:color="#ffffff" />
<item android:color="#ffffff" />
</selector>
That didn't work either.
I tried setting the text color programmatically:
verifyButton.setTextColor(getApplication().getResources().getColor(R.color.white));
That didn't work either. The button text color is a dark grey and I can't seem to change it to white.