setPaddingLeft

fun View.setPaddingLeft(paddingPx: Float?)

Sets the left padding of the View inside a ViewGroup to the given paddingPx. The fractional part, if any, is rounded down towards zero. If paddingPx is null, the left padding is set to 0.