I want to have a Calendar with a Month view displaying all the days and events on each day. I found CalendarView, but it doesn't really display events on the way I want. I kept researching and checking lots of results, until I came across a entire app that does that called SimpleMobileTools's Simple-Calendar. Here's how they display events on a Month view Calendar, if you didn't understand what I'm looking for yet:

Though, their app has way too many features plus it's an entire app. I thought there should be something like a CalendarView (not necessarily native) that I could just plug-and-play adding my events and having it displaying them on a Calendar. I thought this should be a very common need for developers (to have a month view calendar displaying events to their users) but since I've searched so much and found nothing like that, I'm here to ask.
Does anyone knows a simpler way to achieve something like this?
You mean like this https://developer.android.com/reference/android/widget/CalendarView?
<CalendarView
android:id="@+id/simpleCalendarView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
The exact appearance and interaction model of this widget may vary between OS versions and themes (e.g. Holo versus Material), but in general a user can select a date by tapping on it and can scroll or fling the calendar to a desired date.
]1
References:
https://abhiandroid.com/ui/calendarview
https://www.journaldev.com/22321/android-calendar-view
Here is the 3rd party library I believe is used in your screenshot:
https://github.com/SimpleMobileTools/Simple-Calendar
It creates a custom view, that potentially you can re-use:
https://github.com/SimpleMobileTools/Simple-Calendar/blob/master/app/src/main/kotlin/com/simplemobiletools/calendar/pro/views/MonthView.kt
Here are some alternatives:
http://applandeo.com/blog/material-calendar-view-customized-calendar-widget-android/
https://github.com/Applandeo/Material-Calendar-View
https://github.com/SimpleMobileTools/Simple-Calendar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With