Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the schemas for XML files on an Android project?

Where are the schemas (DTD or XML schema) for the XML files used on Android like AndroidManifest.xml or the layouts?

like image 524
pupeno Avatar asked Mar 03 '09 06:03

pupeno


People also ask

How do I find the XML Schema file?

With the desired XML document opened in the active editor tab, choose Tools | XML Actions | Generate XSD Schema from XML File on the main menu. The Generate Schema From Instance Document dialog box opens. and select the desired file in the dialog that opens.

What is the location of the color XML file in the Android project?

xml" file located at res\values\colors.

What are Android schemas?

This object represents a set of constraints that can be checked/ enforced against an XML document. A Schema object is thread safe and applications are encouraged to share it across many parsers in many threads. A Schema object is immutable in the sense that it shouldn't change the set of constraints once it is created.


1 Answers

The schemas don't exist as an xml file. Schemas are dependent upon what UI classes your program uses. There's a slightly better discussion here.

like image 126
Will Avatar answered Sep 18 '22 22:09

Will