Calling onDraw() method of a custom View in Android

view full story

http://stackoverflow.com – I have created a CustomView for Calendar. I have an onDraw method to draw the text in the calendar. I want to change the color of the day Text when i click on it. How can i achieve it? CalendarView.java : package com.example.calendar_module; import java.util.Calendar; import android.app.ActionBar.LayoutParams; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.util.MonthDisplayHelper; impo (HowTos)