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