开发者

How to make seekbar thumb draggable

开发者 https://www.devze.com 2023-03-10 08:42 出处:网络
I am using a seekbar which had maximum of 2. However whenever i tap the other marked points thumb moves and even when I try to drag the thumb it directly comes up the ot开发者_运维技巧her position. Pl

I am using a seekbar which had maximum of 2. However whenever i tap the other marked points thumb moves and even when I try to drag the thumb it directly comes up the ot开发者_运维技巧her position. Please tell if there is any kind of animation by which i can show seekbar thumb dragging along with the touch .


No there is no animation for that. But you could just raise the maximum to 200 and then programmatically divide the progress by 100, round it to 1 or 2 and then set create a timer/handler which sets the progress like an animation until it reaches the rounded value.

0

精彩评论

暂无评论...
验证码 换一张
取 消