How can I disable specific dates? I don't mean previous or future dates, but rather specified dates such as holidays.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
AFAIK No You can't disable specific dates in calendar because that is That is not a built in behavior
for that purpose you have to use third party library or your have to create your own
you would have to use a custom date picker.
For enabling specified dates in a calendar, you can use this library.
Here if you will see the DatePickerFragment in the sample. We are passing an array of calendar dates like this.
We can create the array of calendar dates in specified format and pass that calendar dates array to the date picker dialog to enable it.
You can achieve your goal in similar way.
At last found it.. how to disable specified dates in calendar..