Usually, I get the image and binding them to the ImageView
something like:
Integer[] icon = {R.drawable.avatar1, R.drawable.avatar2};
imageView_1.setImageResource(icon [0]);
imageView_2.setImageResource(icon [1]);
Anybody know is there is any other way to declare the image name on the resource file strings.xml
? And how do we add them to ImageView
?