Create menu/activity_main.xml <?xml version=”1.0″ encoding=”utf-8″?> <menu xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto”> <item android:id=”@+id/option1″ android:orderInCategory=”100″ app:showAsAction=”ifRoom” android:title=”Android representative to create grouped sub-OptionsMenu”/> <item android:id=”@+id/option2″ […]