code: public void setCustomizedCenterView(View view) {
          mCenterTitleTextView.setVisibility(GONE);
          RelativeLayout.LayoutParams lp = makeLayoutParams(view);
          lp.addRule(CENTER_IN_PARENT);
          getCenterViewContainer().addView(view, lp);
      }
docs: set customized view to center
  
  @param view the view to be added to center