mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 04:18:53 +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:
@@ -110,7 +110,7 @@ implements OnEditorActionListener, OnClickListener {
|
||||
}
|
||||
|
||||
public boolean onEditorAction(TextView textView, int actionId, KeyEvent e) {
|
||||
hideSoftKeyboard();
|
||||
toggleSoftKeyboard();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ implements OnEditorActionListener, OnClickListener {
|
||||
|
||||
public void onClick(View view) {
|
||||
if (view == createForumButton) {
|
||||
hideSoftKeyboard();
|
||||
toggleSoftKeyboard();
|
||||
if (!validateName()) return;
|
||||
createForumButton.setVisibility(GONE);
|
||||
progress.setVisibility(VISIBLE);
|
||||
|
||||
Reference in New Issue
Block a user