how to change the view of action bar
<p>I am developing an application which contains an action bar.I have made it,it runs fine,but the 2 menu items which i have added are located on extreme right of the action bar.Now i want to put a menu item on the extreme left of the action bar.please tell me how to make it happen.The code is given below:</p>

<pre><code>public class NaseebactionbarActivity extends SherlockActivity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.newlayout);
        ActionBar actionbar = getSupportActionBar();
        actionbar.show();
        }



    @Override
    public boolean onCreateOptionsMenu(com.actionbarsherlock.view.Menu menu ) {
        com.actionbarsherlock.view.MenuInflater inflater = getSupportMenuInflater();
        inflater.inflate(R.menu.menu, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(com.actionbarsherlock.view.MenuItem item){
        // same as using a normal menu
        switch(item.getItemId()) {
        case R.id.menu1:
            LayoutInflater inflater=getLayoutInflater();
           View view = inflater.inflate(R.layout.main,null);
           view.setMinimumWidth(200);
            view.setMinimumHeight(200);

            AlertDialog.Builder alertDialog = new AlertDialog.Builder(this);
            LinearLayout linearLayout = new LinearLayout(this);
            linearLayout.setLayoutParams( new  LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT,
            LinearLayout.LayoutParams.MATCH_PARENT));
            linearLayout.setOrientation(1);     
            linearLayout.addView(view);
            alertDialog.setView(linearLayout);
            alertDialog.show();
            break;
        case R.id.menu2:
            //makeToast("Saving...");
            break;
        }

        return true;
    }

    public void makeToast(String message) {

        Toast.makeText(this, message, Toast.LENGTH_SHORT).show();
    }   
}
</code></pre>
