How can I get a resource by name based on a string variable?
<p>I want to  do</p>

<pre><code>String childImg = "childIcon";
textView.setCompoundDrawablesWithIntrinsicBounds(R.drawable.????, 0, 0, 0);
</code></pre>

<p>it's expecting an int but i have a string. how do i work around this?</p>
