addChildView

fun addChildView(view: View, index: Double = definedExternally)(source)

If the same View is added to a parent which already contains it, it will be reordered such that it becomes the topmost view.