All Questions
Tagged with datepicker android
1,574
questions
0
votes
1
answer
67
views
Android DatePicker header is not changing color (.Net Maui)
I created a .Net Maui application that has an Android DatePicker. In the directory Platforms/Android/Resources I have two folders values and values-night for the styles.xml of the Android DatePicker ...
0
votes
1
answer
35
views
Set custom color on a Datepicker Dialog in Kotlin
So, total begginner here and im trying to do a datepicker dialog in android studio. Everything works fine but i have no idea how to change the color of the dialog.
My code looks like this
val ...
0
votes
1
answer
41
views
Android: How to inflate XML view
I'm attempting to add a DatePicker to my android app following the documentation provided by Google here. I'm trying to make it so the picker appears when a button is pushed, allowing the user to ...
0
votes
0
answers
32
views
Android DatePicker fragment - "null object reference" error in logcat
I'm attempting to add a DatePicker to my android app following the documentation provided by google here. I'm trying to make it so the picker appears when a button is pushed, allowing the user to ...
0
votes
1
answer
68
views
How to allow only a few dates to be selected in this date picker?
I'm using this compose library for my date picker: https://github.com/maxkeppeler/sheets-compose-dialogs
The composable accepts only disallowed dates as follows:
val disabledDates = listOf(
...
0
votes
0
answers
167
views
android material date picker is very slow
I am using material date picker in my app to pick two dates but when try to call this it open in many seconds also when try to select date they are also laggy and takes time.
fun showDatePicker(...
0
votes
0
answers
94
views
DatePicker is so laggy compose
i have a problem, my DatePicker is so laggy and i dont know why. It is laggy in all time, even when i change composable to calendar screen. Here is code:
//Main box
Box(
modifier = Modifier
...
0
votes
0
answers
156
views
react-native-date-picker does not work after update
I am using react-native-date-picker:^4.4.0 package. When I've updated my project's react-native version to 0.73.3 from 0.62.7 it stoped working properly. Now, when I tap the field to open picker it ...
0
votes
1
answer
178
views
How to change color of DatePicker in Material 3 Flutter
I have this class for datepicker:
DateTime? selectedDate = await showDatePicker(
context: context,
initialDate: initialDate ?? DateTime.now(),
firstDate: firstDate ?? DateTime(...
0
votes
0
answers
136
views
Android date picker to select a single day or a range of dates
Does anyone know a date picker to select a single day or a range of dates in Android? The material components date picker allows you to select either a date or a date range, but both options are not ...
0
votes
1
answer
56
views
Datepicker is not opening
I created a datepicker function to select the date after the service date. But [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/material/date_picker.dart': ...
0
votes
1
answer
1k
views
Problem with resizing of DatePicker in Jetpack Compose
I am making an Android application with Kotlin and Jetpack Compose. I'm currently stuck with making a DatePicker. The goal is to have the date picker calendar appear on the app screen itself, rather ...
4
votes
2
answers
2k
views
How to disable future dates in Android Compose Material3 DatePicker?
I have a DatePickerDialog with a DatePicker, both imported from the androidx.compose.material3 package. I believe it should be possible to disable future dates with the dateValidator DatePicker ...
1
vote
0
answers
28
views
Selected date in a datetime-local input is wrong for date prior to 15 October 1582
My HTML5 project works on historical events that stand before the switch from Julian to Gregorian Calendar in october 1582.
Using a simple <input type="datetime-local"/> html node to ...
0
votes
0
answers
50
views
Change font of DatePickerDialog Calendar
I want to set Roboto font across the app instead of using the device's system font.
In our project, we are still using android.app.DatePickerDialog. To change the font, I added a custom style on the ...