Events Calendar
Events Calendar is a user-friendly library that helps you achieve a cool Calendar UI with events mapping. You can customise every pixel of the calendar as per your wish and still achieve in implementing all the functionalities of the native android calendar in addition with adding dots to the calendar which represents the presence of an event on.
Implementation
[1] In your app module gradle file
[2] In your project level gradle file
[3] Use EventsCalendar in your layout.xml
[5] Implement EventCalendar.Callback on your Activity/ Fragment
[6] Create instances and set default values for the EventsCalendar in your Activity/ Fragment
Documentation
XML | Kotlin/Java | Description |
---|---|---|
app:primaryTextColor |
setPrimaryTextColor(color: Int) |
Primary Text color of the calendar (selectable dates) |
app:secondaryTextColor |
setSecondaryTextColor(color: Int) |
Secondary Text color of the calendar (disabled dates) |
app:selectedTextColor |
setSelectedTextColor(color: Int) |
Text color of the Selected date |
app:selectionColor |
setSelectionColor(color: Int) |
Color for the Selection Circle |
app:weekHeaderColor |
setWeekHeaderColor(color: Int) |
Text color for the Week Header labels |
app:monthTitleColor |
setMonthTitleColor(color: Int) |
Text color for the Month Title in the calendar view |
app:eventDotColor |
setEventDotColor(color: Int) |
Color for the Event Dots marked in the calendar view |
app:isBoldTextOnSelectionEnabled |
setIsBoldTextOnSelectionEnabled(isEnabled: Boolean) |
Sets whether the dates should be highlighted or not |
Voila! You have implemented an awesome Events Calendar for your Android Project now!