2014-07-31 5:08 GMT+01:00 TreKing treking...@gmail.com:
For example, this won't be there on device with Menu Buttons, despite it
being phased out.
You have ViewConfigurator#hasPermanentMenuKey()
Can one assume that the menu icon (3 veritical dots) will always be on the
top-right corner.
Reason - I'm creating some app hint screens and would like to point int the
direction of the
menu icon.
--
You received this message because you are subscribed to the Google
Groups Android
On Wed, Jul 30, 2014 at 12:28 PM, dashman erjdri...@gmail.com wrote:
Can one assume that the menu icon (3 veritical dots) will always be on the
top-right corner.
Sure you can assume that, but you know what happens when you assume :)
For example, this won't be there on device with Menu
Hi,
I have referred the below blog,
http://android-developers.blogspot.in/2012/01/say-goodbye-to-menu-button.html
In my app I want to check the Menu key is present or not.
For that I have used hasPermanentKey() function which is introduced in API
level 14 but I cant use it GB.
Can we assume if
Hi,
The case is that I have several activities in which I use actionbar
successfully, showing different actions on top (with icons), but when I
click on menu key (galaxy s4) then the menu options is not shown... I don't
know really if this is the desired behavior but I would like to have both
Hi,
It seems that new devices have a light-on-dark style when it comes to the
UI, specifically menus. Older devices have a dark-on-light style. These are
completely at odds with each other and makes it difficult to select an
appropriately shaded icon for menus. I've settled on a light gray, which
The name of that UI element is probably something like
CustomFacebookMenuThatYouWouldHaveToCreateFromScratchIfYouWantTheSameBehavior
:-)
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sun, Jun 10, 2012 at 2:01 PM, zachariahyoung zpyo...@gmail.com
Can some one help me with the name or example of the menu widget that the
Facebook app is using. It is the widget what appears when you click the
three bars on the upper right hand corner.
Thanks
Zach
--
You received this message because you are subscribed to the Google
Groups Android
Hi Developers,
I have an app developed for 2.2+. This app has menu options. Now on 4.X i
get a compatibly menu button. Now after including action bar i am not sure
how the app should behave.
I change my app and set targetSdkVersion to 14 with proper min version and
include the support jar. Add
On Thu, May 31, 2012 at 7:38 AM, giles ian gilesian@gmail.com wrote:
Hi Developers,
I have an app developed for 2.2+. This app has menu options. Now on 4.X i
get a compatibly menu button. Now after including action bar i am not sure
how the app should behave.
I change my app and set
Thanks Mark, So what you are trying to say is if i don't use
ActionBarSherlock then i wont get ActionBar on 2.2 and 2.3, which will mean
there will absolutely be no change (ui wise) in my my but when it runs on
3.0+ an action bar will pop up.
Now if this is the case what code changes do i need
On Thu, May 31, 2012 at 7:56 AM, giles ian gilesian@gmail.com wrote:
Thanks Mark, So what you are trying to say is if i don't use
ActionBarSherlock then i wont get ActionBar on 2.2 and 2.3, which will mean
there will absolutely be no change (ui wise) in my my but when it runs on
3.0+ an
On May 25, 2012, at 3:05 PM, Marcin Orlowski wrote:
if you need own menu (drawn on surface) then your event listener have to tell
the rendered to draw one when all criterias are met (and you have to make own
menu of course)
Or alternatively you could use, say RelativeLayout, and have your
On Fri, May 25, 2012 at 06:01:49PM -0500, TreKing wrote:
On Fri, May 25, 2012 at 5:45 PM, RLScott fixthatpi...@yahoo.com wrote:
Is it really possible that someone with a 3.0 or later device might not be
able to access my menus?
It's unlikely the Android framework developers would break
Hi, I'm working on a project where I'm displaying a room using
GLSurfaceView and Renderer,
and I want to display a menu when user click on that room (anywhere)
by using onTouchEvent.
So please help me with the code needed to put in the case of
ACTION_DOWN.
--
You received this message because
if you need own menu (drawn on surface) then your event listener have to
tell the rendered to draw one when all criterias are met (and you have to
make own menu of course)
Regards,
Marcin Orlowski
*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray*
I just found out that the menu button is deprecated starting with
Android 3.0, and that some Android devices do not even have a menu
button. My app targets Android 2.2 and uses the menu function quite a
bit. Is it really possible that someone with a 3.0 or later device
might not be able to
Users will still be able to access the menus on devices running Honeycome
and ICS... There is a compatibility icon that shows up on the ActionBar to
access the menus. However, it is recommended that you update your app to
actually use the ActionBar.
On Fri, May 25, 2012 at 5:45 PM, RLScott fixthatpi...@yahoo.com wrote:
Is it really possible that someone with a 3.0 or later device might not be
able to access my menus?
It's unlikely the Android framework developers would break all apps in such
a fashion. I believe there is a compatibility
: android-developersandroid-developers@googlegroups.com;
主题: Re: [android-developers] Menu : Handling click events : DialogBox
在 2012-5-12 下午6:23,huberte svend.wal...@gmail.com写道:
Hi, I did red
http://developer.android.com/guide/topics/ui/menus.html
http://developer.android.com/guide/topics
在 2012-5-12 下午6:23,huberte svend.wal...@gmail.com写道:
Hi, I did red
http://developer.android.com/guide/topics/ui/menus.html
http://developer.android.com/guide/topics/resources/menu-resource.html
I wrote this in main activity
@Override
public boolean onCreateOptionsMenu(Menu menu) {
I did red
http://developer.android.com/guide/topics/ui/menus.html
http://developer.android.com/guide/topics/resources/menu-resource.html
I wrote this in main activity
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
Hi, I did red
http://developer.android.com/guide/topics/ui/menus.html
http://developer.android.com/guide/topics/resources/menu-resource.html
I wrote this in main activity
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
And MenuInflater cannot be resolved to a type
I have made a clean example from
http://developer.android.com/guide/topics/ui/menus.html
have
import android.app.Activity;
import android.os.Bundle;
dont see anything about on google
Thks
--
You received this message because you are subscribed
u can do anything .Horizontal or Vertical..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
change in xml file soo that you can check it out ...
On 5 May 2012 18:30, krishna kumar send2mess...@gmail.com wrote:
u can do anything .Horizontal or Vertical..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
ou can change in xml file ...
change vertical to horizontal
it may work
On 5 May 2012 18:30, krishna kumar send2mess...@gmail.com wrote:
u can do anything .Horizontal or Vertical..
--
You received this message because you are subscribed to the Google
Groups Android
yes xml or code both .
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
What kind of menu are you trying to create? Options menu? Context Menu? I
do not believe you have access to changing how they are displayed...
http://developer.android.com/guide/topics/ui/menus.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sat,
Hi, I am developing an Android application and I want to add Menu for
that, I tried some thing to add the Menu, but whenever I press the
Menu on the Emulator I used to see options menu in Vertical, but I
want to see the Menu Items in Horizontal way. How can I do that?
Please help me. Thank You.
AFAIK you can't control the layout of the menu...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Thu, May 3, 2012 at 1:00 PM, Mahesh ymchan...@gmail.com wrote:
Hi, I am developing an Android application and I want to add Menu for
that, I tried some
Yep it is good article but I want something deffer menu I have created the
menu.xml under manu in my project what I want to know how can I call the
menu.xml page in my main.xml page
On Thu, Nov 17, 2011 at 1:59 PM, Ratheesh Valamchuzhy
android...@gmail.comwrote:
see this link.
On Thu, Nov 17, 2011 at 2:59 AM, Thusitha Fernando thusitha...@gmail.comwrote:
Yep it is good article but I want something deffer menu I have created the
menu.xml under manu in my project what I want to know how can I call the
menu.xml page in my main.xml page
Please RTFM:
As far as anything I can read.
If I have mainmenu.xml in a folder called res/menu
And I have mainmenu.xml in a folder called res/menu-v11
Then when I run it on my Tab 10.1 with 3.1, it should show the menu
that is defined in menu-v11.
Sounds right. Only one problem: It doesn't work. It shows
Hi,
When I trigger search interface in my app calling
onSearchRequested() the search panel appear but I can't show option
panel. onOptionsItemSelected() is not called and no option menu is
shown. When I'm not in search mode, the menu appear without any
problems.
Surprisingly, on the default
Can any one tell me How to show menu list when i click the button
please send me sample codes
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this
see this link.
http://www.codeproject.com/KB/android/AndroidMenusMyWay.aspx
http://staticallytyped.wordpress.com/2011/05/05/android-how-can-you-implement-a-custom-menu-class/
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Is there any way to tell the os how you'd like
your menu to be displayed.
I've got a menu with 5 entries.
Android is displaying it in 3 rows of 2+2+1.
I would like to display it 1+2+2.
any way?
--
You received this message because you are subscribed to the Google
Groups Android Developers
No, sorry. For example, it might be 6x1 on a tablet in landscape. You
don't control this.
On Sat, Nov 5, 2011 at 6:27 AM, dashman erjdri...@gmail.com wrote:
Is there any way to tell the os how you'd like
your menu to be displayed.
I've got a menu with 5 entries.
Android is displaying it in
Hi
I want to create a menu as if shown in the below image. Is it a context menu
or something special to attach along with the button which is clicked.
--
- Prakash.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Can you guys point me to some best practices on maintain options menus
in Android applications. I understand the concept that the options
menu is meant to be for a particular activity, but it has to be fairly
common that multiple activities share very similar menus. So, is
there some one to have
hi guys
i am in the process of implementing this menu but it is not updating
the speed of my sensor
my code snipet is
here are my global variables
[code]
private static final int MENU_SLOW = 0;
private static final int MENU_NORMAL = 1;
private static final int MENU_FAST = 2;
private static final
Hello,
I am trying to list out the following email clients/social
networking client in a menu by using following code:
final Intent emailIntent = new
Intent(android.content.Intent.ACTION_SEND);
emailIntent.setType(text/plain);
Intent i = Intent.createChooser(emailIntent, Share Offer);
On Mon, Jun 6, 2011 at 2:55 PM, dillipk codersnet2...@gmail.com wrote:
I am trying to list out the following email clients/social
networking client in a menu by using following code:
final Intent emailIntent = new
Intent(android.content.Intent.ACTION_SEND);
emailIntent.setType(text/plain);
I have an Activity which appears like a dialog (via applying
theme=@android:style/Theme.Dialog), and that Activity has a normal Menu,
inflated from XML. Everything works fine pre-Honeycomb, but when my app has
the holographic theme applied on 3.0, there doesn't seem to be a way
display this
On Wed, May 18, 2011 at 8:08 AM, String sterling.ud...@googlemail.com wrote:
And
admittedly, having a menu in a Dialog is a bit weird and nonstandard, but it
did work pre-Honeycomb. I'd rather not lose it in the migration.
I am not hopeful. Two possible workarounds:
1. On API Level 11+, use a
I ever thought that a disabled menu item (setEnabled(false)) should appear
grayed out (and that works) and
furthermore it should not be active as i click on it (it should not close
the menu).
How can avoid the closing of the menu ? shouldn't this be the default
behavior of a disabled menu item
My Honeycomb activity uses the Tabs navigation mode by doing
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS). The
activity also has menu items marked with
android:showAsAction=ifRoom. I would have expected that the tabs are
first displayed, and then any remaining space in the
Hi ,
I want to make menu always visible and should be even if menu key is
not pressed .
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this
On 19 April 2011 07:42, Mohit sharma mohit7...@gmail.com wrote:
Hi ,
I want to make menu always visible and should be even if menu key is
not pressed .
Then use buttons.
Regards,
Marcin Orlowski
*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray*
Hi,
Is there any way to change menu typeface to bold?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Thanks for sharing...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Fri, Mar 18, 2011 at 12:05 AM, Majid majidalib...@gmail.com wrote:
menu is not shown in groupactivity of tabbar activity .but when i
change tab and come back to same tab it shows
menu is not shown in groupactivity of tabbar activity .but when i
change tab and come back to same tab it shows menu.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
Hi everyone,
I have a menu in my game which currently has only a New Game option. I
want it to have another option Reset Score. I wrote some code for it
but it fails to work.
My current code is:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
There is no onOptionsngSelected() method in Android. There is no
onOptionsrsSelected() method in Android. If you want to find out when
an options menu item is clicked, you must override
onOptionsItemSelected().
On Wed, Mar 9, 2011 at 7:46 AM, Raghav Sood raghavs...@gmail.com wrote:
Hi everyone,
I don't see any code connecting those menu items with
onOptionsngSelected and onOptionsrsSelected (which are not Android
framework methods).
Read this for more info:
http://developer.android.com/guide/topics/ui/menus.html
-- Kostya
09.03.2011 15:46, Raghav Sood пишет:
Hi everyone,
I have
I tried that too but it only works if I am checking only 1 of the
options. I can't ghet it to work with both of the options. Any ideas?
On 3/9/11, Mark Murphy mmur...@commonsware.com wrote:
There is no onOptionsngSelected() method in Android. There is no
onOptionsrsSelected() method in Android.
Okay. now I have changed the code to this:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
@SuppressWarnings(unused)
MenuItem ng = menu.add(New Game);
@SuppressWarnings(unused)
MenuItem rs = menu.add(reset
On Wed, Mar 9, 2011 at 8:03 AM, Raghav Sood raghavs...@gmail.com wrote:
I tried that too but it only works if I am checking only 1 of the
options. I can't ghet it to work with both of the options. Any ideas?
Use a more worthwhile add() method, one that takes an id.
I went through the XML example that mark provided as that is the way I would
prefer it.
Now my code is
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.game_menu, menu);
return true;
}
Use breakpoints or log statements to debug your code. I see nothing
obviously wrong with what you have here. Perhaps your difficulty lies
in setBoard().
On Wed, Mar 9, 2011 at 8:27 AM, Raghav Sood raghavs...@gmail.com wrote:
I went through the XML example that mark provided as that is the way I
Thanks Mark,
I am reasonably sure there is nothing wrong with setBoard(); but I may be
wrong so here is setVoard():
private void setBoard() {
ai = new AI();
b = new Button[4][4];
c = new int[4][4];
won = (TextView) findViewById(R.id.won);
drawn =
android.util.Log, and you access it no differently than you do
anywhere else (adb logcat, DDMS, or the DDMS perspective in Eclipse).
On Wed, Mar 9, 2011 at 9:27 AM, Raghav Sood raghavs...@gmail.com wrote:
Thanks Mark,
I am reasonably sure there is nothing wrong with setBoard(); but I may be
In my app I'm calling onCreateOptionsMenu() which works as expected on
pre 3.0 devices. When I run the app on the Xoom there isn't a menu
button displayed at the bottom of the screen to allow access to the
menu options. Does anyone know how to force it to be displayed, or is
there something
On Tue, Mar 8, 2011 at 6:00 PM, Stephen Lebed srle...@gmail.com wrote:
In my app I'm calling onCreateOptionsMenu() which works as expected on
pre 3.0 devices. When I run the app on the Xoom there isn't a menu
button displayed at the bottom of the screen to allow access to the
menu options.
As long as you don't target HC (API 11), you will get the menu button. If
you do target HC, there will not be a menu button.
And what do you mean by saying you are calling onCreateOptionsMenu()? You
don't call that; it is called for you.
On Tue, Mar 8, 2011 at 3:04 PM, Mark Murphy
I have a TabActivity with two child Activities (don't ask me why...).
I would have expected that the child activities' option menu items to
be exposed on the Action Bar. But that doesn't happen and the Action
Bar remains empty as the TabActivity itself has no option menu.
--
You received this
You probably don't want to mix the action bar with activity groups.
Fragments are the New Way, and they were designed to work together.
Activity groups are deprecated (especially now that the fragment static
library is available).
On Tue, Mar 8, 2011 at 7:01 PM, Zsolt Vasvari zvasv...@gmail.com
Hi all!
When you click on picture on the left of any contact - there is a
dialog, that shows some possible actions(like phone or write e-mail).
Set of actions is different from context menu or option menu.
Is it some standard widget, or is there any simple way to get such
dialog for custom list
See android.widget.QuickContactBadge
On Mon, Nov 1, 2010 at 5:51 AM, Евгений Григорьев
grigoriev.evgen...@gmail.com wrote:
Hi all!
When you click on picture on the left of any contact - there is a
dialog, that shows some possible actions(like phone or write e-mail).
Set of actions is
Hi Everyone
When i Pressed Send My Location from Menu in my application .Runtime
terminates my application by giving me an error.
error :The application Final Year Project (Process
com.android.myproject) has Stopped Unexpectedly.please try again.
After that my appication is forcefully Terminated.
Hi,
I have one application in which I have only one Activity and 6
different frames (derived from FrameLayout). Using menu one can choose
a particular frame. On each frame I have different views, user can go
from one view to another and come back to the previous view (I am
managing it with one
I've been using my phone to debug as I've been developing my application.
Now that I'm finished I've been attempting to test it across the various
emulators available to me, as I have no other devices. I've noticed that
the menu for my application displays only the icon while running in the
Hi,
I have HTC Hero and I've found out that dragging down on the touch is
not the only way to unlock the phone. If you press the menu button, it
unlocks the phone, too.
I don't know whether it's problem of the HTC device, Android or bad
feature definition.
Do you have a clue?
Regads,
Daniel
Hi,
I have implemented a Menu within an Activity, but I'd like this Menu
to exist throughout my whole application...
How can thsi be achieved ? Should I be placing the
public boolean onCreateOptionsMenu(Menu menu)
method within every single Activity or is there some way to share
the menu ?
MobDev wrote:
Hi,
I have implemented a Menu within an Activity, but I'd like this Menu
to exist throughout my whole application...
How can thsi be achieved ? Should I be placing the
public boolean onCreateOptionsMenu(Menu menu)
method within every single Activity or is there some way to
Although Mark's idea is workable, it may be bad OOD. It would work if all
your apps are direct subclasses of Activity, but what if some are
MapActivity, etc? I think the answer may depend on that and how you want to
use the global menu. Using delegation, you could have each menu be created
by the
Frank Weiss wrote:
Although Mark's idea is workable, it may be bad OOD. It would work if
all your apps are direct subclasses of Activity, but what if some are
MapActivity, etc?
Yup.
:: wishes Java had Ruby's mixin capability for things like this ::
--
Mark Murphy (a Commons Guy)
Hi,
I want options menu should always display, when I open my
application, for that I put openOptionsMenu(), in onCreate() of the
launcher activity. But its showing exception.
--android.view.WindowManager$BadTokenException: Unable to add window
-- token n
ull is not valid; is your activity
Developers
Subject: [android-developers] Menu always Displayable
Hi,
I want options menu should always display, when I open my
application, for that I put openOptionsMenu(), in onCreate() of the
launcher activity. But its showing exception.
--android.view.WindowManager$BadTokenException: Unable to add
@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Nithin
Sent: 05 January 2010 20:57
To: Android Developers
Subject: [android-developers] Menu always Displayable
Hi,
I want options menu should always display, when I open my
application, for that I put
Hi,
I added 2 menus.
menu.add(0, 1, 0, Start);
menu.add(0, 2, 0, Stop);
public boolean onOptionsItemSelected(MenuItem item)
{
switch (item.getItemId()) {
case 1:
if(item.getTitle().equals(Start))
{
item.setTitle(Pause);
I added 2 menus.
menu.add(0, 1, 0, Start);
menu.add(0, 2, 0, Stop);
public boolean onOptionsItemSelected(MenuItem item)
{
switch (item.getItemId()) {
case 1:
if(item.getTitle().equals(Start))
{
Hello,
I'm trying to add a menu to a PreferenceScreen. I have extended
PreferenceActivity which loads my settings tree from preferences.xml. My
activity overloads onCreateOptionsMenu and onMenuItemSelected. However, the
resulting menus are only visible at the root node, but not on any other
child
The menu is generally associated with an activity, not any specific layout.
Do you have a different activity for each layout? If so then just add the
menu to the one activity that's using the layout you care about. Otherwise,
if you have just one activity that's swapping layouts, override
Hi,
In my application I'm using 3 layouts and one java file.
I'm creating a menu.
I want to show menu for only one particular layout.
The other layout should not get the menu.
what should i do for that?
can any one know about this?
Thanks in advance :)
--
Thanks Regards
Sasikumar.S
I'm thinking it would be handier if my in my app, a press on the menu
button went straight to my preferences page. I currently have in my
menu two choices: settings and about. About will almost never be
used. I was thinking of putting it in preferences and simply have a
menu button press go
Hello,
My application has some buttons in the bottom part of activity layout,
almost the same like iphone has on ipod app for example.
I would like to create my layout so that it will self adjust on
different screen sizes.
For example if the content in my layout has height = 400dip and the
menu
Hi every one
Can Any body help me how to create this screen which i have attached
as a enclosed as a attachment
how to cod ethis can any body give the clues for that
any source example regarding this
thanks in advance
--~--~-~--~~~---~--~~
You received this
Hi,
I am developing a game based on the SurfaceView/LunarLander example in
the sample code.
I have one activity, with one menu option that is new game.
My activity listens for the menu selection, and once new game is
selected, doStart of the Game thread is called. The game starts up
after 3-4
if my custom Activity style inherite from android:style/Theme.Dialog:
style name=MyTransparent parent=android:style/Theme.Dialog
/style
The menu associated with my activity pop up on the center of the screen.
Is this the expected behaviour ?
Is there any workaround ?
Thanks
Here's a screenshot:
Before menu btn is clicked: http://i39.tinypic.com/allwn5.jpg
After menu btn is clicked: http://i39.tinypic.com/1zf7jg4.png
This is pretty easy to reproduce. Just create a new android app,
change the theme in the android manifest to @android:style/
Theme.Dialog, and
If there are more than 6 menu items, the more menu item will appear, and
the rest of the items go to a popup menu. Can we set icons to those menu
items? I am not able get the icons to show for those menu items.
Please advice.
Thanks in advance,
J
I have created an options menu with only one value
@Override
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
menu.add(0, 0, 0, Exit);
return true;
}
The layout with which the emulator displays the menu
Menu does not show up.
If the focus is on an EditText field with android:password=true,
then hitting the Menu key does not show the menu options for that
screen. If the focus is on some other field, then the menu shows up.
Bug?
--~--~-~--~~~---~--~~
You received
95 matches
Mail list logo