Sunday, August 11, 2013

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

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 <item> elements (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 <trekingapp@gmail.com>

On Sat, Aug 10, 2013 at 8:48 AM, drenda <daniele.renda@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 - 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+unsubscribe@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+unsubscribe@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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate