tags:

views:

57

answers:

1

ok im trying to make a slider with ability to select 2 points just like selecting a range from the slider, any one did any thing like that

A: 

You can do that with SeekBar... it has progress and secondary progress... just subclass it and override the methods to do what you want

androidworkz
that is a progress bar thing primary and secondary , how can that be used as dual slider control?
SoftReference
well if it can't then I am not exactly sure what you are talking about... do you have a picture of a "dual slider control"?
androidworkz
http://www.flickr.com/photos/11195624@N05/4906951542/i have uploaded a cropped photo of iphone app, I want to make this for android, thanks
SoftReference
I looks like you will have to write a custom widget for that... It's almost like a ruler type of control... While this isn't anything like what you are looking for... there is a project called Ringdroid that has a custom widget with a custom widget that has 2 independent sliders to select a time frame in a media file to cut a custom ringtone out. You may be able to at least get an idea of how to start by looking at that code. http://code.google.com/p/ringdroid/
androidworkz