centerXBetween

fun <T : View> T.centerXBetween(x1: Double, x2: Double): T

Chainable method returning this that sets this View in the middle between x1 and x2


fun <T : View> T.centerXBetween(x1: Float, x2: Float): T
fun <T : View> T.centerXBetween(x1: Int, x2: Int): T