setLayoutMarginStart

fun View.setLayoutMarginStart(margin: Int?)

Set the relative start margin of the View to the given margin, if margin is not null. If margin is null, the relate start margin of the view is not set.

See also