options-menu Questions

4

I need to make sure that the options menu has been created before i run a certain code that accesses one of the menu items. Is there a callback for that or how can i implement one? Is there any gu...
Kong asked 28/2, 2012 at 14:44

6

I want to create an intent that starts a new activity once a Menu Item is clicked, but I'm not sure how to do this. I've been reading through the android documentation, but my implementation isn't ...

1

Trying to understand what cause the window leak in my Activity. The activity extends AppCompatActivity. It has a single view with a RecyclerView and a ProgressBar invisible while rotating. @Overri...

6

Solved

I have a working SearchView which expands in my OptionsMenu when the user taps on the search icon. However it only expands within the available space among the other OptionsMenu icons. On a wide sc...
Luce asked 5/8, 2013 at 16:27

6

Solved

I have an Options Menu on my Activity with an MenuItem "Start". When this MenuItem is selected I would like to alter the Menu so it contains a MenuItem "Stop". And finally when "Stop" is selected, ...
Algonquin asked 16/11, 2010 at 22:34

5

I have tried to change the background color of options menu in my android app. I am using ActionBarSherlock library. I have tried this code for changing the background color of options menu https:...

2

I've seen several reports of issues where openOptionsMenu() will not work on various Android versions, eg: openOptionsMenu() across android versions openOptionsMenu() not working but the issue I...

3

Solved

I'm following a book on Android Development to get myself started writing my first real app. I got up to the point where I'm making an options menu for one of my activities. The menu shows up, but ...
Farlee asked 18/1, 2012 at 11:2

2

Solved

I would like to know (as I've failed so far in finding such a feature in the VS's options), if there is a feature which allow for scope highlighting same as seen in the BlueJ IDE for java, he...
Elexa asked 2/1, 2013 at 21:27

2

Solved

Each time my Optionsmenu opens (onCreateOptionsMenu(..) is called), I get these warnings: "No keyboard for id 0" and "Using default keyMap: /system/usr/keychars/qwerty.kcm.bin" I couldn'...
Margret asked 12/6, 2011 at 11:34

1

Solved

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 Documentat...
Doubletalk asked 4/9, 2014 at 12:47

1

Well, tried a lot of ways to solve this problem but nothing... I want to open the options menu via menu item. package com.example.tachles; import android.content.Intent; import android.net.Uri; ...
Neeley asked 21/4, 2014 at 11:54

3

Solved

When using the ActionBar in Android, how do you refresh the options menu? I have tried hiding and showing the bar, along with getting a new instance of it with "getSupportActionBar()" I am trying ...
Twayblade asked 23/8, 2012 at 22:3

1

Solved

Hello Android Developers, I have seen a lot of question regarding the update of Options Menu. However, every answer says I have to call invalidateOptionsMenu(). My question is, is there any other ...
Carlie asked 14/2, 2013 at 3:44

2

Solved

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 ...
Unctuous asked 11/7, 2011 at 15:38

4

Solved

I have a menu created through: @Override public boolean onCreateOptionsMenu(Menu menu) { menu.add("Email"); return super.onCreateOptionsMenu(menu); } But I can't remember how to set a oncl...
Prunella asked 13/7, 2011 at 14:31

4

Solved

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.onCreateOption...
Coiffure asked 23/1, 2012 at 10:17

1

how do I remove focus from options menu item? I.e. when I open the menu for the first time, none of the items has focus. however, if I focus on one of them using track ball, and then close and re-o...
Robynroc asked 17/10, 2010 at 10:55

1

Solved

I have tried everything to get my 'forward' and 'back' to work. Refresh is working [I figured it out by changing the method to read 'webView.reload();' instead of 'webView.refresh();' Can anyon...

2

Solved

When the user clicks on the Menu button I present a few menu items. One of them is a Sign Out button. I want to be able to change the text between "Sign In" and "Sign Out" depending on a boolean va...
Siren asked 3/5, 2011 at 21:45
1

© 2022 - 2024 — McMap. All rights reserved.