I am looking for the way to assign image src to image view control. I read few example and they says something src="@drawable\image" but didn’t understand this, also I want to assign image src at runtime by java code also want to apply default image in XML.
I am looking for the way to assign image src to image view control.
Share
If you want to display an image file on the phone, you can do this:
If you want to display an image from your drawable resources, do this:
You’ll find the
drawablefolder(s) in the projectresfolder. You can put your image files there.