Hello. Very interesting, but how do markup work? LinearLayout , for example. After all, when we write

 android:layout_width="match_parent" 

And indeed, any attributes .... In the LinearLayout class, LinearLayout all this readable and how is it drawn? Is it possible to coordinate? Lyout s, like any other widgets, are inherited from View , and then what? Where is the end? Where is the class for drawing? If the coordinates, then what kind of monsters wrote an android? Just can not imagine, it's tin.

  • one
    What if you look at the source code for the View class (or ViewGroup in the case of containers) and its heirs, for example, the same LinearLayout - pavlofff
  • one
    In general, the device widgets are described quite well "from the inside" in the documentation by the example of creating your own widget class - pavlofff

0