I am Using Sherlock library and i also implement with myself. My problem is that i added two items in menu, now i want 1 item in left of actionbar and second in right of act
Additionally to Tomik's answer. You need to add
ab.setDisplayShowCustomEnabled(true);
in onCreate method, otherwise custom view does not appear (at least for me).