@Override
 public void toggle(boolean active) {
   arrowView.setIconText(
       context
           .getResources()
           .getString(
               active ? R.string.ic_keyboard_arrow_down : R.string.ic_keyboard_arrow_right));
 }
  @Override
  public View createNodeView(TreeNode node, IconTreeItemHolder.IconTreeItem value) {
    final LayoutInflater inflater = LayoutInflater.from(context);
    final View view = inflater.inflate(R.layout.layout_header_node, null, false);
    TextView tvValue = (TextView) view.findViewById(R.id.node_value);
    tvValue.setText(value.text);

    final PrintView iconView = (PrintView) view.findViewById(R.id.icon);
    iconView.setIconText(context.getResources().getString(value.icon));

    arrowView = (PrintView) view.findViewById(R.id.arrow_icon);
    //        if (node.isLeaf()) {
    //            arrowView.setVisibility(View.INVISIBLE);
    //        }

    return view;
  }