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 > > On Sun, Aug 11, 2013 at 12:00 PM, Daniele Renda > wrote: > >> 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

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

2013-08-11 Thread TreKing
On Sun, Aug 11, 2013 at 12:00 PM, Daniele Renda wrote: > 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

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."

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

2013-08-10 Thread TreKing
On Sat, Aug 10, 2013 at 8:48 AM, drenda 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.

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'

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

2013-08-09 Thread TreKing
On Thu, Aug 8, 2013 at 4:50 AM, drenda 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 th