I am developing an android app, I am trying to use the android image button. I have placed my image in the drawable folder and have this in my xml code:
<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/PanicBtn"
android:layout_marginTop="53dp"
android:src="@drawable/panicbtn2"
android:background="#ffffffff"
android:contentDescription="" />
but each time I try to clean or debug the project, i keep getting this error: Error:(28, 22) No resource found that matches the given name (at 'src' with value '@drawable/panicbtn2'). Kindly help.