Set weekdays programmatically
===

I am using [w2davids calendar][1] and in that calendar, the author of the code has used an image (ImageView) to display the weekdays:

    <LinearLayout
    	android:layout_gravity="center"
    	android:layout_width="fill_parent"
    	android:layout_height="wrap_content">
    	<ImageView
    		android:id="@+id/calendarheader"
    		android:src="@drawable/blue_bg_with_text"
    		android:layout_gravity="center"
    		android:layout_width="fill_parent"
    		android:layout_height="wrap_content">
    	</ImageView> 
    </LinearLayout>

![enter image description here][2]


I would not like to use an image for the weekdays. How can I set it programmatically?


  [1]: http://w2davids.wordpress.com/android-simple-calendar/
  [2]: http://i.stack.imgur.com/7yH2z.png