From 01ffd6d974f6e9b66d19ee27472d4ff3dde6316e Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Thu, 22 Feb 2018 15:37:06 +0200 Subject: [PATCH] Select groups tab in bottom navigation view --- .../src/net/osmand/plus/mapmarkers/MapMarkersDialogFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersDialogFragment.java index 7969e80bfd..1d8d5d579a 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersDialogFragment.java @@ -171,6 +171,7 @@ public class MapMarkersDialogFragment extends android.support.v4.app.DialogFragm groupsFragment.startLocationUpdate(); groupsFragment.setGroupIdToOpen(groupIdToOpen); viewPager.setCurrentItem(GROUPS_POSITION, false); + bottomNav.getMenu().findItem(R.id.action_groups).setChecked(true); } bottomNav.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() { @Override