public void setCustomizedRightView(View view) {
        RelativeLayout.LayoutParams lp = makeLayoutParams(view);
        lp.addRule(CENTER_VERTICAL);
        lp.addRule(ALIGN_PARENT_RIGHT);
        getRightViewContainer().addView(view, lp);
    }
public void setCustomizedRightView(View view) {
        RelativeLayout.LayoutParams lp = makeLayoutParams(view);
        lp.addRule(CENTER_VERTICAL);
        lp.addRule(ALIGN_PARENT_RIGHT);
        getRightViewContainer().addView(view, lp);
    }
public void setCustomizedRightView ( View view ) { RelativeLayout . LayoutParams lp = makeLayoutParams ( view ) ; lp . addRule ( CENTER_VERTICAL ) ; lp . addRule ( ALIGN_PARENT_RIGHT ) ; getRightViewContainer ( ) . addView ( view , lp ) ; }
set customized view to right side

@param view the view to be added to right side
set customized view to right side