Adding dropdown to my action-bar title
<pre><code>bar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
ArrayAdapter &lt; String &gt; adapter = new ArrayAdapter &lt; String &gt; (this, 
         android.R.layout.simple_spinner_dropdown_item,
                         R.array.arrayItem);

bar.setListNavigationCallbacks(adapter, new OnNavigationListener() {    
    @Override
    public boolean onNavigationItemSelected(int itemPosition, long itemId) {
        // TODO Auto-generated method stub
        return false;
    }
});
</code></pre>

<p>I have been trying this one, but i don't get any drop-down or spinner here. Can anyone tell me what's the problem going on here?</p>
