public void setCustomizedCenterView(View view) {
        mCenterTitleTextView.setVisibility(GONE);
        RelativeLayout.LayoutParams lp = makeLayoutParams(view);
        lp.addRule(CENTER_IN_PARENT);
        getCenterViewContainer().addView(view, lp);
    }
public void setCustomizedCenterView(View view) {
        mCenterTitleTextView.setVisibility(GONE);
        RelativeLayout.LayoutParams lp = makeLayoutParams(view);
        lp.addRule(CENTER_IN_PARENT);
        getCenterViewContainer().addView(view, lp);
    }
public void setCustomizedCenterView ( View view ) { mCenterTitleTextView . setVisibility ( GONE ) ; RelativeLayout . LayoutParams lp = makeLayoutParams ( view ) ; lp . addRule ( CENTER_IN_PARENT ) ; getCenterViewContainer ( ) . addView ( view , lp ) ; }
set customized view to center

@param view the view to be added to center
set customized view to center