private static void setStableLayout(@NonNull final AbstractNavigationBarActivity activity, final boolean showSpacer) {
        if (showSpacer && Settings.getMapActionbarAutohide()) {
            activity.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
        }
    }
use this instead of AbstractBottomNavigationActivity.setContentView for being able to use a action bar toogle
main/src/main/java/cgeo/geocaching/utils/HideActionBarUtils.java