code: public static void setBackground(View v, Drawable d) {
  		if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.JELLY_BEAN) {
  			v.setBackgroundDrawable(d);
  		} else {
  			v.setBackground(d);
  		}
  	}
docs: helper method to set the background depending on the android version
  
  @param v
  @param d