You are almost right, when accessing infrastructure resources, you need a prefix of the android: resource type, since you are using the android package Here. This means that it should not be
android:icon="@android/drawable/ic_menu_view"
but
android:icon="@android:drawable/ic_menu_view"
instead (note the colon between the android and drawable instead of the forward slash).
Also note that you cannot access some resources, as they are not publicly available, for example ic_menu_star , which you use here. You must copy them into your projects with the ability to create folders, which means that after that you should access them through the usual @drawable/ic_menu_star . See this question for reference.
user658042
source share