I have an application wide menu that won't always show. Specifically specifically my issue is that when I set the target sdk version to 16 for devices with no hardware menu button The 3 dots (Action bar?) that should appear actua\lly don't.
I have the following manifest entries
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
In an avd emulator with no hardware buttons I see the 3 dots for the action bar menu
But if I set the target to 16
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" />
No action bar appears
I have styles set in various resource folders - values, values-v11 and values-v14
and in particular in values-v14 I have a styles.xml file that states
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
The manifest entry to set the theme is
<application android:label="@string/app_name"
android:name="uk.co.pjadult.mobile.adult_reader_lib.BookLib"
android:icon="@drawable/ic_launcher"
android:theme="@style/AppTheme">
I am left wondering if I need to set up resource folders with styles for ALL sdk versions?
I am at a loss as to what the correct approach should be in order to be able to set android:targetSdkVersion="16" AND have the action bar (3 dots) menu appear
UPDATE I am now using ActionBarSherlock with no issues