I want to create button with drop down menu, like overflow menu button in ActionBar on ICS. I have problem because PopupMenu there isn\'t in android 2.x. The second way usin
If your purpose is to recreate an action bar, you could take a look at the ActionBarSherlock project, which backports thoses functionalities.
If you want to be able to pop such a menu anywhere in your app, you could read the implementation of the MenuPopupHelper class implementation in the ActionBarSherlock project source code.