Questions tagged [timepicker]

A view for selecting the time of day, in either 24 hour or AM/PM mode.

The hour, each minute digit, and AM/PM (if applicable) can be conrolled by vertical spinners. The hour can be entered by keyboard input. Entering in two digit hours can be accomplished by hitting two digits within a timeout of about a second (e.g. '1' then '2' to select 12). The minutes can be entered by entering single digits. Under AM/PM mode, the user can hit 'a', 'A", 'p' or 'P' to pick. For a dialog using this view, see .

1534 questions
6
votes
2 answers

JQuery UI - Set minTime on timepicker based on other timepicker value

I'm trying to set the minTime of my End Time timepicker based on what I've selected in the Start Time timepicker. I have this, based on something that works for the regular datepicker, but it's not working. $('#confirmed_time_start').timepicker({ …
6
votes
1 answer

TimePicker NullPointerException on ICS

Alright so I just switched my TimePickerDialog to a TimePicker widget directly visible in the Activity I'm working on because of customer demand. The problem is when I press any of the arrows on said TimePicker, I get a NullPointerException. Just to…
6
votes
4 answers

How to set a custom minutes interval in TimePickerDialog in Android

I have got a TimePickerDialog working to set time which is set to a TextView in order to display it. Now, I need help to set that TimePicker (inside the TimePickerDialog) minutues interval to 15 minutes. I have seen there is a post with 15 minutes…
Joserra
  • 167
  • 2
  • 3
  • 13
6
votes
1 answer

How do you get a list picker like the kind shown in the alarm clock?

How do you create the big, scrolling list picker, like the kind that is created for datePicker and timePicker which is used on the WP7 default alarm clock? The remaining list pickers don't have quite the same effect. I would be using the list…
Zain Rizvi
  • 23,586
  • 22
  • 91
  • 133
6
votes
3 answers

How can I capture when time changes in a TimePicker if the "Soft" Keyboard is being used?

Continuing with the question referred in the following link: How can I capture when time changes in a TimePicker if the keyboard is being used? I could solve the problem but it only works when you use the actual keyboard. If you use the soft…
monn3t
  • 675
  • 1
  • 6
  • 22
6
votes
3 answers

need to disable input for bootstrap timepicker

I am using Bootstrap time-picker. I have successfully implemented it. But what I need is user is only able to insert in 30 min gap like: 10:00,10:30,11:00 etc. For that I have tried is minuteStep as shown below, and it works perfect. …
6
votes
5 answers

How do you use custom Datepicker and Timepicker skins?

I would like to use a custom skin for my Datepickers and Timepickers. Changing the background in XML doesn't do the trick (it changes the background to the set, not each of its buttons). The API is painfully short and has nothing about appearance (…
hermy
  • 318
  • 1
  • 3
  • 10
6
votes
4 answers

Timepicker with 15 minute intervals

I have a custom dialog with a timepicker and a datepicker. I want to set the timepicker's minute spinner collection to [0, 15, 30, 45] ie 15 min intervals. Now i see several solutions but none seem to cover the fact that the UI will show the next…
Fearghal
  • 10,569
  • 17
  • 55
  • 97
6
votes
2 answers

How to restrict the bootstrap timepicker min-time and max-time?

I am using bootstrap time picker by using bootstrap-timepicker.js and i want to restrict the min-time and max-time of that timepicker .Can anyone please tell me how can i achieve it. I have used following methods but nothing gonna help me out: …
Floki
  • 271
  • 1
  • 5
  • 15
6
votes
2 answers

Android: Focus on TimePicker elements

How to get focus on time picker elements? I am developing TV app, so it needs to be operated by remote. So I need to apply focus on each element. TimePicker has 3 elements - hour column, minutes column and AM/PM column. So how do i get focus on each…
Gaurav
  • 1,700
  • 4
  • 22
  • 38
6
votes
2 answers

how disable "autoscroll" hour on set value minute in time picker android

I've a TimePicker on Android with two wheels. In the first I've hours in format 0 - 24, in the last I've minutes in interval step (generally 0 - 30). When I change hour all work fine, when I set new value in minute timePicker change also the hours.…
iNiko84
  • 105
  • 1
  • 6
6
votes
5 answers

Android: TimePicker setIs24HourView not working

I am trying to use the TimePicker in the 24 hour format and I am using setIs24HourView= true, but I am still not getting 24 hour format on the TimePicker. Here is my code in the onCreate of the Activity. timePicker = (TimePicker)…
Sammys
  • 1,443
  • 5
  • 14
  • 21
6
votes
2 answers

Is there a way to use cancel in Android JellyBean TimePickerDialog?

As far as I am aware, versions prior to Jelly Beans, had Set and Cancel buttons when using TimePickerDialog. Jelly Beans has only Done button. I could just leave the Done button, and could close the dialog by clicking outside the dialog, but my…
Marko
  • 20,385
  • 13
  • 48
  • 64
6
votes
7 answers

jQuery UI DateTimepicker - cannot hide the time

I'm using the date time picker component from http://trentrichardson.com/examples/timepicker/. Trying to hide the time picker but my code doesn't work: $('#id_start_date_time').datetimepicker('option', 'showTimepicker', false);
Ruben
  • 1,065
  • 5
  • 18
  • 44
6
votes
3 answers

Jquery TimePicker : How to dynamically change parameters

I am using a Jquery Timepicker . I have two input fields - to Accept times . I am using a Jquery UI timer as per…
geeky_monster
  • 8,672
  • 18
  • 55
  • 86