SyntaxFix
Write A Post
Hire A Developer
Questions
Simple method to get resource ID: public int getDrawableName(Context ctx,String str){ return ctx.getResources().getIdentifier(str,"drawable",ctx.getPackageName()); }