main.xml: Failed to parse file
<p>I'm developing a test application for Android, and I'm trying to add a custom image to a button. But when I try to save I get the error "main.xml: Failed to parse file C:\Program Files\Eclipse Workspace\App\res\drawable\custom_button.xml". I don't know how to solve it. I think both main.xml and custom_button.xml are correct.</p>

<p>custom_button.xml: </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:drawable="@drawable/button_pressed"
          android:state_pressed="true" /&gt;
    &lt;item android:drawable="@drawable/button_normal"
          android:state_focused="true" /&gt;
    &lt;item android:drawable="@drawable/button_normal" /&gt;
&lt;/selector&gt;
</code></pre>

<p>main.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;

&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" &gt;

&lt;Button
    android:id="@+id/button1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" 
    android:background="@drawable/custom_button"/&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>For making this, I followed these two tutorials:
<a href="http://developer.android.com/resources/tutorials/views/hello-formstuff.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-formstuff.html</a></p>

<p>And:
<a href="http://developer.android.com/reference/android/widget/Button.html" rel="nofollow">http://developer.android.com/reference/android/widget/Button.html</a></p>
