title: How can I make the items on ActionBar to be one on the left, one in the center and one on the right?
body: <p>I'm using <code>actionbarsherlock</code> to do it.
  Example of what I want in the actionbar: <br/>
  [LOGIN]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[COMPANY LOGO]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[FILTER]</p>
  
  <p>Example of what I get in the actionbar: <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        [LOGIN]&nbsp;&nbsp;[COMPANY LOGO]&nbsp;&nbsp;[FILTER]</p>
  
  <p>I have created the login button, company logo and filter button (in the form of drawables) in the res/menu's <code>activity_main.xml</code>. However, those buttons on the actionbar are unable to shift fully to the left, even though I have removed the default application logo and set those to <code>false</code>:</p>
  
  <pre><code>getSupportActionBar().setDisplayShowTitleEnabled(false);
  getSupportActionBar().setDisplayShowHomeEnabled (false);
  </code></pre>
  
  <p>here are my codes in the menu's <code>activity_main.xml</code>:</p>
  
  <pre><code>&lt;item android:id="@+id/login"
        android:icon="@drawable/login_btn"
        android:layout_gravity="left"
        android:showAsAction="always"/&gt;
  
  &lt;item android:id="@+id/logo"
        android:icon="@drawable/logo_btn"
        android:layout_gravity="center"
        android:showAsAction="always"/&gt;
  
  &lt;item android:id="@+id/filter"
        android:icon="@drawable/filter_btn"
        android:layout_gravity="right"
        android:showAsAction="always"/&gt;
  </code></pre>