code: @SuppressWarnings("deprecation")
      public void setWindowBackgroundResources(int resColor) {
          if (null == mTrigger)
              throw new NullPointerException("No trigger view exist.");
          setWindowBackground(ContextCompat.getColor(mTrigger.getContext(), resColor));
      }
docs: 设置窗体的背景颜色