Selector for View background - XmlPullParserException
<p>I need the background for my <code>TextView</code> was changed on touch event, so I have an <code>TextView</code> like this:</p>

<pre><code>&lt;TextView android:id="@+id/tv_password_data"
                    android:layout_width="wrap_content"                     android:layout_height="wrap_content"
                    android:background="@color/password_text"
                    style="@style/items_style" /&gt;
</code></pre>

<p>@color/password_text:</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="@color/title_color"/&gt; &lt;!-- pressed --&gt;
    &lt;item android:color="@color/text_color"/&gt; &lt;!-- default --&gt;
&lt;/selector&gt;
</code></pre>

<p>and I get exception like this:</p>

<pre><code>09-15 22:06:02.120: ERROR/AndroidRuntime(21006): Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: &lt;item&gt; tag requires a 'drawable' attribute or child tag defining a drawable
</code></pre>
