Android Seekbar with two thumbs(带有两个拇指的 Android Seekbar)
问题描述
这个问题的变体可以在整个互联网上找到,但没有答案.
Variations of this question can be found all over the internet but not an answer.
我想要一个带有两个拇指范围选择的搜索栏.我愿意自己编程,但我缺乏使用 Android 的经验.有人可以给我一些关于从哪里开始的指示.我的意思是,我知道我将不得不扩展一些东西(可能是ProgressBar),但是我应该如何去做呢?我真的必须重新创建标准搜索栏的所有功能,还是有更简单的方法?
I want a seekbar with two-thumb range selection. I'm willing to program this myself but I lack experience with Android. Could someone give me some pointers on where to start. I mean, I know I will have to extend something (ProgressBar probably), but how should I go about to do that? Do I really have to recreate all the functionality of a standard seekbar, or is there an easier way?
当然也欢迎完整的解决方案;)
Complete solutions are also welcome of course ;)
推荐答案
我也在找这个,没用.所以我做了一个新的小部件,随意使用它:https://github.com/anothem/android-range-seek-bar
I too was looking for this, to no avail. So I made a new widget, feel free to use it: https://github.com/anothem/android-range-seek-bar
这篇关于带有两个拇指的 Android Seekbar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!