In How Android Draws Views:
"Because the tree is traversed in-order, this means that parents will be drawn before (i.e., behind) their children, with siblings drawn in the order they appear in the tree."
Does the author actually mean "pre-order", instead of "in-order"?
Thank you for your help.
It's more like "depth-first order" for measuring the children and "pre-order" for the actual drawing. The parent will be drawn first and the children stacked on top of the parent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With