AgendaCalendarView icon indicating copy to clipboard operation
AgendaCalendarView copied to clipboard

Show one line (one week)

Open maxhorizon opened this issue 8 years ago • 2 comments

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

maxhorizon avatar May 20 '16 09:05 maxhorizon

You can change CalendarView.collapseCalendarView(), modify the height when minimized.

Xiaoning1943 avatar Jul 30 '16 06:07 Xiaoning1943

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.

chrisngn avatar Sep 21 '16 15:09 chrisngn