Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White Space between days by RangeSelection in SampleApp. #471

Open
zer0Ambit1on opened this issue May 26, 2023 · 6 comments
Open

White Space between days by RangeSelection in SampleApp. #471

zer0Ambit1on opened this issue May 26, 2023 · 6 comments

Comments

@zer0Ambit1on
Copy link

Library information:

  • Version: [2.3.0]
  • View

Describe the bug**

White space between days. Only on half of week. It's make visible when the range selected 2 or 3 times. Video example reproducing issue
https://drive.google.com/file/d/1e6QX1VJ8se2eNrmf5U2GrDaiyuShscNg/view?usp=sharing

@kizitonwose
Copy link
Owner

Hi, can you attach the video directly on GitHub? I cannot view it with the shared link.

@zer0Ambit1on
Copy link
Author

zer0Ambit1on commented Jun 4, 2023

hi, sure. but tomorrow. today is my day off :)

@zer0Ambit1on
Copy link
Author

Screenrecorder-2023-06-05-10-22-21-994.mp4

@Kubikplus
Copy link

Kubikplus commented Aug 10, 2023

Somebody fix this ? 2.3.0v

@Dipan6124
Copy link

Any update on this point?
I am facing the same issue.

@navneetmm
Copy link

Somebody fix this ? 2.3.0v

Any update on this point? I am facing the same issue.

I fixed this issue by adding the below code. Just set the fixed width of dayView.

class DayViewContainer(view:View) : ViewContainer(view) { 
        val binding = LayoutCalendarDayBinding.bind(view) 
        init { 
            val size = (this @yourActivity.binding.calendarView.measuredWidth /7)
            binding.root.layoutParams = LinearLayout.LayoutParams(size, size)
      }
 } 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants