code: public void setCustomizedCenterView(int layoutId) {
          View view = inflate(getContext(), layoutId, null);
          setCustomizedCenterView(view);
      }
docs: set customized view to center
  
  @param layoutId the xml layout file id