title: How to add a drop down menu on Actionbar without the preselected item occupying space
body: <p>I would like to add on the android Actionbar a drop down menu without a preselected option. More precisely I would like the arrow to be next to the application's icon on actionbar. So far the code is:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      .
      .
      .
  ActionBar actionBar = getActionBar();
      actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
               SpinnerAdapter spinnerAdapter = ArrayAdapter.createFromResource(this, R.array.logo_options,
                          android.R.layout.simple_spinner_dropdown_item);
              actionBar.setListNavigationCallbacks(spinnerAdapter, null);
  
      }
  </code></pre>
  
  <p>How can I get rid of the text on the actionbar?</p>