Re: [android-developers] Focus problem with Option menu

2013-08-12 Thread Daniele Renda
Ah ok. Thanks so much. I'll check if this can be a existing bug!

Thanks!


2013/8/11 TreKing treking...@gmail.com


 On Sun, Aug 11, 2013 at 12:00 PM, Daniele Renda 
 daniele.re...@gmail.comwrote:

 Hi Treking,
 why do you say this?


 Oh, sorry, I was thinking about the old-school menu that was hidden and
 exposed via the Menu key. I guess you're going for the modern menu with an
 item showing in the action bar, yes? In that case, you're fine. And I have
 no idea what to suggest about your issue. Have you checked b.android.comfor 
 potential existing bugs? That's my first destination when I experience
 wonky behavior.



 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/aBOb9bbgkbM/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Daniele Renda

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Focus problem with Option menu

2013-08-11 Thread Daniele Renda
Hi Treking,
why do you say this? From this link:
http://developer.android.com/guide/topics/ui/menus.html#options-menu I
read: The options menu is where you should include actions and other
options that are relevant to the current activity context, such as
Search, Compose email, and Settings. and To enable quick access to
important actions, you can promote a few items to appear in the action bar
by adding android:showAsAction=ifRoom to the corresponding
itemelements (see figure 2)..
I'm developing for Android 4.2 so my option menu is in action bar.

Thanks for your clarification


2013/8/10 TreKing treking...@gmail.com


 On Sat, Aug 10, 2013 at 8:48 AM, drenda daniele.re...@gmail.com wrote:

 I need that option menu always visibile (there is only one icon).


 Then this UI element shouldn't be in the options menu. This is not what a
 menu is for. Create your option menu item as a button or something on the
 UI itself.



 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/aBOb9bbgkbM/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Daniele Renda

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Focus problem with Option menu

2013-08-11 Thread TreKing
On Sun, Aug 11, 2013 at 12:00 PM, Daniele Renda daniele.re...@gmail.comwrote:

 Hi Treking,
 why do you say this?


Oh, sorry, I was thinking about the old-school menu that was hidden and
exposed via the Menu key. I guess you're going for the modern menu with an
item showing in the action bar, yes? In that case, you're fine. And I have
no idea what to suggest about your issue. Have you checked
b.android.comfor potential existing bugs? That's my first destination
when I experience
wonky behavior.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Focus problem with Option menu

2013-08-10 Thread drenda
Hi Treking,
thanks for your reply. I need that option menu always visibile (there is 
only one icon).
If I try to open the keyboard into the method onPrepareOptionsMenu() before 
the creation of the menu, the keyboard disappers immediatly; insted if I 
open the keyboard after the menu is created I've the problem of my previous 
post.

I don't understand this behaviour.

Thanks

Il giorno sabato 10 agosto 2013 02:21:04 UTC+2, TreKing ha scritto:


 On Thu, Aug 8, 2013 at 4:50 AM, drenda daniel...@gmail.com 
 javascript:wrote:

 the problem is that every time I press a key on the keyboard the icon of 
 Option menu focus, and when I press enter the option menu is clickked. I 
 don't want this, why the option menu is focused every time I press a key?


 Why do you have to the options menu and the keyboard open at the same 
 time? Close the options menu before opening the keyboard.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
 transit tracking app for Android-powered devices
  

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Focus problem with Option menu

2013-08-10 Thread TreKing
On Sat, Aug 10, 2013 at 8:48 AM, drenda daniele.re...@gmail.com wrote:

 I need that option menu always visibile (there is only one icon).


Then this UI element shouldn't be in the options menu. This is not what a
menu is for. Create your option menu item as a button or something on the
UI itself.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Focus problem with Option menu

2013-08-09 Thread TreKing
On Thu, Aug 8, 2013 at 4:50 AM, drenda daniele.re...@gmail.com wrote:

 the problem is that every time I press a key on the keyboard the icon of
 Option menu focus, and when I press enter the option menu is clickked. I
 don't want this, why the option menu is focused every time I press a key?


Why do you have to the options menu and the keyboard open at the same time?
Close the options menu before opening the keyboard.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.