verticalLayout {
style { //no name style, apply to all the TextView
textSize = xxxx
textColor = xxxxx
}
style("style1") { //named style, apply to the TextView with style = "style1"
textSize = xxxx
textColor = xxxxx
}
editText {
style = "style1" //only apply style1 and no name style
}.lparams(width = matchParent)
editText { // will only apply no name style
}
}