Nice post on customizing the action bar:

http://android-developers.blogspot.com/2011/04/customizing-action-bar.html

attn: gsoc applicants :)