I made an imageview to include in other layouts and I am getting this error. “Error parsing XML: unbound prefix”. Here’s the code.
<ImageView android:id="@+id/water"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/water"
android:scaleType="centerInside" />
You need to define the android prefix: