<?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/toggle"
        android:title="@string/action_toggle"
        app:actionLayout="@layout/action_item_switch"
        app:showAsAction="always"/>

</menu>