I searched the last hours for a custom control that looks like this:
It’s like a simple slider, but this growing size to the right side is my problem.
I don’t know how to do this.
Have anyone an idea?
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 define a geometry that has the shape of a triangle and use that as a
OpacityMaskof theTrack. TheTrackhas a repeat button on the left to decrease the value and on the right to increase it. You just need to bind the background of the left button to the background of your slider along with the background of the thumb. You also should make the templates of both the thumb and the repeaters very simple to only show the background color.Here is an example style:
(This is just an example which disregards a lot of things like e.g. the
Orientation)