fix keyboards after changing keyboard option
This commit is contained in:
parent
b0db8cd235
commit
b43bac38c3
1 changed files with 2 additions and 0 deletions
|
@ -878,11 +878,13 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
|
|||
if (focusedView != null) {
|
||||
if (useOsmandKeyboard) {
|
||||
AndroidUtils.hideSoftKeyboard(getActivity(), focusedView);
|
||||
isSoftKeyboardShown = false;
|
||||
} else {
|
||||
new Handler().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
AndroidUtils.showSoftKeyboard(focusedView);
|
||||
isSoftKeyboardShown = true;
|
||||
}
|
||||
}, 200);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue