Unable to resolve color value
<p>I am trying to make my buttons change the color of their text when it is pressed but i ran into a problem that i cant solve. I get an error saying "unable to resolve color value" then it gives me the path to the file. here are my files im using</p>

<p>This one is in a new folder named color under resources and its called button</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
&lt;item android:state_pressed="true" android:color="#ffff0000" /&gt;
&lt;item android:state_focused="true" android:color="#ff0000ff" /&gt;
&lt;item android:color="#ff000000" /&gt;
&lt;/selector&gt;
</code></pre>

<p>And </p>

<pre><code>&lt;Button android:text="Main Menu" android:textColor="@color/button"
    android:layout_width="200px" android:id="@+id/mainmenu"
    android:layout_height="55px" android:layout_x="5dip"  
    android:layout_y="174dip"
    android:textSize="18px"&gt;
 &lt;/Button&gt;
</code></pre>

<p>its driving me crazy if anybody could help me.</p>
