Im creating an android app which uses a menu.xml file in the res folder. But I’m getting the above error. What does it mean? How can I fix it?
menu.xml:
<?xml version="1.0" encoding= "utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item id="@+id/my_location"
android:icon="@drawable/my_location"
android:title:="Current location" />
<item id="@+id/mapview_satellite"
android:icon="@drawable/satelliteview"
android:title="Satellite View" />
<item id="@+id/mapview_normal"
android:icon="@drawable/normalview"
android:title="Normal view" />
</menu>
Change
<item id="@+id/my_location"to<item android:id="@+id/my_location". This in all three places.Also, in here:
android:title:="Current location"remove the colon aftertitle.