Can you believe it? There is no standard slider widget in Android available allowing to set a minimum and a maximum value. There is in fact the Seekbar widget that allows to set one value with a thumb.
Either you implement it yourself or you use one of the free available alternatives.
In addition you can customize the look and feel of the slider. Take a look at these tutorials: