I am currently loading an image from a resource that can be rendered -
<ImageView android:id="@+id/stestImg" android:src="@drawable/testImg" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Is it possible to use the image from the assets here directly in the XML layout? Do I need to code? Please help.
android android-layout android-imageview
codingB2
source share