I am trying to add a custom ActionView to my ActionBar.
I am trying to add the common refresh button. (ImageButton, Prog
onOptionsItemSelected() should only be called if the action item is in the overflow menu which you should also handle. (you have it forced to "always" on action bar, so onOptionsItemSelected() won't get called).
At onCreateOptionsMenu() after inflating, you must setup a OnMenuItemClickListener for the menu item.