mymenu.xml 697 Bytes
<?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">
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <!-- "Mark Favorite", should appear as action button if possible -->
    <item
        android:id="@+id/action_menu1"
        android:title="main"
        app:showAsAction="ifRoom"/>

    <item
        android:id="@+id/action_menu2"
        android:title="route"
        app:showAsAction="ifRoom"/>

    <!-- Settings, should always be in the overflow -->
    <item android:id="@+id/action_settings"
        android:title="setting"
        app:showAsAction="never"/>
</menu>