public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu);
menu.add(0, 100, "h1"); menu.add(0, 104, "h2"); menu.add(0, 108, "h3"); menu.add(0, 112, "h4"); menu.add(0, 116, "h5"); menu.add(0, 120, "h6"); menu.add(0, 124, "h7"); return true } h6 and h7 are not shown. On 8 abr, 17:48, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Could you post your menu code here to help debug this further? > > On Tue, Apr 8, 2008 at 11:47 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > Thanks Megha. > > > I still can't see more than 6 items when clicking on the "more" icon > > and scrolling on the popup. > > I'm using non sequential and non ordered id numbers when adding the > > menu items. Perhaps it's related to the problem. > > Any ideas? > > > On 8 abr, 15:29, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > This is standard menu behavior. If your menu has more than six menu > > items, > > > the rest of the menu items are just hidden in the beginning , using > > expanded > > > menu. > > > This is to save your screen from becoming too cluttered up.You see a > > "more" > > > icon , when the count of items is more then 6. Expanded menu is same as > > the > > > icon menu , except that it appears on clicking the "more" icon in the > > menu. > > > More information is at the link below: > >http://code.google.com/android/migrating/m3-to-m5/m5-api-changes.html... > > > > Thanks, > > > Megha > > > > On Tue, Apr 8, 2008 at 9:48 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > wrote: > > > > > My activity adds more than 6 menu items but those doesn't appear on > > > > screen. > > > > Is there a limit on the number of menu items ? > > > > > thanks. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---