Set Item postition in ActionBar
<p>I have this layout that add <strong>1 or more items</strong> into the ActionBar</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; 
&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
        &lt;item
           android:id="@+id/item_test"                
           android:showAsAction="always|withText"
           android:title="SearchIcon"/&gt; 
&lt;/menu&gt;
</code></pre>

<p>And then I will add another item dynamically into the ActionBar from another Fragment or Activity</p>

<pre><code>MenuItem populateItem = menu.add("My New Item - Reload Icon");
</code></pre>

<p>But I want the item that I just added to <strong>stay in front</strong> of the items I had before, like the picture:</p>

<p><img src="http://i.stack.imgur.com/TKsgv.png" alt="enter image description here"></p>

<p>If I add it like I did, the icons will be shown as the last picture, how can I get the alignment like in the second picture? </p>
