forked from organicmaps/organicmaps
[android] Extend Place Page view with statusbar. Fixed click detection in FULLSCREEN state.
This commit is contained in:
parent
f17ff7763c
commit
5a21f5141f
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue