This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not sure whats wrong in my main.xml file  RSS feed

 
Tom Mordon
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to get google maps v2 to work. The problem is in the main.xml file. It doesn't like line 3 in the main.xml file: xmlns:map="http://schemas.android.com/apk/res-auto" any thoughts I thought it should be fine since this is part of the node that tells it the map is ok. At a loss at this point any suggestions?

Its giving me the error message: "Unexpected namespace prefix "xmlns" found for tag fragment"




java activity file:



Manifest file:
 
Bill Mote
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tom Mordon wrote:It doesn't like line 3 in the main.xml file: xmlns:map="http://schemas.android.com/apk/res-auto"


I have a working example of maps v2 and I do not have that line in my layout XML.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!