Ich habe ein Imagebutton in meiner Anwendung, aber wenn ich meine Anwendung ausführen zeigen sie den Fehler
wieAndroid- "Fehler: (44, 22) Keine Ressource gefunden, die dem angegebenen Namen entspricht (bei 'src' mit dem Wert '@ drawable/searchIcon')."
Error:(44, 22) No resource found that matches the given name (at 'src' with value '@drawable/searchIcon').
Hier mein XML-Code ist
<ImageButton
android:id="@+id/imageButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/searchIcon"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="10dp"
android:layout_marginRight="5dp"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toRightOf="@+id/editText"
android:layout_marginLeft="10dp" />
ich hinzugefügt, um die searchIcon Bild in der Zeichnungsordner, obwohl ich den Fehler bekomme.
Danke