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

updatePaddingRelative

inline fun View.updatePaddingRelative(@Px start: Int = paddingStart, @Px top: Int = paddingTop, @Px end: Int = paddingEnd, @Px bottom: Int = paddingBottom): Unit

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

See Also

View.setPaddingRelative