public void GoToday()
        {
            DateTime cal = DateTime.Now;

            mHelper = new MonthDisplayHelper(cal.Year, cal.Month);
            InitCells();
            Invalidate();
        }
        private void InitCalendarView()
        {
            mRightNow = DateTime.Now;
            // prepare static vars

            WEEK_TOP_MARGIN = (int)Resources.GetDimension(Resource.Dimension.week_top_margin);
            WEEK_LEFT_MARGIN = (int)Resources.GetDimension(Resource.Dimension.week_left_margin);

            CELL_WIDTH = (int)Resources.GetDimension(Resource.Dimension.cell_width);
            CELL_HEIGH = (int)Resources.GetDimension(Resource.Dimension.cell_height);
            CELL_MARGIN_TOP = (int)Resources.GetDimension(Resource.Dimension.cell_margin_top);
            CELL_MARGIN_LEFT = (int)Resources.GetDimension(Resource.Dimension.cell_margin_left);

            CELL_TEXT_SIZE = (int)Resources.GetDimension(Resource.Dimension.cell_text_size);
            // set background
            SetImageResource(Resource.Drawable.background);
            mWeekTitle = Resources.GetDrawable(Resource.Drawable.calendar_week);

            mHelper = new MonthDisplayHelper(mRightNow.Year, mRightNow.Month);
        }
        private void InitCalendarView()
        {
            mRightNow = DateTime.Now;
            // prepare static vars

            WEEK_TOP_MARGIN  = (int)Resources.GetDimension(Resource.Dimension.week_top_margin);
            WEEK_LEFT_MARGIN = (int)Resources.GetDimension(Resource.Dimension.week_left_margin);

            CELL_WIDTH       = (int)Resources.GetDimension(Resource.Dimension.cell_width);
            CELL_HEIGH       = (int)Resources.GetDimension(Resource.Dimension.cell_height);
            CELL_MARGIN_TOP  = (int)Resources.GetDimension(Resource.Dimension.cell_margin_top);
            CELL_MARGIN_LEFT = (int)Resources.GetDimension(Resource.Dimension.cell_margin_left);

            CELL_TEXT_SIZE = (int)Resources.GetDimension(Resource.Dimension.cell_text_size);
            // set background
            SetImageResource(Resource.Drawable.background);
            mWeekTitle = Resources.GetDrawable(Resource.Drawable.calendar_week);

            mHelper = new MonthDisplayHelper(mRightNow.Year, mRightNow.Month);
        }
 public void GoToday()
 {
     DateTime cal = DateTime.Now;
     mHelper = new MonthDisplayHelper(cal.Year, cal.Month);
     InitCells();
     Invalidate();
 }