diff --git a/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java b/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java index 41776f548d..fa8ab4fecf 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java +++ b/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java @@ -40,6 +40,7 @@ class BottomPlacePageAnimationController extends BasePlacePageAnimationControlle BottomPlacePageAnimationController(@NonNull PlacePageView placePage) { super(placePage); + UiUtils.extendViewMarginWithStatusBar(mDetailsScroll); mLayoutToolbar = (LinearLayout) mPlacePage.findViewById(R.id.toolbar_layout); if (mLayoutToolbar == null) return; @@ -91,6 +92,10 @@ class BottomPlacePageAnimationController extends BasePlacePageAnimationControlle return true; break; + case MotionEvent.ACTION_UP: + if (mIsGestureStartedInsideView) + mGestureDetector.onTouchEvent(event); + break; } return false;