!7 p { EditText tvEmail, tvPW; TextView tvResult = aLabel(); aShow(aVerticalStack( aForeground(aBlack(), aBold(aFontSize(24, aCenteredTextView("Register for your personal assistant!")))), aVerticalSpacer(50), aBold(aFontSize(20, aCenteredTextView("Your e-mail address:"))), aCenterTextView(tvEmail = aTextInput("info@info.info")), aVerticalSpacer(25), aFontSize(20, aCenteredTextView("Please choose a password:")), aCenterTextView(tvPW = aPasswordInput()), aVerticalSpacer(30), aButton("Log in", r { final Button btn = heldInstance(Button); thread { temp aTempDisable(btn); temp aTempSetText(btn, "Registering..."); aSetText(tvResult, postPage("http://botcompany.de:8083/register", email := aGetText(tvEmail), pwHash := hashPW(tvPW))); } }), aVerticalSpacer(50), tvResult)); aFocus(tvEmail); aSelectAll(tvEmail); aShowKeyboard(); }