Questions tagged [materialdatepicker]
52 questions
0
votes
0 answers
Set MaterialDatePicker calender language to English only
I am using MaterialDatePicker in my android app project. The app also supports multiple local languages.
Now the issue is that when i select app langauge other then English the calendar language also changes to the selected one.
How can i fix the…

Ravi.Dudi
- 1,284
- 14
- 14
0
votes
1 answer
how to change the color of today which is pre selected date mat-datepicker Angular
How to change the color of preselected today button in mat-datepicker

Dante
- 13
- 5
0
votes
0 answers
MaterialDatePicker How to Change m/d/yy to dd/mm/yyyy in android
MaterialDatePicker How to Change m/d/yy to dd/mm/yyyy in android
setInputMethod(MaterialDatePicker.INPUT_MODE_TEXT). INPUT_MODE_TEXT is used when you want the user to manually enter the date. INPUT_MODE_CALENDAR is the default input mode when the…

Ashfaque
- 179
- 4
0
votes
0 answers
Material DatePicker Not Showing Properly
The Date Picker is not coming as Expected can any one help me on how to remove this issues?
var datePickerBuilder = MaterialDatePicker.Builder.datePicker()
datePickerBuilder.setTitleText("Select Date")
…

Sai Dilip
- 21
- 2
0
votes
0 answers
How to change the text color of only selected range days in android material date picker
Required outputI'm trying to change the selected date range textview days(in between start and end date) text color to white but I'm unable to find a simple way.
The selected date range text color is to be in white

Sahaja Devi
- 1
- 1
0
votes
0 answers
Is there a way to remove the header of Material Date Picker in android?
Hello?
I want to use the Material Date Range Picker in android, but I don't want to show the Header part.
So, My question is that Is there a way to remove header of Material Date Range Picker in android?

박찬준
- 346
- 1
- 7
0
votes
1 answer
How to remove disabled years from material datepicker?
For material datepicker we can use propery max and min to set range of avaliable years.
But, it still display some unavaliable years. Is there any way to remove those years ?
Need to remove years from 98-09

Ruslan Slim
- 3
- 1
0
votes
0 answers
Bug with MaterialDatePicker Edittext hint
I'm trying to figure out why this issue is occurring with the MaterialDatePicker when selecting the edit icon to input a date manually. I get a visual bug with the date hint, it looks like there is a standard hint in grey that says m/d/yy and then…

Jesse
- 1
- 1
0
votes
1 answer
Is it possible to change the font size of the header in the Material Datepicker component on Android?
My team wants me to change the font size of the Material Datepicker title to be more visible for accessibility reasons on Android. Is it possible and how?

Nav Nav
- 169
- 1
- 20
0
votes
0 answers
Angular material today button
My task is to put a today button on angular datepicker popup. (Selects the today date and closes popup)

Géza
- 113
- 7
0
votes
1 answer
MaterialDatePicker constraints or limit available dates
I have a requirements where I need to limit the allowed date in DatePicker from year 2009 up to current date only. Meaning the supported date for example will be from Jan 1, 2009 up to current date only.
The current implementation we had with the…

Bitwise DEVS
- 2,858
- 4
- 24
- 67
0
votes
3 answers
Android JAVA Google Material Date Picker Disable Future Dates
I need to make sure the user doesn't pick future dates as selection to filter records. I am able to restrict months, but can't restrict future dates. please help.
Here is the code I use:
// create the instance of the calendar to set the
//…

Sabarish Aruchamy
- 47
- 8
0
votes
1 answer
Change text button in top right in MaterialDatePicker dateRangePicker()
I want to change the text button SAVE in the top right.
I've used this library
com.google.android.material:material:1.4.0
val dateRangePicker = MaterialDatePicker.Builder.dateRangePicker()
.setTitleText("Select Date")
…

Asad
- 283
- 3
- 6
0
votes
2 answers
Selected date Month looks like a code not a string
Everyone
I'm using MaterialDatePicker to show the date and it was working fine and get the date like I want Aug 5,2021 and suddenly out of nowhere I get now Month like this M08 and that makes the date like this M08 5,2021
and below is the gradle…

Ahmed Alaa Hussein
- 23
- 6
0
votes
1 answer
Extending DialogFragment for a MaterialDatePicker
I want to migrate from DatePickerDialog to MaterialDatePicker.
I ran into a problem when calling getDialog from MaterialDatePicker with the dialog result always null.
Is this a bug, or is the feature not supported for…

Ihdina
- 950
- 6
- 21