Search code examples
androidactionbarsherlockandroid-themeandroid-holo-everywhere

Android HoloEverywhere: No top ActionBar/TitleBar on default Holo.Theme issue


I'm using HoloEverywhere port for my app and I have this really weird issue: on Gingerbread the default Holo.Theme doesn't show the top ActionBar/TitleBar on any of the activity (yes I did go over all my layouts and XMLs manifest for 'silly' mistakes).

However when tested on another phone running JellyBean it worked as expected. (you may argue JB already have Holo Theme built-in... but anyway I'm just stating the fact of what's happening.)

This has frustrated the heck out of me for 2 days already. Any ideas?


Solution

  • Here's how I fix it:

    • Add this to your AndroidManifext.XML

      android:name="org.holoeverywhere.app.Application"

    • Add this to your Activity

      import org.holoeverywhere.app.Activity;

    • Done.