I want to create a timer and since I couldn\'t create a digital interface that is editable for the user to set the time I want to use the NumberPicker. However the NumberPicker
numberPicker.setMaxValue(10); numberPicker.setMinValue(0); numberPicker.setFormatter(new NumberPicker.Formatter() { @Override public String format(int i) { return String.format("%02d", i); } });
This will do the trick!