private void buildScaleLegend(final int axisLabelCount) {
        //build legend
        final LinearLayout legendgroup = binding.sliderLegendAnchor;
        legendgroup.removeAllViews();

        if (axisLabelCount > 1) {
            final List<Float> axisLabels = new ArrayList<>();
            for (int i = 0; i < axisLabelCount; i++) {
                axisLabels.add((max - min) * i / (axisLabelCount - 1) + min);
            }

            ViewUtils.createHorizontallyDistributedText(getContext(), legendgroup, axisLabels, (idx, item) -> getLabel(item));
        }
    }
@param displayFactor is only used in context of value input / validation, but not for labels
main/src/main/java/cgeo/geocaching/ui/ContinuousRangeSlider.java