Following a tutorial to understant the actionbar more 

http://www.vogella.com/tutorials/AndroidActionBar/article.html