I\'m using a Button
Try this:
int imgResource = R.drawable.left_img; button.setCompoundDrawablesWithIntrinsicBounds(imgResource, 0, 0, 0);
Reference