swapChildren

fun swapChildren(view1: View, view2: View)

Swaps the order of two child Views view1 and view2. If view1 or view2 are not part of this container, this method doesn't do anything.