private void initView(){
  mMonthTitlePaint=new Paint();
  mMonthTitlePaint.setAntiAlias(true);
  mMonthTitlePaint.setColor(mMonthNameTextColor);
  mMonthTitlePaint.setTextSize(mMonthLabelTextSize);
  mMonthTitlePaint.setTypeface(Typeface.create(mMonthTitleTypeface,Typeface.BOLD));
  mMonthTitlePaint.setTextAlign(Paint.Align.CENTER);
  mMonthTitlePaint.setStyle(Paint.Style.FILL);
  mMonthTitlePaint.setFakeBoldText(true);
  mMonthDayLabelPaint=new Paint();
  mMonthDayLabelPaint.setAntiAlias(true);
  mMonthDayLabelPaint.setColor(mDayNameTextColor);
  mMonthDayLabelPaint.setTextSize(mMonthDayLabelTextSize);
  mMonthDayLabelPaint.setTypeface(Typeface.create(mDayOfWeekTypeface,Typeface.NORMAL));
  mMonthDayLabelPaint.setTextAlign(Paint.Align.CENTER);
  mMonthDayLabelPaint.setStyle(Paint.Style.FILL);
  mMonthDayLabelPaint.setFakeBoldText(true);
  mDayNumberSelectedPaint=new Paint();
  mDayNumberSelectedPaint.setAntiAlias(true);
  mDayNumberSelectedPaint.setColor(mSelectedDayColor);
  mDayNumberSelectedPaint.setAlpha(mSelectedDayCircleAlpha);
  mDayNumberSelectedPaint.setTextAlign(Paint.Align.CENTER);
  mDayNumberSelectedPaint.setStyle(Paint.Style.FILL);
  mDayNumberSelectedPaint.setFakeBoldText(true);
  mDayNumberPaint=new Paint();
  mDayNumberPaint.setAntiAlias(true);
  mDayNumberPaint.setTextSize(mMiniDayNumberTextSize);
  mDayNumberPaint.setTextAlign(Paint.Align.CENTER);
  mDayNumberPaint.setStyle(Paint.Style.FILL);
  mDayNumberPaint.setFakeBoldText(false);
  mDayNumberDisabledPaint=new Paint();
  mDayNumberDisabledPaint.setAntiAlias(true);
  mDayNumberDisabledPaint.setColor(mDisabledTextColor);
  mDayNumberDisabledPaint.setTextSize(mMiniDayNumberTextSize);
  mDayNumberDisabledPaint.setTextAlign(Paint.Align.CENTER);
  mDayNumberDisabledPaint.setStyle(Paint.Style.FILL);
  mDayNumberDisabledPaint.setFakeBoldText(false);
}

private void initView ( ) { mMonthTitlePaint = new Paint ( ) ; mMonthTitlePaint . setAntiAlias ( true ) ; mMonthTitlePaint . setColor ( mMonthNameTextColor ) ; mMonthTitlePaint . setTextSize ( mMonthLabelTextSize ) ; mMonthTitlePaint . setTypeface ( Typeface . create ( mMonthTitleTypeface , Typeface . BOLD ) ) ; mMonthTitlePaint . setTextAlign ( Paint . Align . CENTER ) ; mMonthTitlePaint . setStyle ( Paint . Style . FILL ) ; mMonthTitlePaint . setFakeBoldText ( true ) ; mMonthDayLabelPaint = new Paint ( ) ; mMonthDayLabelPaint . setAntiAlias ( true ) ; mMonthDayLabelPaint . setColor ( mDayNameTextColor ) ; mMonthDayLabelPaint . setTextSize ( mMonthDayLabelTextSize ) ; mMonthDayLabelPaint . setTypeface ( Typeface . create ( mDayOfWeekTypeface , Typeface . NORMAL ) ) ; mMonthDayLabelPaint . setTextAlign ( Paint . Align . CENTER ) ; mMonthDayLabelPaint . setStyle ( Paint . Style . FILL ) ; mMonthDayLabelPaint . setFakeBoldText ( true ) ; mDayNumberSelectedPaint = new Paint ( ) ; mDayNumberSelectedPaint . setAntiAlias ( true ) ; mDayNumberSelectedPaint . setColor ( mSelectedDayColor ) ; mDayNumberSelectedPaint . setAlpha ( mSelectedDayCircleAlpha ) ; mDayNumberSelectedPaint . setTextAlign ( Paint . Align . CENTER ) ; mDayNumberSelectedPaint . setStyle ( Paint . Style . FILL ) ; mDayNumberSelectedPaint . setFakeBoldText ( true ) ; mDayNumberPaint = new Paint ( ) ; mDayNumberPaint . setAntiAlias ( true ) ; mDayNumberPaint . setTextSize ( mMiniDayNumberTextSize ) ; mDayNumberPaint . setTextAlign ( Paint . Align . CENTER ) ; mDayNumberPaint . setStyle ( Paint . Style . FILL ) ; mDayNumberPaint . setFakeBoldText ( false ) ; mDayNumberDisabledPaint = new Paint ( ) ; mDayNumberDisabledPaint . setAntiAlias ( true ) ; mDayNumberDisabledPaint . setColor ( mDisabledTextColor ) ; mDayNumberDisabledPaint . setTextSize ( mMiniDayNumberTextSize ) ; mDayNumberDisabledPaint . setTextAlign ( Paint . Align . CENTER ) ; mDayNumberDisabledPaint . setStyle ( Paint . Style . FILL ) ; mDayNumberDisabledPaint . setFakeBoldText ( false ) ; }
sets up the text and style properties for painting .
