XML: content is not allowed in trailing section
- by Capsud
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
android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/btn_orange" />
<item
android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/btn_orange" />
<item
android:state_enabled="true"
android:drawable="@drawable/btn_black" />
</selector>
Probably quite simple for you people who know XML. Any idea?