centerOn

fun <T : View> T.centerOn(other: View): T

Chainable method returning this that sets View.xD and View.yD so that this View is centered on the other View