Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
LinkBack Thread Tools
Old June 24th, 2011, 09:16 PM   #1 (permalink)
Junior Member
Thread Author (OP)
Join Date: Jun 2011
Posts: 15
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Mad error: Error parsing XML: not well-formed (invalid token)

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"
android:state_selected="true" />
<!-- When not selected, use that-->
<item android:drawable="@drawable/tab_two_iconfaded" />

Lijap is offline  
Reply With Quote
sponsored links
Old June 25th, 2011, 03:19 AM   #2 (permalink)
Over Macho Grande?
alostpacket's Avatar
Join Date: Nov 2009
Location: NY
Posts: 7,920
Device(s): GlassXE, MotoX, N5, N4, N7'12, GNex, N1, SGT10.1, Revue, Xoom, Eris, OG Droid
Carrier: TMO

Thanks: 4,603
Thanked 3,578 Times in 1,530 Posts

could it be the &quot ?

I usually get that error when i have an ampersand somewhere -> &
alostpacket is offline  
Reply With Quote
android, auto, development, droid, error, file, frustrating, generated, parsing

Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 02:31 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.