public void removeScaleLegend() {
        //build legend
        final LinearLayout legendgroup = binding.sliderLegendAnchor;
        legendgroup.removeAllViews();
    }
View displays and maintains a slider where user can select single or range of items from a sorted item list.
main/src/main/java/cgeo/geocaching/ui/ItemRangeSlider.java