<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:title="@string/key_scanning__menu_compare" android:id="@+id/menu_barcode" android:icon="@drawable/ic_menu_barcode" android:showAsAction="ifRoom"> <menu> <item android:title="@string/key_scanning__menu_scan_to_compare" android:id="@+id/menu_scan"/> <item android:title="@string/key_scanning__menu_get_scanned_to_compare" android:id="@+id/menu_get_scanned"/> </menu> </item> </menu>