Guest User

Untitled

a guest
Oct 16th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. verticalLayout {
  2. padding = dip(20)
  3. ...
  4. val username = editText {
  5. id = R.id.usernameEditText
  6. hintResource = R.string.sign_in_username
  7. }.lparams(width = matchParent, height = wrapContent)
  8.  
  9. val password = editText {
  10. id = R.id.passwordEditText
  11. hintResource = R.string.signIn_password
  12. }.lparams(width = matchParent, height = wrapContent)
  13.  
  14. button {...}.lparams(width = matchParent, height = wrapContent)
  15. }.applyRecursively { view ->
  16. when (view) {
  17. is EditText -> view.textSize = 24f
  18. }
  19. }
Add Comment
Please, Sign In to add comment