As far as I know, a negative value cannot be established. What I usually do is increase the max to support the interval and subtract from the current value to show my range of values to the user.
Let’s say I have a Seekbar of -100 to 100:
seekbar.setMax(200);
and subtract/translate when showing the user and/or save the value:
int realValue = seekbar.getValue() - 100;
A similar maneuver can be made to decimal values, for example.
If you want to make everything more elegant, you can also extend the Seekbar class and create your own component that makes this calculation internally, leaving everything transparent to your Activity:
public class NegativeSeekBar extends SeekBar {
protected int minValue = 0;
protected int maxValue = 0;
...
public void setMin(int min){
this.minValue = min;
super.setMax(maxValue - minValue);
}
public void setMax(int max){
this.maximumValue = max;
super.setMax(maxValue - minValue);
}
...
}