Material-calendarview: How to change the Date text size and color?

Created on 17 May 2016  路  4Comments  路  Source: prolificinteractive/material-calendarview

My background is black , so I want the day text is white , and I can't find the function like "textSize" or "textColor"

All 4 comments

I am SORRY I asked a so foolish question,Now I found it.

And thanks for your beautiful Calendar!

@TokyoAndroid How did you change calendar text color?

@nAkhmedov

Check this code sample:

@Override
public void decorate(DayViewFacade view) {
view.addSpan(new ForegroundColorSpan(Color.RED));
//set any color which are mentioned in your color.xml file
// view.addSpan(new ForegroundColorSpan(ContextCompat.getColor(context, R.color.your_color)));
}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Xirate picture Xirate  路  5Comments

damianflannery picture damianflannery  路  4Comments

broakenmedia picture broakenmedia  路  5Comments

KhanStan99 picture KhanStan99  路  4Comments

chrismabotuwana picture chrismabotuwana  路  4Comments