menu_main.xml 923 Bytes
Newer Older
Robert Hitt's avatar
Robert Hitt committed
1 2 3 4
<?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">

Robert Hitt's avatar
Robert Hitt committed
5 6 7
    <item
        android:id="@+id/action_search"
        android:icon="@drawable/ic_search_white_24dp"
8
        app:showAsAction="collapseActionView|always"
Robert Hitt's avatar
Robert Hitt committed
9
        app:actionViewClass="android.support.v7.widget.SearchView"
Robert Hitt's avatar
Robert Hitt committed
10 11
        android:title="Search"/>

12 13
    <group
        android:id="@+id/menu_main_group">
14

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
        <item
            android:id="@+id/action_refresh"
            android:icon="@drawable/ic_refresh_white_24dp"
            android:title="Refresh"/>

        <item
            android:id="@+id/action_settings"
            app:showAsAction="never"
            android:title="Settings"/>

        <item
            android:id="@+id/action_about"
            app:showAsAction="never"
            android:title="About"/>

    </group>
31

Robert Hitt's avatar
Robert Hitt committed
32
</menu>