Parsing occurs both at runtime and at compile time for different purposes. First, compilation typically uses layouts and drawings, which are analyzed for rendering by the layout editor and to add identification links for the code. Styles, themes, and attributes are also collected at this point, which allows you to use a very powerful set of XML resources.
Analysis of runtime occurs for each resource, "on the fly" and as necessary. This is achieved using several classes of inflatable elements and other supporting classes.
Dan s source share