I got few Activities that use "@android:style/Theme.Holo.Light.NoActionBar" as theme. API levels above 11 work without a problem, but when I set my minimumSdkVerison to "8" in manifest it tells me that it requires API level 13.
If I understood correct there is no ActionBar or “Theme.Holo” in API levels below 8, so there will be no ActionBar by default, but however if I leave "@android:style/Theme.Holo.Light.NoActionBar" out then in API levels above 11 my Activities will have the ActionBar. Is there any simple way to get rid of ActionBar in all the Activities? I tried using Sherlock ActionBar, but found it too complicated for my needs, as I only want to get rid of ActionBar above API 11 devices.
When you create a new project with the Eclipse wizard, it creates the theme
AppThemefor you, which inherits fromAppBaseTheme. This theme is replaced depending on the API Level. So you can useandroid:Theme.Light.NoTitleBaras your default theme andandroid:Theme.Holo.Light.NoActionBarfrom API Level 11 upwards.If you don’t care about using Holo, just use
android:Theme.Light.NoTitleBaras your theme.