code: @SuppressLint("NewApi")
      public static void setBackground(View v, Drawable d) {
          if (Build.VERSION.SDK_INT < 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