Android GetDrawable avant l'API 21
Drawable greenProgressbar = context.getResources().getDrawable(R.drawable.custom_progressbargreen);
Fine Fowl
Drawable greenProgressbar = context.getResources().getDrawable(R.drawable.custom_progressbargreen);