FlexibleCalendar icon indicating copy to clipboard operation
FlexibleCalendar copied to clipboard

Drawing issues on getWeekdayCellView() method

Open fncapps opened this issue 10 years ago • 0 comments

I inflate each of my WeekdayCellView with a layout like is shown in the code.

@Override
public BaseCellView getWeekdayCellView(int position, View convertView, ViewGroup parent) {
    BaseCellView cellView = (BaseCellView) convertView;

    if (cellView == null) {
        LayoutInflater inflater = LayoutInflater.from(MaterialFullCalendar.this);
        cellView = (BaseCellView) inflater.inflate(R.layout.fullcalendar_weekday_cell, null);
    }

    return cellView;
}

But when I run my app, the layout isn't filled correctly and some pixels are skipped. Notice that in the image below, the above blue is part of the Toolbar and just below I have my FlexibleCalendarwidget.

drawing-issue

drawing-issue-2

fncapps avatar Mar 20 '16 18:03 fncapps