Value of slider in Android is ignored!

You must Login before you can answer or comment on any questions.

Hey,

I created a slider with a default value of 50. In iOS everything works fine, but on android it seems to be ignored. Here is my code:

var rotateSlider = Titanium.UI.createSlider({
    bottom: 52 * ovenScale,
    min: 0,
    max: 100,
    minRange: 0,
    maxRange: 100,
    width: '80%',
    value: 50,
    enabled: true
});
rotateView.add(rotateSlider);
Also if I set the value after it´s added to the view, nothing happens! rotateSlider.value = 50; or rotateSlider.setValue(50);

Any idead what I do wrong, or is it a bug?

2 Answers

Your Answer

Think you can help? Login to answer this question!