Skip to main content

Questions tagged [datepickerdialog]

An Android dialog that displays a date picker. Because it's an extension of the AlertDialog, it also supports buttons.

datepickerdialog
0 votes
2 answers
44 views

DatePickerDialog. Change selected day background

I use a standard android picker. And now it looks like this: Is there any way to change the background of the selected day so that it looks like this, for example? Changing the color of the selected ...
Jack The Healer's user avatar
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 ...
ccd's user avatar
  • 129
0 votes
0 answers
48 views

Android how increase the font size of Month Selector of DatePickerDialog

I would increase the size of month Selector or DatePickerdialog in my app. DatePicker dialog stay into separate Class triggered dy OnClick This is my relevant code portion I create DatePickerDialog as ...
marcostravigari's user avatar
0 votes
0 answers
18 views

How to change the values of days in DatePickerDialog

I'd like the DatePickerDialog to show a number of some events/arrangemenmts I've planned in the day field additionally. What I mean. In the default calendar view we can see a month name and from 28 to ...
volganap's user avatar
0 votes
1 answer
105 views

How to replace Arabic numbers in DatePickerDialog itself with English numbers while still using Arabic strings in Android?

I'm using a DatePickerDialog in my code and set the Locale of the app right before using it and in onCreate of my base activity. it's working perfectly in Arabic as it uses Arabic (called Hindi format ...
Toka A. Amin's user avatar
5 votes
2 answers
898 views

Jetpack Compose UI Test with Material3 DatePickerDialog

My question is pretty simple. How do I perform any selections on a DatePickerDialog in Jetpack compose's UI Tests?
Karim Omar's user avatar
0 votes
0 answers
24 views

DatePickerDialog and TimePickerDialog do not use black overlay

I am currently using Android Studio Flamingo version 2022.2.1 Patch 2. And from the tutorials I find on the internet, my dialog box opens but the background is not darkened, it stays white, how to ...
Sudo Sur's user avatar
  • 577
1 vote
1 answer
180 views

How can i disable specific and multiple date calendars in Android Kotlin

I am Using DatePickerDialog. but not showing setDisabledDays. so how is it possible in kotlin. My required is multiple dates disable and also one max and min range of calendar fun datepicker(){ ...
Rahul Routh's user avatar
2 votes
1 answer
77 views

Two issues with DatePickerDialog (Android/Kotlin)

I am a newbie in programming and just now I am learning Kotlin for android programming. At the moment, I am working on app todo list, where there is an EditText input with id datePickerEditText. When ...
ilyamio's user avatar
  • 35
1 vote
1 answer
42 views

Is there a less verbose way to get a DatePickerDialog's value?

I'm currently trying to implement DatePickerDialog and TimePickerDialog, and found out that it's quite verbose to get their values. Like you have to preemptively declare a couple of variables that ...
rminaj's user avatar
  • 455
0 votes
2 answers
53 views

How can detect click cancel of DatePickerDialog?

I have one DatePickerDialog that show after click editText. That works well. I need to add this code that detect when user click cancel button after show Dialog then I will set editText border ...
Ahmet Yılmaz's user avatar
0 votes
1 answer
45 views

Setformatter(new NumericMonthFormatter()) & SetDisplayValues(null) are not working in Android version 5.1.1

NumberPicker numberPicker; if (datePickerNumericMonthFormat) { var input = numberPicker.FindViewById<EditText>(Activity.Resources.GetIdentifier("...
Fairoz Pasha's user avatar
0 votes
1 answer
168 views

Showing current date onwards in DatePickerDialog (Xamarin Android C#) [duplicate]

I am currently working on a capstone project and my professor wants me to restrict the previous date that has passed. Whenever I click my DatePickerDialog it starts with 1900, so the plan is to show ...
Zeno's user avatar
  • 11
0 votes
1 answer
71 views

SetFormatter method implementation for convert Number to string in Xamarin Android

My sample code below In OnCreateDialog event calling method below SetNumericMonth(true, null, dialog); private int monthSpinnerResId; public void SetNumericMonth(bool onCreateEventOrNot, ...
Fairoz Pasha's user avatar
0 votes
1 answer
770 views

How to show Material Calendar with all disabled dates in Android datePickerDialog

I am trying to make a calendar date picker dialog pop-up with a condition. User selects month and year at first. Hence, DatePickerDialog pop-up will show with minimum 28 days (for February only) and ...
Sumit Bikram Maity's user avatar

15 30 50 per page
1
2 3 4 5
22