private static void updateActionbarAfterStateChange(final BottomSheetDialog dialog, final BottomsheetDialogWithActionbarBinding dialogView) {
        if (dialog.getBehavior().getState() == BottomSheetBehavior.STATE_EXPANDED) {
            dialogView.toolbar.setNavigationIcon(R.drawable.ic_expand_more_white);
            dialogView.toolbar.setNavigationContentDescription(dialog.getContext().getString(R.string.close));
        } else {
            dialogView.toolbar.setNavigationIcon(R.drawable.ic_expand_less_white);
            dialogView.toolbar.setNavigationContentDescription(dialog.getContext().getString(R.string.expand));
        }
    }
Move the cursor to the end of the input field.
main/src/main/java/cgeo/geocaching/ui/dialog/Dialogs.java