Search code examples
androidactionbarsherlockandroid-holo-everywhere

Use holoeverywhere in combination with actionBarSherlock


I am having trouble using the HoloEverywhere library. At first, I was just using ActionbarSherlock. Now, I would like to implement the holo theme on older devices aswell.

So I downloaded the library, and linked add the project to my main project as library, just like I did with SherlockActionBar.

But once I linked the library, I am getting errors:

enter image description here

I don't know how to solve this. Also, now my base theme extends from a Sherlock theme. How could I both use the sherlock and holo theme?

I've searched for a solution all day but couldn't fix my errors.


Solution

  • HoloEverywhere works with ActionBarCompat and not with ActionBarSherlock.

    You must remove ActionBarShelock and follow the Basic migration on HoloEverywhere steps. The ActionBar will appear "magically".

    If you really want to use ABS you can download HoloEverywhere v1.6.8 but this is an old version with known bugs and it doesn't have support.