well the lparams are wrong there :slightly_smiling...
# anko
d
well the lparams are wrong there 🙂 in this case you probably has to have instead
layoutParams = MarginLayoutParams(wrapContent, wrapContent).apply { bottomMargin = dip(5) }