fillMarginLayoutParams

open fun fillMarginLayoutParams(view: View, params: ViewGroup.MarginLayoutParams, widthHint: Int, heightHint: Int)

Fills the margin fields of the passed ViewGroup.MarginLayoutParams object based on currently set percentage values and the current layout direction of the passed View.


open fun fillMarginLayoutParams(params: ViewGroup.MarginLayoutParams, widthHint: Int, heightHint: Int)

Deprecated

Deprecated

Use fillMarginLayoutParams for proper RTL support.