diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java index 09f4dbf9cd..f6875ca1a1 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java @@ -960,12 +960,13 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm int action = event.getAction(); if (action == MotionEvent.ACTION_DOWN) { v.setBackgroundColor(getResolvedColor(R.color.keyboard_item_bg_pressed)); - if (listener != null) { - listener.onClick(v); - } + v.invalidate(); return true; } setNormalBackground(v, controlButton); + if (listener != null) { + listener.onClick(v); + } return false; } });