diff --git a/android/res/layout/activity_map.xml b/android/res/layout/activity_map.xml index b2049e96be..d4905cc45b 100644 --- a/android/res/layout/activity_map.xml +++ b/android/res/layout/activity_map.xml @@ -97,19 +97,6 @@ - - - close(true)); mPlacePage = activity.findViewById(R.id.placepage); mPlacePageBehavior = AnchorBottomSheetBehavior.from(mPlacePage); mPlacePageBehavior.addBottomSheetCallback(mSheetCallback); @@ -152,7 +136,6 @@ public class RichPlacePageController implements PlacePageController, LocationLis ViewGroup buttons = mButtonsLayout.findViewById(R.id.container); mPlacePage.initButtons(buttons); UiUtils.bringViewToFrontOf(mButtonsLayout, mPlacePage); - UiUtils.bringViewToFrontOf(activity.findViewById(R.id.app_bar), mPlacePage); LocationHelper.INSTANCE.addListener(this); } @@ -185,7 +168,6 @@ public class RichPlacePageController implements PlacePageController, LocationLis openPlacePage(); }); - mToolbar.setTitle(object.getTitle()); } private void openPlacePage() @@ -369,7 +351,6 @@ public class RichPlacePageController implements PlacePageController, LocationLis mPlacePage.setMapObject(object, (isSameObject) -> { restorePlacePageState(object, state); }); - mToolbar.setTitle(object.getTitle()); } private void restorePlacePageState(@NonNull MapObject object, @AnchorBottomSheetBehavior.State int state)