I want a widget like this on the action bar:
How can I custom the widget on the actionbar using holo everywhere or actionbarsherlock?
When clicked the Modify or the FaceBook Item, the Name text do not change, just like a menu.
A spinner or a button with dropDownItems?
You can achieve this with the action bar list navigation mode which uses a Spinner
. Here is a simple example from the ActionBarSherlock samples.
To have a static text at the top, you have to create your own Adapter
to override getView()
. There you inflate a layout with an image and the text "Name" and return it for all positions.