My solution in similar situations has been to set the seekbar max to
the required range, not the true max, then to perform a mapping
between seekbar values and underlying variables by adding/subtracting
the minimum during transformation.  Of course, one step further in
extrapolation would demonstrate that it isn't even a requirement that
the seekbar's range match the underlying variable.  You can map it
anyway you want by using a scalar coefficient in addition to the
aforementioned shift.

Good luck.

On Jun 13, 2:21 am, Makrand <makrandm...@gmail.com> wrote:
> Hello
>
> I am using SeekBar in my application, currently seek bar minimum value
> is zero, but as per application requirement seek bar value should not
> be zero.
>
> how to set minimum value for SeekBar.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to