spinner list not showing my action bar?

view story

http://stackoverflow.com – private void setListNavigation(ActionBar bar) { String[] actions = new String[] { "Bookmark", "Subscribe", "Share" }; ArrayAdapter < String > adapter = new ArrayAdapter < String > (getBaseContext(), android.R.layout.simple_spinner_dropdown_item, actions); bar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); bar.setDisplayShowTitleEnabled(false); // hide application title from action bar bar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#dedfde"))); } When i try to add spinner to my action bar, it does not show (HowTos)