Best practice: Implementing menus
- Always provide a full menu.
- Make sure that users can press the Menu key to open the full menu and to initiate an action when a menu item is highlighted. Make sure that users can also hold the Menu key to open the dialog box for switching applications.
- For the default menu item, use the menu item that users are most likely to select.
- Place the default menu item and other common menu items in the middle of the menu.
- Verify that the order of menu items is consistent with the order of menu items in other BlackBerry® device applications.
- Group menu items according to common usage or common functionality, and where possible, test your groupings with users.
- Insert separators between menu item groupings.
- Do not place menu items for conflicting actions close together. For example, do not place a "Delete" menu item beside an "Open" menu item.
- Always include the "Switch application" and "Close" menu items. Place these menu items at the end of the menu. If you use standard components, these menu items are included automatically.
Guidelines for labels
- Use concise, descriptive labels that are no longer than 12 characters. If a label is too long, an ellipsis (...) appears to indicate that the text is truncated.
- Use verbs for labels.
- Use title case capitalization for labels.
- Use an ellipsis in a menu item label to indicate that users must perform another action after they click the menu item. For example, if users click the Go To Date... menu item in the calendar, they must specify a date on the screen that appears.
- Avoid using symbols such as an asterisk (*) in labels.
Next topic: Submenus
Previous topic: Code sample: Creating a menu