@Override
    public View onCreateView(@NotNull final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) {
        super.onCreateView(inflater, container, savedInstanceState);
        final View view = inflater.inflate(R.layout.fragment_edit_note, container, false);

        toolbar = view.findViewById(R.id.toolbar);

        return view;
    }
Create a new dialog to edit a note.
<em>This fragment must be inserted into an activity implementing the EditNoteDialogListener interface.</em>

@param initialNote the initial note to insert in the edit dialog
main/src/main/java/cgeo/geocaching/ui/dialog/EditNoteDialog.java