From 5a21f5141f48455732322a53b53737782c443840 Mon Sep 17 00:00:00 2001 From: Roman Romanov Date: Fri, 11 Nov 2016 09:20:03 +0400 Subject: [PATCH] [android] Extend Place Page view with statusbar. Fixed click detection in FULLSCREEN state. --- .../widget/placepage/BottomPlacePageAnimationController.java | 5 +++++ 1 file changed, 5 insertions(+) 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;