updateMargins

fun View.updateMargins(start: Int = 0, top: Int = 0, end: Int = 0, bottom: Int = 0)
fun View.updateMargins(margin: Int)

Updates layout margins with the given values

Throws