在这里为什么我想要设置图片单击按钮监听的时候,显示我报错?我哪里写错了哦?


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ImageButton
        android:id="@+id/start"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#0000"
        android:src="@mipmap/png1" />
LinearLayout>

在这里为什么我想要设置图片单击按钮监听的时候,显示我报错?我哪里写错了哦?

img

img

img


这里应该是R.id.start