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 (focusedView != null) {
|
||||||
if (useOsmandKeyboard) {
|
if (useOsmandKeyboard) {
|
||||||
AndroidUtils.hideSoftKeyboard(getActivity(), focusedView);
|
AndroidUtils.hideSoftKeyboard(getActivity(), focusedView);
|
||||||
|
isSoftKeyboardShown = false;
|
||||||
} else {
|
} else {
|
||||||
new Handler().postDelayed(new Runnable() {
|
new Handler().postDelayed(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
AndroidUtils.showSoftKeyboard(focusedView);
|
AndroidUtils.showSoftKeyboard(focusedView);
|
||||||
|
isSoftKeyboardShown = true;
|
||||||
}
|
}
|
||||||
}, 200);
|
}, 200);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue