setPaddingRight

fun View.setPaddingRight(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 right padding is set to 0.