posted by 네코냥이 2014. 7. 1. 17:03

Context -> getResources();



int resID = getResources().getIdentifier("button_%i",
    "id", getPackageName());
View addButton = findViewById(resID);