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
9
votes
4 answers

Show the time picker in hh:mm format

I have to show the time picker in hh:mm format on Click the edit text.So that I had used the below code. MainActivity.java: e6.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { …
Steve
  • 1,153
  • 2
  • 15
  • 29
9
votes
5 answers

Android date/time wheel picker

How can I achieve this layout for a time picker (and also for a date picker)? The default layout is either a (very big) clock or a (not beautiful) spinner style time picker. I saw this in several apps but couldn't find how to achieve this look and…
Amos
  • 1,321
  • 2
  • 23
  • 44
9
votes
2 answers

How to have this type of time picker in Android?

I am developing an application in which i want to show time picker to set a time for reminder. Right now I am able to show a time-picker using preference screen like this
Juned
  • 6,290
  • 7
  • 45
  • 93
8
votes
5 answers

Remove 'Now' button from jsfile of timepicker jquery plugin

Does anyone know how to remove the "Now" button from the jquery timepicker add on file? I removed the var currentText = 'Now', and this change removes the text, but the button is still there, labelled "Today" instead of "Now". I do not need this…
BruceyBandit
  • 3,978
  • 19
  • 72
  • 144
8
votes
1 answer

Angular2 ClockPicker

I am currently exploring all alternatives of clockpicker for a web app working with Angular 2 Something like http://weareoutman.github.io/clockpicker/ for exemple. I have made researches but everything seems not easy to set up. Has anyone came…
HMarteau
  • 654
  • 4
  • 18
8
votes
2 answers

Set min time in TimePickerAndroid react native

I want to set 5:00 PM as min time in TimePickerAndroid. How can I set it? this.showPicker.bind(this, 'simple', { hour: new Date().getHours(), minute: new Date().getMinutes(), minHour: this.props.minHour // I am passing 5…
Raj Suvariya
  • 1,592
  • 3
  • 14
  • 36
8
votes
2 answers

AppCompatSpinner's entries not opening TimePickerDialog on selecting it second time. Please see details

I have the following as AppCompatSpinner's entries: Now Pick a time.. Upon selecting Pick a time.., a TimePickerDialog is opened and the user is allowed to choose…
Hammad Nasir
  • 2,889
  • 7
  • 52
  • 133
8
votes
1 answer

BetterPickers without a support library

I am using https://github.com/derekbrameyer/android-betterpickers to use time- and date pickers for my app. However, my app does not need a support library and it seems like I need SupportFragmentManager when setting a FragmentManager to the Time-…
8
votes
1 answer

Android - How do I change the textColor in a TimePicker?

I'm using a TimePicker into a LinearLayout with backgroundColor = black, however, I can't see the numbers in the TimePicker, and I need the background color set to black in the layout, how can I change the textColor in the TimePicker? I already…
saman0suke
  • 762
  • 1
  • 8
  • 24
8
votes
2 answers

Android NumberPicker, DatePicker, TimePicker arrows are missing

I have seen many examples with a pair of up and down arrows on NumberPicker, DatePicker and TimePicker of Android applications. But when I use it, application show no arrows. Are there any tricks to make the arrows shown? The SDK is API version 17…
OmniBus
  • 854
  • 1
  • 6
  • 25
8
votes
3 answers

Get date and time picker value from a single dialog fragment and set it in EditText

I am working on an application in which the user can set the date and time. I want to set the date and time in a single dialog fragment and set it to edit text. Is it possible to use a date and time picker in 1 dialog fragment? If it is, how do you…
pareshy
  • 341
  • 1
  • 5
  • 15
8
votes
3 answers

Timepicker jquery not working (has no method curCSS)

My head is aching for already a day because of this error. The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'curCSS' my html is:
Orvyl
  • 2,635
  • 6
  • 31
  • 47
7
votes
5 answers

How to show the flutter timepicker in 12 hours format with AM PM selector

I want to use the Flutter timepicker in 12 hour format with AM/PM selector, but Flutter only shows me the 24 hours format. I want to get this format: But flutter only shows me this format: This is my code: _selectTime(BuildContext context) async…
7
votes
5 answers

How to use bootstrap datepicker inside ng-grid

I'm trying to use bootstrap datepicker (via angulart ui bootstrap) inside an ng-grid. I'm setting the grid with: $scope.gridSettings = { data: "myData", enableCellSelection: true, enableRowSelection: false, enableCellEditOnFocus:…
Nir
  • 29,306
  • 10
  • 67
  • 103
7
votes
1 answer

TimePicker doesn't allow "24:00"?

I need to create a "from… to" time selection and created 2 TimePicker components for that. Because the database behind it already exists since years and uses a 24 hour format, in my code, I'm…
richey
  • 3,890
  • 9
  • 35
  • 49