You can use the addSubMenu() method of Menu class, alternately you can
define submenus in XML.
http://code.google.com/android/reference/android/view/Menu.html

Also, see how its done in ApiDemos>app>Menu sample code.

2008/8/26 jalandar <[EMAIL PROTECTED]>

>
> Hi
> I am junior andriod developer.
> In my application of active note .I want to create sub menu list of
> main menu
> e.g.
> Options-->1.New note-->1.send ,2.delete,3.exit
>                  2.help
>                  3.exit
>
> when i click on Options there should be pop -up list of sub menus (new
> note,help,exit) and new note again having pop-up menus
> (send ,delete,exit)
> plz provide  me suggetions. how to create this application.
>



> thank u
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to