+ The character must be after the @ character.
android:id=" +@id /bAdd" to android:id="@+id/bAdd" and also change android:id=" +@id /bSub" to android:id="@+id/bSub"
OR
you can declare that it
android: id = "@ id / bSub"
but you must declare the bSub value in the ids.xml file located in the values ββfolder.
Example
<resources> <item type="id" name="bSub" />
Chirag Raval
source share