When are child views added to Layout/ViewGroup from XML
Posted
by
JohnTube
on Stack Overflow
See other posts from Stack Overflow
or by JohnTube
Published on 2013-06-27T03:32:09Z
Indexed on
2014/08/24
4:20 UTC
Read the original article
Hit count: 291
My question is : I want to know when does a xLayout (or ViewGroup in general) add a child view from XML ? And by "when" I mean at what point of code, in what "pass" of the "traversal" of the UI toolkit ? Which method of xLayout or ViewGroup should I override ?
I have done my homework : I have watched the "Writing Custom Views For Android" presented (by Adam Powell and Romain Guy) in the last Google I/O and I have read Adam Powell comments on this Google+ post.
© Stack Overflow or respective owner