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
810 stars 67 forks source link

Oceanic dates size static #90

Open hector-baez opened 1 year ago

hector-baez commented 1 year ago

The dates size aren't dynamic. Even in your gifs, the screen size is not big enough to accommodate all 7 days and it cuts off the extra ones. It would be better if the size dynamically changed to fit the screen

hi-manshu commented 1 year ago

Hey, can you share a screenshot please?

hector-baez commented 1 year ago

My bad, I didn't take a screenshot while I was testing it out, but it looked similar to your screenshot https://github.com/hi-manshu/Kalendar/blob/main/art/oceanic.png

In your screenshot 6 days of the week show instead of 7. In my case, it was showing the first 5 days of the week and when you click to the next week, it would skip the 2 missing days. I was able to make all 7 days show up by making the Kalendar() compose take up the whole width of the screen, but that's not a reliable workaround.

It would be great if the size of the date circles would dynamically change according to the width constraints so that there's always 7 on screen.

hi-manshu commented 1 year ago

Hey will add this to enhancement, have few things to change will keep for this as well