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 t
src=\"@drawable\\image\"
Drag image from your hard drive to Drawable folder in your project and in code use it like this:
ImageView image; image = (ImageView) findViewById(R.id.yourimageviewid); image.setImageResource(R.drawable.imagename);