title: How to detect a click for custom action bar?
body: <p>I have a requirement where i have a icon ( not the application icon ) that needs to be on left hand side of the action bar. </p>
  
  <p>I tried creating custom view but i have no clue on how to detect the click on that icon.</p>
  
  <p>Other option that comes to mind is to have setIcon(mycustomicon) and handle the click events onOptionSelected method; but this method is also not being invoked and not working. </p>
  
  <p>I am using actionbar sherlockholmes library. Is it because of that?</p>
  
  <p>Please help me as i am stuck with this for days . </p>
  
  <p>Thanks in advance</p>