common-ktx

//library/ss_n.common_ktx.extension/setMarginRes

setMarginRes

[androidJvm]
fun View.setMarginRes(@DimenResleftRes: Int? = null, @DimenRestopRes: Int? = null, @DimenResrightRes: Int? = null, @DimenResbottomRes: Int? = null)

Set Margin to View

Parameters

androidJvm

   
leftRes value is DimensRes
topRes value is DimensRes
rightRes value is DimensRes
bottomRes value is DimensRes