<?xml version="1.0" encoding="utf-8"?>

<menu xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:id="@+id/retry"
        android:title="@string/retry"
        android:showAsAction="always"
        android:icon="@drawable/ic_menu_refresh"
        android:visible="false" />
</menu>
<?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/retry"
        android:title="@string/retry"
        app:showAsAction="always"
        android:icon="@drawable/ic_menu_refresh"
        android:visible="false" />
</menu>
Use app namespace in menu resource
Use app namespace in menu resource
