diff --git a/OsmAnd/src/net/osmand/plus/myplaces/SplitSegmentFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/SplitSegmentFragment.java index 67314082a6..5618ef79b7 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/SplitSegmentFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/SplitSegmentFragment.java @@ -8,6 +8,8 @@ import android.support.annotation.Nullable; import android.support.v7.widget.ListPopupWindow; import android.view.Gravity; import android.view.LayoutInflater; +import android.view.Menu; +import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView; @@ -74,6 +76,12 @@ public class SplitSegmentFragment extends OsmAndListFragment { getMyActivity().onAttachFragment(this); } + @Override + public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { + menu.clear(); + getMyActivity().getClearToolbar(false); + } + @Override public ArrayAdapter getAdapter() { return adapter;