添加View如下,相对简单
barbar6.addMiddleViewExist(barbar6.getTextView("标题6"));
barbar6.addLeftView(barbar6.getTextView("左1"));
barbar6.addLeftView(barbar6.getTextView("左2"));
barbar6.addLeftView(barbar6.getTextView("左3"));
barbar6.addRightView(barbar6.getImageView(R.mipmap.add));
barbar6.addRightView(barbar6.getTextView("右2"));
barbar6.addRightView(barbar6.getTextView("右3"));
barbar6.addRightView(barbar6.getTextView("右4"));