core-ktx / androidx.view / android.view.View / updatePadding

updatePadding

inline fun View.updatePadding(@Px left: Int = paddingLeft, @Px top: Int = paddingTop, @Px right: Int = paddingRight, @Px bottom: Int = paddingBottom): Unit

Updates this view's padding. This version of the method allows using named parameters to just set one or more axes.

See Also

View.setPadding