I have an imageView that I want to display a little icon of the country that you are currently in. I can get the country code, but problem is I can\'t dynamically change the
you may try this:-
myImgView.setImageDrawable(getResources().getDrawable(R.drawable.image_name));