I want to implement something similar to android seek bar.But not in a linear fashion,in an arc shape. is it possible to customize the seek bar in an arc shape?
Share
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.
You can’t make SeekBar to draw its thumb any other way than offset horizontally.
The code that actually draws thumb is in AbsSeekBar.onDraw, and there it’s seen it’s just horizontal offset.
You may however make your own widget extending ProgressBar, which would draw thumb whatever way is needed (in arc). But you’ll also need to make response to touches to translate it to linear range that ProgressBar expects.