for (int i = 0; i < views.length; ++i) views[i].setParent(this);
  public void replace(int offset, int length, View[] views)  {    View[] newChildren = new View[children.length - length + views.length];    System.arraycopy(children, 0, newChildren, 0, offset);    System.arraycopy(views, 0, newChildren, offset, views.length);    System.arraycopy(children, offset + length, newChildren,                     offset + views.length,                     children.length - (offset + length));    children = newChildren;  }