October 2018
Intermediate to advanced
464 pages
15h 17m
English
Another menu feature that Android supports is grouping menu items. Android provides several methods for groups, including the following:
To create a group, add the <item> menu elements to a <group> element. Here is an example using the menu XML from this recipe with two additional items in a group:
<?xml version="1.0" encoding="utf-8"?><menu xmlns:android="http://schemas.android.com/apk/res/android" ...