code: @SuppressWarnings("deprecation")
      public void setShapeBackground(int color) {
          backgroundColor = color;
          if (Build.VERSION.SDK_INT >= 16) {
              setBackground(getShapeBackground());
          } else {
              setBackgroundDrawable(getShapeBackground());
          }
          invalidate();
      }
docs: 设置圆形背景色