我正在使用这个库Roboto Calendar Library来制作我自己的日历,但我不知道如何使用它,我试图像这样在我的日历上标记一天:
if(currentMonthIndex==2){
final Calendar calendar = Calendar.getInstance(Locale.getDefault());
calendar.add(Calendar.DAY_OF_MONTH, 8);
robotoCalendarView.markDayWithStyle(RobotoCalendarView.GREEN_CIRCLE, calendar.getTime());
}但是当我运行它的时候,标记的日子不是8号,是18号,我不知道为什么,一些帮助?谢谢
发布于 2017-02-06 03:28:48
我使用这个函数:
robotoCalendarView.markCircleImage1(calendar);但是,首先要确保您已经在colors.xml中定义了颜色
<color name="roboto_calendar_circle_1">#12ca25</color>https://stackoverflow.com/questions/27932566
复制相似问题