setLayoutMarginBottom

fun View.setLayoutMarginBottom(margin: Int?)

Sets the ViewGroup.MarginLayoutParams.bottomMargin of the View to the given margin. If margin is null, the bottom margin is set to 0.