Questions tagged [options-menu]
108 questions
0
votes
1 answer
how can I make these loops continue based on users input? In java eclipse
When I run this code, which is a menu with many different options. it consists of many loops. Some of which I have yet to make. I am having trouble with my coin toss simulator. Although I have a for loop, the loop only cycles through once instead of…
user3293682
0
votes
0 answers
Setting permissions to hide menue items in a portlet's options menue in Liferay
Is it possible in Liferay (6.1.3) to define a user's permissions in a way that it is possible for a user to open a portlet's options dialog (using the wrench icon of the options menue) but restrict the tabs/menue items to bee seen?
To be more…

du-it
- 2,561
- 8
- 42
- 80
0
votes
1 answer
wp8 cant find a built-in options menu
Does anybody know if this control comes with the windows phone 8 SDK or if I must program it?
This screen appears when I go to people => click + icon. There are many very similar screens in windows phone but I don't know if they're ready controls or…

NadaNK
- 782
- 2
- 10
- 26
0
votes
4 answers
Robotium testing on options menu item click
I want to write a test class where i have to test on click of optionsmenu item(I have 3 items in options menu). so onclicking the options menu item I m showing the list view with the data which I am retrieving from the sd card.
the application…

Randroid
- 3,688
- 5
- 30
- 55
0
votes
1 answer
Listview is not showing the sd card data on options menu item click
On options menu Item click I want to show the files of emulator sd card in a list view.But Its not working for me.
my code is showing nothing on the options menu item click.
here is my code which I want to execute on options menu item click
Help is…

Randroid
- 3,688
- 5
- 30
- 55
0
votes
3 answers
Android - ListActivity doesn't display item when create the options menu
I have a ListActivity. Each time it starts, a AsyncTask runs to scan my IP address and displays the result in ListActivity. Everything works fine. But if I create a options menu (android 2.3) then my IP address doesn't be displayed in ListActivity.…

user2859914
- 113
- 1
- 7
0
votes
1 answer
Advanced Custom Field (ACF) not displaying thumbnail
I have an image gallery on a page, and I'm using advance custom fields to pull in a thumbnail and a larger version of that image. Right now, I have it set up as two separate fields so the user has to upload two separate images (a thumbnail and a…

Brittany Layne Rapheal
- 662
- 1
- 9
- 21
0
votes
1 answer
onSelect tax calculations
My work is only required to charge California State residents sales tax when they make a purchase. I wrote what I hoped would be a javascript function that will apply sales tax when the customer selects California from a drop down list of states. I…

user2267371
- 1
- 1
0
votes
1 answer
ActionBar Sherlock, Fragment and SearchWidget
As the title says i have a problem implementing search widget in some Fragment. My problem is that when i use inflater to inflate custom view inside a onCreateOptionsMenu and after that I find SearchView it is always null!
If anyone had same or…

Jovan
- 1,741
- 4
- 19
- 38
0
votes
1 answer
Can't call function from within onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem item)
{
//check selected menu item
switch (item.getItemId()) {
case R.id.exit:
this.finish();
return true;
case R.id.basic:
Difficulty = DIFFICULTY_BASIC;
…

Kristy Welsh
- 7,828
- 12
- 64
- 106
0
votes
1 answer
How to hide an optionsmenu button at runtime
In my app i have an optionsmenu. It has 2 buttons. Depending on a boolean value i would like to show/hide one of the buttons. I've got the following code but it doesn't hide the button. How can i do this?
@Override
public boolean…

turtleboy
- 8,210
- 27
- 100
- 199
0
votes
3 answers
Options Theme - Wordpress
Searching about options page, I found a lot of themes that uses a options theme page like this one:
There is an pre-built option? What framework do you advise?
Thanks

Brightweb
- 233
- 1
- 8
- 25
0
votes
2 answers
Don't call onCreateOptionsMenu in Fragment on largelayout
I have 3 Fragments which, in a normal (small) layout are all in separate Activities. They should provide an optionsmenu in the small layout.
In the large layout, I have the 3 fragments in one Activity, causing the menu to fill with the buttons…

nhaarman
- 98,571
- 55
- 246
- 278
0
votes
1 answer
Reusing the options menu xml - is it good practice
Is it considered good practice to use the same options menu in multiple activities?
For example:
You have a number of "edit object" activities, with each activity accommodating a different object. The options menu in "edit object" activities would…

Anna Lam
- 777
- 2
- 11
- 28
0
votes
1 answer
Can only push one button
Im using this code to make a hangman application, but if i chose a language first nothing happen if i push the three button (nyttSpillKnapp, omSpilletKnapp,avsluttKnapp)
I donno why. If i dont chose a language in the OptionMenu i can play the game.…

Joakim Hansen
- 117
- 2
- 9