Open lv910929 opened 8 years ago
MonthView里有个MonthView枚举方法,HOR(横向滑动),VER(上下滑动),注释掉VER并删掉报错的代码(跟VER相关的);然后onDraw方法里draw(canvas, width * indexMonth, (indexYear - 1) * height, topYear, topMonth);跟draw(canvas, width * indexMonth, (indexYear + 1) * height, bottomYear, bottomMonth);这两行代码删掉就可以了。
@AigeStudio