Android GetDrawable antes da API 21
Drawable greenProgressbar = context.getResources().getDrawable(R.drawable.custom_progressbargreen);
Fine Fowl
Drawable greenProgressbar = context.getResources().getDrawable(R.drawable.custom_progressbargreen);