Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Friday, January 20, 2012
Google MapView Invalid child element
Layout element is uderlined blue as invalid child element in VS2010. Mono.Android.GoogleMaps library present in References. How to get rid of that warning?
You should be able to ignore that as the project should still build correctly. The "intellisense" for layout files is just done through an XML schema (hence the axml extension, to distinguish it from other XML files). I'm guessing that the provided schema doesn't include the Map element.
The best check for seeing if your resource files are valid is building the project, since that's when they're run through the Android resource tools.
You should be able to ignore that as the project should still build correctly. The "intellisense" for layout files is just done through an XML schema (hence the axml extension, to distinguish it from other XML files). I'm guessing that the provided schema doesn't include the Map element.
ReplyDeleteThe best check for seeing if your resource files are valid is building the project, since that's when they're run through the Android resource tools.