private void addItem() {
   View v =
       LayoutInflater.from(this).inflate(R.layout.item_horizontal, mUnderLineLinearLayout, false);
   ((TextView) v.findViewById(R.id.tx_action)).setText("this is test " + i);
   ((TextView) v.findViewById(R.id.tx_action_time)).setText("2016-01-21");
   mUnderLineLinearLayout.addView(v);
   i++;
 }
 private void subItem() {
   if (mUnderLineLinearLayout.getChildCount() > 0) {
     mUnderLineLinearLayout.removeViews(mUnderLineLinearLayout.getChildCount() - 1, 1);
     i--;
   }
 }