0

when i run my code hi show me standard CalendarView without any color.

ViewGroup vg = (ViewGroup)inputHV.getView();

simpleCalendarView = new CalendarView(context);

    simpleCalendarView.setFocusedMonthDateColor(11277846); // set the red color for the dates of  focused month
    simpleCalendarView.setUnfocusedMonthDateColor(Color.BLUE); // set the yellow color for the dates of an unfocused month
    simpleCalendarView.setSelectedWeekBackgroundColor(11277846); // red color for the selected week's background
    simpleCalendarView.setWeekSeparatorLineColor(Color.GREEN);
    simpleCalendarView.setShowWeekNumber(true);


    vg.addView(simpleCalendarView);
lachguer9
  • 5
  • 7

0 Answers0