Open MerveGencer opened 3 years ago
Remove app:picker_mustBeOnFuture="true"
In your java/kotlin file: datePicker.setMustBeOnFuture(true)
Yeah, removed setting the attribute through xml and set it inside kotlin and now it is working. But still, this is an issue that needs to be fixed.
Happy you got it working. I agree, it should be fixed.
There is an issue with the day names, 10th of January on 2021 is Sunday and it is displayed as Monday on the picker view. "Today" is ignored counting days, so 1 day before "today" is actually today.
I am using it in a dialog layout with these parameters:
And here is the result ( I also put the year in order to be more clear):