I’m working on a application that has a different appearance depending on the result of an API call. This call returns a set of data, also containing information about the appearance of the app. Since I get this information on the run, I cant edit styles.xml to design the ActionBarSherlock I’m using.
What is was wondering, is there a way to customize the ActionBar solely from code? I mean more than the icon, title or background. But textcolors and menuitems and so on.
do something like the following where actionbar is a layout with a bunch of buttons that you can restyle programatically