https://kotlinlang.org logo
#anko
Title
# anko
a

anthaugh

05/30/2017, 4:02 PM
how can I apply bottomMargin recursively? I can set width and height like this
Copy code
applyRecursively { v: View ->
                when (v) {
                    is EditText -> v.lparams(matchParent, wrapContent) { bottomMargin = dip(8) }
                     }
                }
but the margin isn't set. How should I code this?
2 Views