From 980cdafedd8c04cb828a0533e4ebfe7bb57afc96 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 6 Nov 2017 18:05:29 +0200 Subject: [PATCH] Fix height --- .../plus/mapcontextmenu/other/MapRouteInfoMenuFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenuFragment.java index d63975be85..433c04327e 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapRouteInfoMenuFragment.java @@ -31,6 +31,9 @@ public class MapRouteInfoMenuFragment extends Fragment { menu = mapActivity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu(); View view = inflater.inflate(R.layout.plan_route_info, container, false); + if (!AndroidUiHelper.isOrientationPortrait(getActivity())) { + AndroidUtils.addStatusBarPadding21v(getActivity(), view); + } if (menu == null) { return view; }