From e61bebebd3fd42b0dfa7cc894ccae243071210f7 Mon Sep 17 00:00:00 2001 From: Dima-1 Date: Fri, 7 Aug 2020 11:24:15 +0300 Subject: [PATCH] Fix InitialMenuState --- .../plus/measurementtool/GpxApproximationFragment.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/GpxApproximationFragment.java b/OsmAnd/src/net/osmand/plus/measurementtool/GpxApproximationFragment.java index 02331df0b3..4e1ceaaa65 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/GpxApproximationFragment.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/GpxApproximationFragment.java @@ -69,6 +69,11 @@ public class GpxApproximationFragment extends ContextMenuScrollFragment return MenuState.HALF_SCREEN | MenuState.FULL_SCREEN; } + @Override + public int getInitialMenuState() { + return MenuState.HALF_SCREEN; + } + @Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {