Action overflow like button at the bottom in Nexus 4 - android

I have designed this simple login screen.
In the LoginActivity, I have not declared onCreateOptionsMenu or onPrepareOptionsMenu.
But still I am getting overflow like button at the screen bottom right as shown in the below picture. When I click on it, it does not do anything.
If it were an Action item it would be in the Action Bar area not along with the device's native soft buttons.
Does anybody know how can it be resolved?

You'll need to set android:targetSdkVersion="14" or higher within your AndroidManifest.xml to get rid of the "menu button of shame".

Related

Can we implement a list on ActionBar using Sherlock Library in Android?

I am using Action Bar in my application to implement Tab Fragments. I am successful in it. But getting a small problem. I am in a need of a drop-down list at the Right Corner of the action bar and a search button. Please see the image:
You can see the red marked buttons that i need to show in Action bar and below the actionbar we have tab fragments. I am successful in generating the Fragments but getting problem in showing these buttons on Actionbar. Please help me
The overflow button is automatically generated but if you have a phone with hardware button it wont show up. You shouldn't try to force it to show up as it goes against ussual behaviour for people with phones that have a hardware button.

Menu list goes out of screen when anyDensity="false"

I'm looking for a solution of the next problem.
When I set in my Manifest file android:anyDensity="false" in tag - Menu list that drops down when I click on Menu in Action Bar goes out of the screen and within screen there is only a half of menu item is shown. F.i. if i have "Settings" menu item there only "Sett" will be shown.
This is the screen:
Can anybody help me?
My andriod 4.0.4
the Only answer that i found so far is to change the location of your view in the layout so it can find space to show :(

overflow button on jellybean

I am developing an application with target Sdk 17. My current device is Nexus 7.
My app should be without an action bar so I am using the theme Theme.Holo.NoActionBar on the activity.
I want to show the overflow button (3 dots) at the bottom right (next to the recent task). but I can't make it to be visible. If I return the action bar I see it at the top right, but that's not what I want.
Is there any idea for anyone?
If you are talking about OptionsMenu button you must use ActionBar, or you can set android:targetSdkVersion="10" for your project in manifest file. This will enable compatibility behaviour and you will see menu button near other navigation buttons .

Theme.NoTitleBar.Fullscreen and preferences button

I am working on an app for tablet that uses the Theme.NoTitleBar.Fullscreen: my tablet is under android 4.1.1 and the settings button should be on the top right corner of the app, but with such a style, the button (three little squares aligned vertically) is not visible... how can I fix that?
The button you are talking about is part of the title bar. So if you request to hide that one, your button is of course not accessible anymore.
You have to provide a button in your layout to access your settings screen. Or show the title bar.
You can use context menus for resolving this thing ... i was having the same problem... and if you want to use legacy overflow button (the three dots) please refer to this link http://android-developers.blogspot.in/2012/01/say-goodbye-to-menu-button.html

How to avoid duplicate menu buttons in devices with API>10

How can I remove or hide the soft menu button in the bottom bar but still keep the overflow menu button in the ActionBar.
I have set the target API to:
android:targetSdkVersion="11"
as suggested here.
My app does have menu items so I am overriding the onCreateOptionsMenu().
The menu button appears both in the right side of the ActionBar and in a bottom bar. I simple don't want the space in the bottom of screen to be wasted for a duplicate menu button. I have seen apps like YouTube or Google Play which only have menu button in the ActionBar so I assume there should be a way to do this.
Raising target API to 14 (android:targetSdkVersion="14") solved this problem.
with thanks to CommonsWare
`

Categories

Resources