forked from organicmaps/organicmaps
Hide keyboard when PP changes state.
This commit is contained in:
parent
e38918cd1f
commit
c7bc79c347
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue