티스토리 뷰



ImageView iv = (ImageView)R.id.findViewById(R.id.myimage);
int resId =  context.getResources().getIdentifier( "name", "drawable", context.getPackageName() );
iv.setImageResource(resId);

댓글