January 2018
Intermediate to advanced
434 pages
14h 1m
English
In the following steps, we will learn how to set the layout parameters for Anko views:
val message = editText { id = R.id.message hint = "Your message"}.lparams(){ // We specify our layout parameters here}
verticalLayout { verticalLayout { background = context.getDrawable(R.color.colorLightGrey) ...
Read now
Unlock full access