[android] How to hide 3-dots menu button


Hi, I’m using Cocos2dx 2.2.2 on Windows with Eclipse and my game runs ok, but on HTC Note M4, Android 4.1 there is this 3-dots menu button that sits on bottom and only annoys.

Screen with 3-dot menu (whole screen was black at the moment, so don’t worry about this :slight_smile: ) : http://i.imgur.com/BlFkle0.png

I was trying follow this guide to resolve the problem: http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html

I’ve changed in Manifest android:theme="@android:style/Theme.NoTitleBar.Fullscreen" to android:theme="@android:style/NoActionBar" and in http://i.imgur.com/L1dw8hc.png

But I stuck at error: Error: No resource found that matches the given name (at 'theme' with value '@android:style/NoActionBar').

Maybe C:\adt-bundle-windows-x86_64\sdk\platforms\android-19\data\res\values is not the correct folder for themes.xml, but when I click in Eclipse on @android:style/Theme.NoTitleBar.Fullscreen it opens themes.xml from that folder, anybody can help me?




I did it increasing the android:targetSdkVersion in the manifest:


Hmmmm… but I’ve got targetSDKVersion set to 19, so this isn’t a case.