AgendaCalendarView icon indicating copy to clipboard operation
AgendaCalendarView copied to clipboard

Bug: content overlaps list

Open AndroidDeveloperLB opened this issue 6 years ago • 4 comments

After long time of struggle to import this repo and build it well (reported here) , I got an issue that the content of the top area overlaps the one at the bottom. I think the top area missed a background:

image

Attached the project. AgendaCalendarView.zip

AndroidDeveloperLB avatar Nov 26 '17 09:11 AndroidDeveloperLB

This is because EventFetch isn't sent. I've fork the project and make a major change. I'll try to push it tonight.

joielechong avatar Nov 28 '17 13:11 joielechong

Can you also please check the repo itself? For some reason I had a lot of issues importing it, and ditched Butterknife for normal searching of views...

AndroidDeveloperLB avatar Nov 28 '17 14:11 AndroidDeveloperLB

For the overlap problem, it's because of EventsFetched in Events.java. But, you should check for the app sample first. It's missing mAgendaCalendarView.enableCalenderView(true); in MainActivity. It should be:

mAgendaCalendarView.init(Locale.getDefault(), readyWeeks, readyDays, readyEvents, this);
mAgendaCalendarView.addEventRenderer(new DrawableEventRenderer());
mAgendaCalendarView.enableCalenderView(true);

joielechong avatar Nov 28 '17 14:11 joielechong

The app sample is what I tried to run. The screenshot is from there. I don't know about how to fix it. I didn't dive into the code. Sorry. I can't help you with that.

AndroidDeveloperLB avatar Nov 28 '17 14:11 AndroidDeveloperLB