Android Question Activity.AddMenuItem is not showing in my android device

Lyndon Bermoy

Active Member
Licensed User
Longtime User
Hi, can somebody help me to have my Activity.AddMenuItem showing? I have read questions about it that it cannot be seen in android 4+. Is there still a way to fix this or replace the addmenuitem?
 

RandomCoder

Well-Known Member
Licensed User
Longtime User
Upvote 0

Lyndon Bermoy

Active Member
Licensed User
Longtime User
Upvote 0

freedom2000

Well-Known Member
Licensed User
Longtime User
HI,

I had the same problem.
With this in the manifest, the menus appear again :

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
 
Upvote 0
Top