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

setPadding

fun View.setPadding(size: Int): Unit

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

See Also

View.setPadding