Archie.bpgc
Archie.bpgc

Reputation: 24012

Android: How to make a Slider like this in android?

Is there any defined View to have a slider like this??

enter image description here

Can i keep 2 fingers one each on the bubbles and pinch in/out to decrease/increase the blue line??

or atleast slide 1 bubble at a time??

Thank You

Upvotes: 3

Views: 1276

Answers (1)

petey
petey

Reputation: 17170

http://code.google.com/p/range-seek-bar/ is what you want!

Intro:

The Android widget class library contains only one "slider" like widget: the SeekBar. SeekBar only supports one thumb control and thus handles only one selectable value. If you need a widget allowing to handle two values (like a minimum and maximum value or a range), this RangeSeekBar widget might suit your needs. It supports controlling minimum and maximum values on a numerical range of the following types: Long, Double, Integer, Float, Short, Byte and BigDecimal.

Upvotes: 2

Related Questions