kizitonwose / Calendar

A highly customizable calendar view and compose library for Android and Kotlin Multiplatform.
MIT License
4.67k stars 505 forks source link

Can we create event text cross the day component? #464

Open AlanChienHouzz opened 1 year ago

AlanChienHouzz commented 1 year ago

Library information:

Question:

Is it possible to make text cross the day like google calendar? Thank you @kizitonwose :) for instance:

Screenshot_20230429_184042

AlanChienHouzz commented 1 year ago

It's possible to replace monthBody to achieve this I think. I'm trying to achieve that. Correct me if I'm wrong :)

kizitonwose commented 1 year ago

Could be tricky to do it that way. You may be better off with the week row, but that would involve forking the project since it is not exposed.

AlanChienHouzz commented 1 year ago

@kizitonwose Thanks for replying. Yeah! It would be better if we can expose the whole week row. Do you think it's a worth effort to make this change?

kizitonwose commented 1 year ago

It's worth doing, this feature has been requested before but I just have not found the time.

AlanChienHouzz commented 1 year ago

Do you mind to let me try this enhancement?

-- it's hard to find a best way to put the event cross the row item lol. I was using Row with weight to put events.

image
kizitonwose commented 1 year ago

Yes, feel free to implement it, let me know if you need any help along the way. Ideally, the week should be changed from just Row to Box -> Row -> External Overlay. The outer box should only be added if the External Overlay composable is provided (not null).

kizitonwose commented 1 year ago

Hey @AlanChienHouzz Any updates? Need help?

AlanChienHouzz commented 1 year ago

@kizitonwose I need more time. Do you mind it..? Sorry. it's a little bit busy these days. long days..

kizitonwose commented 1 year ago

@AlanChienHouzz That's fine. I just wanted to know if you needed help, please take as much time as you need.

DanteAndroid commented 1 year ago

Do you mind to let me try this enhancement?

-- it's hard to find a best way to put the event cross the row item lol. I was using Row with weight to put events.

image

How to achieve this, thanks

moorthysubu commented 3 months ago

@kizitonwose @AlanChienHouzz Any update on this guys?