Android Get Drawable przed API 21
Drawable greenProgressbar = context.getResources().getDrawable(R.drawable.custom_progressbargreen);
Fine Fowl
Drawable greenProgressbar = context.getResources().getDrawable(R.drawable.custom_progressbargreen);