Improve PasswordActivity by

* removing screen border visible on small screens
* showing noticeable error message on wrong password input
* showing keyboard again after entering wrong password
* making lost password link easier to recognize as link
* renaming keyboard toggle method from 'hide' to 'toggle'
This commit is contained in:
Torsten Grote
2016-01-06 16:31:42 -02:00
parent 6e26391e03
commit 4460d69a06
9 changed files with 114 additions and 68 deletions

View File

@@ -118,7 +118,7 @@ implements OnEditorActionListener, OnClickListener {
}
public boolean onEditorAction(TextView textView, int actionId, KeyEvent e) {
hideSoftKeyboard();
toggleSoftKeyboard();
return true;
}
@@ -134,7 +134,7 @@ implements OnEditorActionListener, OnClickListener {
}
public void onClick(View view) {
hideSoftKeyboard();
toggleSoftKeyboard();
if (!validateNickname()) return;
// Replace the button with a progress bar
createIdentityButton.setVisibility(GONE);