hi-manshu / Kalendar

Kalendar is a powerful and customizable calendar library for Android applications. It provides a flexible and intuitive way to display and interact with calendars in your app. With Kalendar, you can easily render calendar views, handle date selection, pagination, and range selection, and customize the layout to match your app's design.
https://www.himanshoe.com
Apache License 2.0
816 stars 66 forks source link

Option to start the week on Mondays on Oceanic #100

Open villoal opened 1 year ago

villoal commented 1 year ago

Hi, first of all amazing project!

I was tweaking yesterday in a fork I've made of the project and I managed to do exactly what the title says as I cannot see the option to change it on the main branch. I've seen an old issue when this was supposedly solved but I'm not seeing that KalendarKonfig class anymore.

Another aspect I added but haven't test it is the option to change the styling of the BorderStroke for the current day, as it was a bit weird with the default black on a dark background.

Thanks so much, you can take a look on my fork KalendarLocale if you want. Ignore the commits where I try to upload it to Jitpack without success, as I was trying to use this component with the changes for a different project.

villoal commented 1 year ago

The thing is upon seeing the code more in depth. I think what it does is to set the starting day of the week on the current day insttead on Sunday or Monday. I hope there is a solution to change this...