Expanded Menus

Recall from Figure 5-2 that the sample application displays a menu item called "More" at the bottom-right corner of the menu. We didn't show you how to add this menu item in any of the sample code, so where does it come from?

If an application has more menu items than it can display on the main screen, Android shows the "More" menu item to allow the user to see the rest. This menu, called an expanded menu, shows up automatically when there are too many menu items to display in the limited amount of space. But the expanded menu has a limitation: it cannot accommodate icons. Users who click "More" will see a resultant menu that omits icons.

0 0

Post a comment