双处理滑块的android滑块、android

2023-09-04 08:24:10 作者:锦书念伊安

我想知道是否有人有一些code,或者知道有$ C $下创建一个双处理滑块的地方。例如:

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

在此先感谢

推荐答案

我设法构建它自己...我跟当时的想法是从上面的答案不同。我创建了一个可以用手指在屏幕上拖动一些项目,我固定的Y位置,因此只能移动从左向右。在那之后,我产生的表示进度(旋钮和外部的他们)的矩形。关于这项技术的好处是,你可以轻松地自定义滑块可以垂直或水平,或者如果你想要把一个自定义图片的背景。该人士是在下面的链接,如果任何人有任何疑问,请询问。 链接: Eclipse项目

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