1 Replies - 227 Views - Last Post: 05 May 2013 - 12:13 PM

Activity Main XML

Posted 05 May 2013 - 12:12 PM

I downloaded Eclipse and I bought this book called Android Application Development For Dummies that I downloaded as a pdf from the internet. The Problem is when I go to my Eclipse IDE and try to edit my code like it shows in the book it doesn't work. I noticed that my Eclipse Environment is set up a little differently then there's and i think that might be because the book is like two years old and i have a newer version of eclipse. The files are also named differently in my version of eclipse it says activity_main.xml in my layout folder except for just main.xml and my xml tags are <RelativeLayout > and not <LineareLaytout> like in the book but when i copy and paste there code in Eclipse exactly like they have it, it shows the following error message -- (the value following "version" in the XML declaration must be a quoted string )