Source:
<code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_basic); ButterKnife.bind(this); widget.setShowOtherDates(MaterialCalendarView.SHOW_ALL); widget.setArrowColor(getResources().getColor(R.color.sample_primary)); widget.setLeftArrowMask(getResources().getDrawable(R.drawable.ic_navigation_arrow_back)); widget.setRightArrowMask(getResources().getDrawable(R.drawable.ic_navigation_arrow_forward)); widget.setSelectionColor(getResources().getColor(R.color.sample_primary)); widget.setHeaderTextAppearance(R.style.TextAppearance_AppCompat_Medium); <START> widget.setWeekDayTextAppearance(R.style.TextAppearance_AppCompat_Medium); <END> widget.setDateTextAppearance(R.style.CustomTextAppearance); widget.setWeekDayTextAppearance(R.style.CustomTextAppearance); widget.setHeaderTextAppearance(R.style.CustomTextAppearance); widget.setDateTextAppearance(R.style.CustomTextAppearance); widget.setTitleFormatter(new MonthArrayTitleFormatter(getResources().getTextArray(R.array.custom_months))); widget.setWeekDayFormatter(new ArrayWeekDayFormatter(getResources().getTextArray(R.array.custom_weekdays))); widget.setTileSize((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 36, getResources().getDisplayMetrics())); widget.setTitleAnimationOrientation(MaterialCalendarView.VERTICAL); CalendarDay today = CalendarDay.from(2016, 5, 2); widget.setCurrentDate(today); widget.setSelectedDate(today); widget.state().edit() .setFirstDayOfWeek(Calendar.WEDNESDAY) .setMinimumDate(CalendarDay.from(2016, 4, 3)) .setMaximumDate(CalendarDay.from(2016, 5, 12)) .setCalendarDisplayMode(CalendarMode.WEEKS) .commit(); }</code><technical_language>remove previous set if applying a text appearance, right</technical_language>

Target:
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_basic); ButterKnife.bind(this); widget.setShowOtherDates(MaterialCalendarView.SHOW_ALL); widget.setArrowColor(getResources().getColor(R.color.sample_primary)); widget.setLeftArrowMask(getResources().getDrawable(R.drawable.ic_navigation_arrow_back)); widget.setRightArrowMask(getResources().getDrawable(R.drawable.ic_navigation_arrow_forward)); widget.setSelectionColor(getResources().getColor(R.color.sample_primary)); widget.setWeekDayTextAppearance(R.style.CustomTextAppearance); widget.setHeaderTextAppearance(R.style.CustomTextAppearance); widget.setDateTextAppearance(R.style.CustomTextAppearance); widget.setTitleFormatter(new MonthArrayTitleFormatter(getResources().getTextArray(R.array.custom_months))); widget.setWeekDayFormatter(new ArrayWeekDayFormatter(getResources().getTextArray(R.array.custom_weekdays))); widget.setTileSize((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 36, getResources().getDisplayMetrics())); widget.setTitleAnimationOrientation(MaterialCalendarView.VERTICAL); CalendarDay today = CalendarDay.from(2016, 5, 2); widget.setCurrentDate(today); widget.setSelectedDate(today); widget.state().edit() .setFirstDayOfWeek(Calendar.WEDNESDAY) .setMinimumDate(CalendarDay.from(2016, 4, 3)) .setMaximumDate(CalendarDay.from(2016, 5, 12)) .setCalendarDisplayMode(CalendarMode.WEEKS) .commit(); }