AgendaCalendarView
AgendaCalendarView copied to clipboard
Show one line (one week)
Hi,
I think it will be great if we can specify an option to show only one week when the calendar is minimized instead of showing two lines currently.
Best Regards, Salim
You can change CalendarView.collapseCalendarView(), modify the height when minimized.
Edit: To fix this issue, change the margin to the same amount as the height in the calendar view in AgendaView#onFinishInflate. Also don't forget to change the offset.
Hi I am able to modify the number of rows to display but the collapsed view container stays static. For example, if I draw 1 row, there is still white space beneath that row so it looks like an empty second row. However, if I draw three rows, then the third row overflows the divider line. I am not sure where in the code the is resizing/drawing the line that divides the calendar view from the agenda view.