I was wondering if anyone had some code, or knew of a place that has code for creating a double handled slider. Example :
I am looking to do something similar using a double slider to search for a range of ages on a time array , like in the photo
Thanks in advance
I managed to build it myself... the idea I followed was different from the answers above. I created some items that can be dragged on the screen with the finger, and I fixed the Y position so it can only move from left to right. After that, I generated rectangles that signify the progress (between knobs and outside them). The good thing about this technique is that you can easily customize the slider to be vertical or horizontal, or if you want to put a custom picture in the background. The source is in the link below, and if anyone has any questions please ask. link: eclipse project