error: Error parsing XML: not well-formed (invalid token)


  1. Lijap

    Lijap Member

    I cant seem to figure out this problem, in two of my xml files(this is one, the other is very similar and has the exact same problem) the line that says android:state_selected="true" /> has the error that is in the title. The true" is doesn't have the blue color to it like it should. Because of this I have no Auto generated file which is messing up the rest of my application. Does anyone know how to solve this? Be warned I am new to android development.





    <?xml version="1.0" encoding="utf-8"?>
    <selector xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- When selected, use this -->
    <item android:drawable="@drawable/tab_two_icon&quot;
    android:state_selected="true" />
    <!-- When not selected, use that-->
    <item android:drawable="@drawable/tab_two_iconfaded" />
    </selector>

    Advertisement
    :
  2. alostpacket

    alostpacket Over Macho Grande? VIP Member

    could it be the &quot ?

    I usually get that error when i have an ampersand somewhere -> &
Loading...
Similar Threads
  1. l4nce0
    Replies:
    0
    Views:
    568
  2. l4nce0
    Replies:
    4
    Views:
    3,746

Share This Page