Android/개발팁
How to replace R.drawable.“someString”
hoonihoon
2013. 6. 25. 15:48
String mDrawableName = "myimg";
int resID = getResources().getIdentifier(mDrawableName , "drawable", getPackageName());