From c7bc79c347b3bf4c91a5fd0d7ddf3fdca082a5f0 Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Tue, 3 Mar 2015 16:23:33 +0300 Subject: [PATCH] Hide keyboard when PP changes state. --- .../src/com/mapswithme/maps/widget/placepage/PlacePageView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java index c0314eada2..51a976d6b6 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java +++ b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java @@ -43,6 +43,7 @@ import com.mapswithme.maps.bookmarks.data.Metadata; import com.mapswithme.maps.bookmarks.data.ParcelablePoint; import com.mapswithme.maps.location.LocationHelper; import com.mapswithme.maps.widget.ArrowView; +import com.mapswithme.util.InputUtils; import com.mapswithme.util.ShareAction; import com.mapswithme.util.Utils; import com.mapswithme.util.statistics.Statistics; @@ -208,6 +209,7 @@ public class PlacePageView extends LinearLayout implements View.OnClickListener, public void setState(State state) { + InputUtils.hideKeyboard(mEtBookmarkName); if (mMapObject != null && mMapObject.getType() == MapObjectType.BOOKMARK && state == State.DETAILS) state = State.BOOKMARK;