Fix keyboard in landscape

This commit is contained in:
PavelRatushny 2017-10-30 19:11:21 +02:00
parent 82a641bda4
commit 955bc54dfc

View file

@ -434,7 +434,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
View.OnTouchListener editTextOnTouchListener = new View.OnTouchListener() { View.OnTouchListener editTextOnTouchListener = new View.OnTouchListener() {
@Override @Override
public boolean onTouch(View view, MotionEvent motionEvent) { public boolean onTouch(View view, MotionEvent motionEvent) {
if (useOsmandKeyboard) { if (useOsmandKeyboard || !orientationPortrait) {
if (orientationPortrait && !isOsmandKeyboardCurrentlyVisible()) { if (orientationPortrait && !isOsmandKeyboardCurrentlyVisible()) {
changeOsmandKeyboardVisibility(true); changeOsmandKeyboardVisibility(true);
} }