setPaddingTop

fun View.setPaddingTop(paddingPx: Float?)

Sets the top 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 top padding is set to 0.