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

setPadding

inline fun View.setPadding(@Px size: Int): Unit

Sets the view's padding. This version of the method sets all axes to the provided size.

See Also

View.setPadding