setMargins

open fun setMargins(start: Float = 0.0f, top: Float = 0.0f, end: Float = 0.0f, bottom: Float = 0.0f)

Updates each margin individually.


open fun setMargins(all: Float = 0.0f)

Sets a common size for each margin.