Hide share button

This commit is contained in:
PavelRatushny 2017-07-10 14:50:04 +03:00
parent 3e42d5001a
commit f8d1ae83a7

View file

@ -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;