protected void initView(){
  mMonthTitlePaint=new Paint();
  mMonthTitlePaint.setFakeBoldText(true);
  mMonthTitlePaint.setAntiAlias(true);
  mMonthTitlePaint.setTextSize(MONTH_LABEL_TEXT_SIZE);
  mMonthTitlePaint.setTypeface(Typeface.create(mMonthTitleTypeface,Typeface.BOLD));
  mMonthTitlePaint.setColor(mDayTextColor);
  mMonthTitlePaint.setTextAlign(Align.CENTER);
  mMonthTitlePaint.setStyle(Style.FILL);
  mSelectedCirclePaint=new Paint();
  mSelectedCirclePaint.setFakeBoldText(true);
  mSelectedCirclePaint.setAntiAlias(true);
  mSelectedCirclePaint.setColor(mTodayNumberColor);
  mSelectedCirclePaint.setTextAlign(Align.CENTER);
  mSelectedCirclePaint.setStyle(Style.FILL);
  mSelectedCirclePaint.setAlpha(SELECTED_CIRCLE_ALPHA);
  mMonthDayLabelPaint=new Paint();
  mMonthDayLabelPaint.setAntiAlias(true);
  mMonthDayLabelPaint.setTextSize(MONTH_DAY_LABEL_TEXT_SIZE);
  mMonthDayLabelPaint.setColor(mMonthDayTextColor);
  mMonthDayLabelPaint.setTypeface(TypefaceHelper.get(getContext(),"Roboto-Medium"));
  mMonthDayLabelPaint.setStyle(Style.FILL);
  mMonthDayLabelPaint.setTextAlign(Align.CENTER);
  mMonthDayLabelPaint.setFakeBoldText(true);
  mMonthNumPaint=new Paint();
  mMonthNumPaint.setAntiAlias(true);
  mMonthNumPaint.setTextSize(MINI_DAY_NUMBER_TEXT_SIZE);
  mMonthNumPaint.setStyle(Style.FILL);
  mMonthNumPaint.setTextAlign(Align.CENTER);
  mMonthNumPaint.setFakeBoldText(false);
}

protected void initView ( ) { mMonthTitlePaint = new Paint ( ) ; mMonthTitlePaint . setFakeBoldText ( true ) ; mMonthTitlePaint . setAntiAlias ( true ) ; mMonthTitlePaint . setTextSize ( MONTH_LABEL_TEXT_SIZE ) ; mMonthTitlePaint . setTypeface ( Typeface . create ( mMonthTitleTypeface , Typeface . BOLD ) ) ; mMonthTitlePaint . setColor ( mDayTextColor ) ; mMonthTitlePaint . setTextAlign ( Align . CENTER ) ; mMonthTitlePaint . setStyle ( Style . FILL ) ; mSelectedCirclePaint = new Paint ( ) ; mSelectedCirclePaint . setFakeBoldText ( true ) ; mSelectedCirclePaint . setAntiAlias ( true ) ; mSelectedCirclePaint . setColor ( mTodayNumberColor ) ; mSelectedCirclePaint . setTextAlign ( Align . CENTER ) ; mSelectedCirclePaint . setStyle ( Style . FILL ) ; mSelectedCirclePaint . setAlpha ( SELECTED_CIRCLE_ALPHA ) ; mMonthDayLabelPaint = new Paint ( ) ; mMonthDayLabelPaint . setAntiAlias ( true ) ; mMonthDayLabelPaint . setTextSize ( MONTH_DAY_LABEL_TEXT_SIZE ) ; mMonthDayLabelPaint . setColor ( mMonthDayTextColor ) ; mMonthDayLabelPaint . setTypeface ( TypefaceHelper . get ( getContext ( ) , "Roboto-Medium" ) ) ; mMonthDayLabelPaint . setStyle ( Style . FILL ) ; mMonthDayLabelPaint . setTextAlign ( Align . CENTER ) ; mMonthDayLabelPaint . setFakeBoldText ( true ) ; mMonthNumPaint = new Paint ( ) ; mMonthNumPaint . setAntiAlias ( true ) ; mMonthNumPaint . setTextSize ( MINI_DAY_NUMBER_TEXT_SIZE ) ; mMonthNumPaint . setStyle ( Style . FILL ) ; mMonthNumPaint . setTextAlign ( Align . CENTER ) ; mMonthNumPaint . setFakeBoldText ( false ) ; }
sets up the text and style properties for painting . override this if you want to use a different paint .
