From 03cee7bdd38418ae992568a985a27948d243095b Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Fri, 3 Nov 2017 15:31:32 +0200 Subject: [PATCH] Fix adding colon --- .../osmand/plus/mapmarkers/CoordinateInputDialogFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java index 79aa612a51..6fb4dfa89a 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java @@ -284,7 +284,8 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm switchToNextInput(focusedEditText.getId()); break; default: - focusedEditText.append((String) keyboardAdapter.getItem(i)); + focusedEditText.setText(focusedEditText.getText().toString() + keyboardAdapter.getItem(i)); + focusedEditText.setSelection(focusedEditText.getText().length()); } } }