app/src/main/res/menu/display_menu.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">
<group
android:checkableBehavior="all"
android:menuCategory="alternative">
<item
android:id="@+id/menu_date_picker"
android:icon="@drawable/ic_calendar"
android:title="@string/menu_date_picker"
app:showAsAction="ifRoom" />
<item
android:id="@+id/menu_refresh"
android:title="@string/refresh"
app:actionLayout="@layout/refresh_action_view"
app:showAsAction="always" />
</group>
</menu>