mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user