Skip to content

Nesting menus

Héctor Barreras Almarcha edited this page Dec 15, 2017 · 1 revision

Your app may offer end users many different options, but you most likely do not want to overwhelm them by filling the screen with all of them at once! For example:

Welcome to my super app! Please, choose an option below:
1 - Do something
2 - Do something else
...
834 - Wish your grandma a happy birthday
835 - Exit

Nesting menus is a great way to avoid this.

Nested menus

There is no difference between a regular and a nested menus. Nested menus are just regular menus that are... well, nested. Each of the menus is a completely separate entity and can be customized independently of the others and, of course, have its own items. The basic idea is to have an item in a menu start another menu. The parent menu is paused and will not resume until your user has exited the nested menu:

Welcome to my super app! Please, choose an option below:
1 - Phone call
2 - Text message
3 - Automated "Happy birthday" wisher
4 - Exit
> 3

Who do you want to wish a happy birthday?
1 - Mom
2 - Boss
3 - Grandma
4 - No one. Take me back.
> 4

Welcome to my super app! Please, choose an option below:
...

Clone this wiki locally