I'd like to change my Action Bar buttons in code according to whatever is selected on screen.
This is kind of like the Honeycomb Gmail app, where you can check a few mail items and get a different Action Bar with a different look too.
Any idea how I can do this?