Reputation: 19695
I would like to use a TimePicker view, but only with hours, I don't want to display minutes. I can't find how to do it !
Any help would be appreciated!
Upvotes: 1
Views: 1197
Reputation: 14338
Use NumberPicker
instead:
numberPicker.setMinValue(0);
numberPicker.setMaxValue(23);
Upvotes: 3