title: Action bar : get view element
body: <p>I am implementing <strong>Action bar</strong> compoment.</p>
  
  <p>my <code>res/menu/action_menu.xml</code> which holds two items to be shown on <strong>Action Bar</strong>:</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/help_me"
            android:icon="@drawable/help"
            android:showAsAction="always"/&gt;
  
      &lt;item 
            android:id="@+id/log_out"
            android:icon="@drawable/logout"
            android:showAsAction="always"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>In my <strong>Activity</strong>:</p>
  
  <pre><code>public class MyActivity extends FragmentActivity{
  
       @Override
       protected void onCreate(Bundle arg0) {
          super.onCreate(arg0); 
          ...
       }
  
       @Override
       public boolean onCreateOptionsMenu(Menu menu) {
          MenuInflater inflater = getMenuInflater();
          inflater.inflate(R.menu.action_menu, menu);
          return true;
      }
  
  }
  </code></pre>
  
  <p>I would like to fetch the <code>@+id/help_me</code> icon from action bar <strong>&lt; item ></strong> and <strong>add</strong> <code>onClickListener</code> to it, based on my above code in Activity, where and how can I fetch the <code>@+id/help_me</code> icon and add the listener ??</p>