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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:带有两个拇指的 Android Seekbar


基础教程推荐
- 如何从 logcat 中删除旧数据? 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01