@Override
        public void onClick(final View v) {
            if (cacheCoords == null) {
                final AbstractActivity activity = (AbstractActivity) requireActivity();
                activity.showToast(activity.getString(R.string.err_location_unknown));
                return;
            }

            gp = cacheCoords;
            updateGUI();
        }
Max lengths, depending on currentFormat
<br>
formatPlain = disabled
DEG MIN SEC SUB
formatDeg 2/3 5 - -
formatMin 2/3 2 3 -
formatSec 2/3 2 2 3
main/src/main/java/cgeo/geocaching/ui/dialog/CoordinatesInputDialog.java