Questions tagged [options-menu]
108 questions
5
votes
2 answers
Launching activity from android options menu
I have looked through these forums to find a solution to this problem, and even though there appear to be solutions, none of them seem to be working for me. So here goes.
I am a newbie to Android development. I have an app with an options menu. When…

bpmccain
- 600
- 4
- 12
- 25
5
votes
2 answers
How can i change the size of the buttons of my options menu?
I have an options menu (it pops up when you press the menu key of the phone) with 5 buttons, all of them with one 48x48 image and text.
Now the five buttons are displayed in two rows, but I want to reduce the size of them to fit all five buttons…

NullPointerException
- 36,107
- 79
- 222
- 382
5
votes
1 answer
Strange options menu behavior in Android TabActivity
I have a TabActivity with four tabs (each is its own Activity). Each tab defines its own onCreateOptionsMenu (and in some cases, onPrepareOptionsMenu). When each tab is loaded, an AsyncTask is kicked off to retrieve the data needed to populate that…

jakeboxer
- 3,300
- 4
- 26
- 27
5
votes
1 answer
Intellij maven options - What are differences between them
Im a bit confused with maven options in intellij.
What are the differences between and when would you use them?
Reimport
Generate Sources and Update Folders
Download Sources
Download Documentation

Robbo_UK
- 11,351
- 25
- 81
- 117
5
votes
1 answer
how to keep an options menu always on the screen
I need the options menu to be displayed on screen always.. I've written the code to open options menu on the startup of an activity..
@Override
public void onAttachedToWindow() {
openOptionsMenu();
};
But on clicking on another…

Deepzz
- 4,573
- 1
- 28
- 52
4
votes
1 answer
Activity has leaked window on orientation change with a SubMenu opened
I have a problem with my Android app. The activity has an options menu.
The menu looks like this:
4
votes
3 answers
Using Options Menu in a multi-Fragment Activity
I have a FragmentActivity which hosts a FragmentStatePagerAdapter. The pager contains multiple instances of the same fragment, in order that the user can swipe between the items in a list. I want to be able to provide the user with an options menu…

blork
- 2,150
- 6
- 26
- 45
4
votes
1 answer
Custom options menu in Android
I want to create a custom OptionsMenu in my application. The default OptionsMenu display only three items in one row. Now i want to display five to six items having only icons. Also i want to change the background color of the OptionsMenu but not…

Vikas Patidar
- 42,865
- 22
- 93
- 106
4
votes
1 answer
OptionMenu for whole App in Android?
I can create an Option Menu for a single Activity. But now I want to create a Logout option in the menu which should be available on all Activities in the App. Is there a possible way to create an Option menu once for an Application?

Praveen
- 90,477
- 74
- 177
- 219
4
votes
2 answers
how to get selected value from a option set crm 4 dynamics 2011 online
This is a question related to using javascript with crm 4 2011 online
I created an optionset -status: open,closed and a onchange event handler that calls the function run with the context as parameter.
In js i tried the following and more:
function…

zirbel
- 402
- 1
- 5
- 23
3
votes
4 answers
Creating Options menu in Android
I am trying to create options menu in my Android program. I am using the following code to inflate options menu :
@Override
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
MenuInflater…

Timson
- 1,337
- 3
- 19
- 32
3
votes
1 answer
is there a native options menu for swift ios?
I want to add a simple menu for my swift app.
An option menu or a sideBar.
I saw these tutorials
Does iOS supports OptionsMenu in navigation bar button like Android
===> how do I set 3 stips\dots image?
http://www.appcoda.com/sidebar-menu-swift/ …

Elad Benda
- 35,076
- 87
- 265
- 471
3
votes
2 answers
Android - Options Menu wont work
I am trying to create an Options menu in an Activity that gets started from a Service and then changes its UI based on messages from the Service passed via a Handler.
I set up the Options menu as follows:
/** Menu creation and setup **/
…

Donal Rafferty
- 19,707
- 39
- 114
- 191
3
votes
2 answers
Python TKinter dropdown menu issue
In the below code I am having trouble with the line self.dmenu1.bind("", self.branches), and I'd be really grateful if someone can please set me in the right direction.
I'm expecting to select the an option in the dropdown menu and it…

Zenettii
- 393
- 1
- 5
- 15
2
votes
4 answers
Detecting the background color of the option menu
I have realized that there are at least two background colors on Option menu of Android. On the HTC Hero, the background is white and on Samsung Galaxy S II, the background is black.
This became a problem when I set the icons for the background…

jiahao
- 3,373
- 2
- 35
- 36