I just want to create an action bar as a foursquare app. 
and I want to show a dropdown menu when the home button is pressed in the same way as the image shown. 
I can create a custom action bar, but not as the first image. Please provide any tutorial to help you create an action bar.
source share