code: def child_added(self, child):
          
          super(AndroidViewGroup, self).child_added(child)
  
          widget = self.widget
          #: TODO: Should index be cached?
          for i, child_widget in enumerate(self.child_widgets()):
              if child_widget == child.widget:
                  if child.layout_params:
                      widget.addView_(child_widget, i,
                                               child.layout_params)
                  else:
                      widget.addView(child_widget, i)
docs: Handle the child added event from the declaration.
  
          This handler will unparent the child toolkit widget. Subclasses
          which need more control should reimplement this method.