It's not a bug. From the docs:
The length of the displayed values array must be equal to the range of selectable numbers which is equal to getMaxValue() - getMinValue() + 1
.
Your maxValue
is 100, and minValue
is 1. So, just use this instead:
numberPicker.setMaxValue(14);
numberPicker.setMinValue(0);
You can also take a look here