For example
menu.add(0 //Group
,1 //
item id
,Menu.CATEGORY_SECONDARY //Order
,"item1"); //
menu item name
This seem to suggest that the "secondary" belongs to the "item" and
not the group. However in describing menus through XML
<group android:id="@+id/least_used_items"
android:menuCategory="secondary">
<item android:id="@+id/last_least_item"
android:orderInCategory="3"
android:title="@string/last_least_often" />
<item android:id="@+id/middle_least_item"
android:orderInCategory="2"
android:title="@string/middle_least_often" />
<item android:id="@+id/first_least_item"
android:orderInCategory="0"
android:title="@string/first_least_often" />
The "secondary" seem to be assigned to the "group".
Can I have a group, then, that has one "item" that is a
"CATEGORY_SECONDARY" and one item that is a "CATEGORY_ALTERNATIVE"?
If you have read this far, do you know where the menu.xml files may
have been described at some length.
Thanks
Satya
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---