In the onCreateOptionsMenu(Menu) function of MainActivity, we inflated a menu that we have not yet implemented. Add a main.xml file in the menu package under the application resource directory. main.xml should contain the following content:
<?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/action_settings" android:orderInCategory="100" android:title="@string/action_settings" app:showAsAction="never" /><item android:id="@+id/action_logout" android:orderInCategory="100" android:title="@string/action_logout" app:showAsAction="never" /></menu>
Fantastic work! We are one step closer to finishing ...