Event Time interval display error
kid3652 opened this issue · 4 comments
Describe the bug
When I setStartTime16:40 and setEndTime 20:00,it just show like 16:40~19:45。(As shown below)
I still use weekView.setDateTimeInterpreter(),I am not sure if it make this bug.
( I use JAVA not Kotlin,I don't know how to use weekView.setDateFormatter() )
Screenshots
If applicable, add screenshots or a screen recording to help explain your problem.
Additional context
- Android version: 9.0
- WeekView version: 5.3.2
👋 Can you share a sample project where this problem occurs?
👋 Can you share a sample project where this problem occurs?
Example Project: https://github.com/kid3652/WeekViewTest.git.
This is the line that causes this: By setting eventMarginVertical
, the event’s height will be reduced. I recommend to set this to 1dp
or 2dp
. This creates a visible separation between adjacent events, but doesn’t falsify their end dates as much.
When I set eventMarginVertical , I didn't notice this situation.
But it's well now. Thank you very much.