Is it possible to have the seekbar move only when the thumb is moved.
Right now the seekbar moves even on finger touch in the
progressdrawable. How do we disable the movement of the seekbar on
finger touch of the progressdrawable?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Override the
OnTouchListenerfor the seekbar and only process the movement on the thumb when theMotionEventis a move event.event.getAction() == MotionEvent.ACTION_MOVEUpdate : 1
Something like this will work but the catch is that even if the user moves the thumb 2 units the seekbar moves. And you should really not stop this behavior as it would mess the the seekbar.