nicolasgramlich / AndEngine

Free Android 2D OpenGL Game Engine
http://www.andengine.org
Apache License 2.0
3.18k stars 1.35k forks source link

3 dot overflow menu not showing up #297

Open ReneVella opened 4 years ago

ReneVella commented 4 years ago

Since upgrading the app to SDK 28 it seems that the 3dot overflow menu is not showing up and therefore i lost the menu in my app. Appreciate any suggestions to rectify this issue ?

here is my code

package com.example.myapplication2;

import org.andengine.engine.camera.Camera; import org.andengine.engine.options.EngineOptions; import org.andengine.engine.options.ScreenOrientation; import org.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy; import org.andengine.entity.modifier.MoveModifier; import org.andengine.entity.scene.Scene; import org.andengine.entity.scene.background.Background; import org.andengine.entity.scene.menu.MenuScene; import org.andengine.entity.scene.menu.MenuScene.IOnMenuItemClickListener; import org.andengine.entity.scene.menu.item.IMenuItem; import org.andengine.entity.scene.menu.item.SpriteMenuItem; import org.andengine.entity.sprite.Sprite; import org.andengine.entity.util.FPSLogger; import org.andengine.opengl.texture.TextureOptions; import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas; import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlasTextureRegionFactory; import org.andengine.opengl.texture.region.ITextureRegion; import org.andengine.ui.activity.SimpleBaseGameActivity;

import android.opengl.GLES20; import android.view.KeyEvent;

import android.view.Menu; import android.view.MenuInflater;

/**

<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/action_settings" android:title="@string/action_settings" app:showAsAction="never" /> ...

nicolasgramlich commented 4 years ago

Hey man, it's been a couple years since I stopped working on this project. Sounds like you'd be better off asking in a general Android forum.