I am currently trying to add a a settings into my application but I don’t want it on my action bar as it says in the android developer documentation that settings should always be in the action overflow towards the bottom.
My question to you is can you force it to be in the action overflow even though there are no other action buttons and tons of room in the bar?
I have tried doing this
android:showAsAction="never"
but this just makes it so you have to push the hardware menu button.
Is there an easy way of doing this that I am missing?
Any help would be much appreciated
Disco
If you test in the emulator for
Honeycomb(for tablets without any hardware buttons) the Settings menu withshowAsActionnever it will always be placed in the overflow menu. I think what you’re seeing is the default behavior for phones with menu buttons and I don’t know if you can modify it.