XML: Having trouble solving this XML error here..

Posted by Capsud on Stack Overflow See other posts from Stack Overflow or by Capsud
Published on 2010-05-31T23:48:20Z Indexed on 2010/05/31 23:53 UTC
Read the original article Hit count: 395

Filed under:

Hi i'm getting these errors

Multiple annotations found at this line: - error: Error parsing XML: not well-formed (invalid token) - Content is not allowed in trailing section.

on this XML file...

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item 
android:state_enabled="false"
    android:drawable="@drawable/btn_red">
    </item>
<item 
    android:state_pressed="true" 
    android:state_enabled="true"
    android:drawable="@drawable/btn_orange">
    </item>
<item 
    android:state_focused="true" 
    android:state_enabled="true"
    android:drawable="@drawable/btn_orange">
    </item>
<item 
    android:state_enabled="true"
    android:drawable="@drawable/btn_black">
    </item>

probably quite simple for you people who know XML. Can you help me please? Thanks.

© Stack Overflow or respective owner

Related posts about Xml