I am trying to use a set of numbers for my NumberPicker that consist of (-50 -> 50), the MinValue / MaxValue of the NumberPicker are set to 0 / 100 and then setValue as 50 for the default starting point (0), any idea why it displays the numbers properly except for -1 through -5... when not selected they display fine... when selected they display as -19, -29, -39, -49, -50.
I have tested the int array I am feeding it with and all the values in that are fine.
This is a snippet from the code I am using to populate the NumberPicker...
String[] currentScoreArray = new String[100];
final NumberPicker currentScore = (NumberPicker) findViewById(R.id.currentScore);
for (int i = 0; i <= 100; i++)
currentScoreArray[i] = Integer.toString(i - 50);
currentScore.setMaxValue(100);
currentScore.setMinValue(0);
currentScore.setWrapSelectorWheel(false);
currentScore.setDisplayedValues(currentScoreArray);
currentScore.setValue(50);
After talking with baba tenor, I still cannot resolve this I have made a YouTube video of the issue and included the code and logcat in links on the video comment.