I have a wide application menu that will not always be displayed. In particular, my problem is that when I set the target version of sdk to 16 for devices without a hardware menu button. 3 dots (action bar?), Which should appear, do not work.
I have the following manifest entries
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
In the avd emulator without hardware buttons, I see 3 dots for the action bar menu
But if I set the goal to 16
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" />
Action bar not showing
I have styles set in different resource folders - values, v11 values ββand v14 values
and in particular in the values ββof-v14 I have a styles.xml file that states
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
The manifest item to set the theme
<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 have to wonder if I need to configure 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 the action bar menu will appear (3 points)
UPDATE I am now using ActionBarSherlock without problems
android android-actionbar android-menu
jamesc Sep 21 2018-12-12T00: 00Z
source share